PLUTO
4.4-patch2
|
Shearing-Box module header file. More...
Go to the source code of this file.
Macros | |
#define | SB_ORDER 2 |
#define | SB_SYMMETRIZE_HYDRO YES |
#define | SB_SYMMETRIZE_EY (YES && (DIMENSIONS == 3)) |
#define | SB_SYMMETRIZE_EZ YES |
#define | SB_FORCE_EMF_PERIODS NO |
#define | SB_Q 1.5 |
#define | SB_OMEGA 1.0 |
#define | SB_A (-0.5*SB_OMEGA*SB_Q) |
Variables | |
double | sb_vy |
The Shearing-Box module header file contains basic macro definitions, function prototypes and declaration of global variables used by the sheraring-box module. The variable ::sb_q and ::sb_Omega are the most important ones and must be defined and initialized in your init.c in order to configure your shearing-box problem.
Optionally, the order of interpolation (default is 2) at physical boundaries may be changed using the SB_ORDER macro.
The additional macros SB_SYMMETRIZE_HYDRO, SB_SYMMETRIZE_EY and SB_SYMMETRIZE_EZ may be set to YES/NO to enable/disable enforcement of conservation at the radial (x) boundaries.
#define SB_FORCE_EMF_PERIODS NO |
Force periodicity at y- and z- boundaries.
#define SB_OMEGA 1.0 |
Disk local orbital frequency .
#define SB_ORDER 2 |
Sets the order of interpolation at physical boundaries (1, 2 or 3).
#define SB_Q 1.5 |
The shear parameter, .
#define SB_SYMMETRIZE_EY (YES && (DIMENSIONS == 3)) |
Symmetrize the y-component of the electric field at the left and right x-boundaries to enforce conservation of magnetic field (only in 3D).
#define SB_SYMMETRIZE_EZ YES |
Symmetrize the z-component of electric field at the left and right x-boundaries to enforce conservation of magnetic field.
#define SB_SYMMETRIZE_HYDRO YES |
Symmetrize the hydrodynamical fluxes at the left and right x-boundaries in order to enforce conservation of hydrodynamic variables like density, momentum and energy (no magnetic field). Default is YES.
double sb_vy |
Velocity offset (>0), in SB_Boundary().