Changes between Version 3 and Version 4 of BoundaryOptions


Ignore:
Timestamp:
10/02/13 07:58:50 (11 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • BoundaryOptions

    v3 v4  
    66  * Periodic boundaries are probably the most physically friendly - in that there is no boundary to worry about things happening at.  Most objects are aware of periodic boundaries so for instance if you have a periodic cube and place a clump in one corner - the clump module will correctly place octants of that clump in each of the 8 corners.  And of course if you are using your own initial conditions - make sure they are periodic as well.
    77
    8 = Reflecting Boundary Conditions =
    9  All of the reflecting boundary conditions reflect the values inside the grid into the ghost zones.  However some components also change sign depending on the particular boundary conditions.
     8== Reflecting Boundary Conditions ==
     9 * All of the reflecting boundary conditions reflect the values inside the grid into the ghost zones.  However some components also change sign depending on the particular boundary conditions.
    1010
    11 == Reflecting Wall (mthbc = 3) ==
     11=== Reflecting Wall (mthbc = 3) ===
    1212 * A reflecting wall boundary will change the sign of the velocity component normal to the wall - as well as the magnetic field component normal to the wall.  This ensures there is no mass flux across the boundary and prevents fields lines from crossing the boundary.  Besides being useful for superconducting walls - often the symmetry of the problem will allow you to save on computational cost by modeling only half of the domain.  Be careful - however - as real instabilities that might occur and break the symmetry - will be suppressed! 
    1313
    1414
    15 == Reflecting B Parallel (mthbc = 4) ==
     15=== Reflecting B Parallel (mthbc = 4) ===
    1616 * Just like the reflecting wall, the normal component of the velocity changes sign.  However instead of changing the sign of the normal component of the magnetic field - here the parallel components change sign.  This keeps field lines normal to the boundary.
    1717
    18 == Reflect Cylindrical (mthbc = 5) ==
     18=== Reflect Cylindrical (mthbc = 5) ===
    1919 * This is similar to Reflect wall -  but in addition the 'z' component of the velocity and magnetic fields also change sign.  This should be used for the boundary at x=0 when using axisymmetric geometry (iCylindrical > 0).  This is due to the fact that as you cross the z-axis the direction of the radial and azimuthal unit vectors are inverted.  For axisymmetric simulations whose domain goes from r=[0..R] and z=[0..Z], common boundary conditions are 5 3 1 1 1 1 or 5 4 1 1 1 1 depending on whether the field lines are parallel to z=0 plane or perpendicular.  Poloidal configurations would use the first option and Toroidal configurations would use the second.  For combinations of Poloidal and toroidal fields, you no longer have reflected symmetry in 'z' so you must simulate the entire extent in z (z=-Z..Z).
    20 
    2120
    2221