With this parameter the type of the hydrodynamics scheme can be specified as in
character hdscheme f=A80 b=80 n='Hydrodynamics scheme' &
Possible values are
c0='Roe (approximate Riemann solver of Roe type)' &
c1='RoeMagKin (Roe solver + kinetic magnetic field transport)' &
c2='None (skip hydrodynamics step entirely)'
None: The hydrodynamics step is skipped entirely (for test purposes). Note that in this
case some initializations necessary for the generation of the mean file are omitted, too.
Roe: (default) The standard Riemann solver of Roe type is activated.
This value will in almost every case be chosen.
RoeMagKin: The standard Roe solver is extended to transport passively a magnetic field.
This is a test implementation to check if the general magnetic field handling
This parameter determines the order and ``aggressiveness'' of the reconstruction scheme with e.g.
character reconstruction f=A80 b=80 n='Reconstruction method' &
Possible values are
c0=Constant c1=Minmod/VanLeer/Superbee c2=PP
Constant: The run of the partial waves inside the cells is assumed to be constant.
A highly dissipative first order scheme results.
This values will usually only be used for test (or comparison) purposes.
Minmod: Chooses the smallest slope which still results in a second order scheme.
It is the most diffusive (and most stable) one in this class.
VanLeer: (default) The recommended second order scheme.
Superbee: The ``most aggressive'' stable 2nd order scheme.
It results in the steepest shocks, which works well in some test cases
but might be to difficult for the radiation transport module to handle.
PP: Chooses the piecewise parabolic reconstruction of the PPM scheme
(``Piecewise Parabolic Method'', Colella & Woodward 1984).
Results in 3rd order accuracy for the advection.
VanLeer reconstruction is a good choice.
If a more stable (and diffusive) scheme is needed, take
PP reconstruction gives the highest accuracy.
-Drhd_roe1d_slope_l01=2 is set (see Sect. 3.7),
a new extra stabilization mechanism can be activated:
If one of the reconstruction methods
(see Sect. 5.3.7) is activated, the slope can be reduced
(by averaging with the results from a
MinMod reconstruction) by setting
c_slopered to a positive non-zero value.
This value can be set e.g. with
real c_slopered f=E15.8 b=4 &
Typical choices are
n='Slope reduction parameter in case of strong density contrast' u=1 &
c0='0.00: off (default), 0.02: reasonable value, 0.10: large value'
0.0: Slope reduction switched off.
Original reconstruction is used.
0.02: Moderate slope reduction in case of large density jumps.
0.10: More pronounced slope reduction in case of strong density contrast.
In every directional sub-step neighboring 1D columns are independent from each other.
They can be grouped and computed in chunks of arbitrary size.
The approximate number of grid cells per chunk can be specified e.g. with
integer n_hydcellsperchunk f=I9 b=4 &
The exact number is determined at run time to get (approximately) equal sizes of the individual
The choice of this parameter does not affect the result of the computation but
the memory usage and performance:
Smaller (and more) chunks may result in an optimum cache usage and need the smallest
amount of memory, but result in additional overhead due to frequent subroutine calls.
Bigger (and less) chunks are to be preferred for vector machines and processors
with large caches.
Very rough guide values may be
n='Number of cells per hydro chunk' &
c0='0 => one 2D slice at a time' &
c0='1 => minimum chunk size (inefficient)' &
c0='2500: reasonable value' &
c0='1000000000: maximum chunk size (inefficient and memory intensive)'
Note: For simulations with activated OpenMP
on a parallel machine the chunk size has to be made small enough to
allow at least as many chunks as processors available. This is
particularly important for models with a small number of grid points
(e.g. 2D models).
An example is given for the Hitachi SR8000 in Sect. 3.8.5.
2500: Pentium III processor
20000: RISC processor
100000: Vector machine
This viscosity parameter controls the drag force which is (if requested)
applied inside the hydrodynamics routines themselves.
It does not act on velocity gradients as usual viscosity but applies a force proportional to the
velocity itself (but with the opposite sign).
The amount can be specified e.g. with
real c_visdrag f=E15.8 b=4 &
The value gives the fraction the velocity is reduced per time step.
Therefore, reasonable values lie between
n='Drag viscosity parameter' u=1
In almost every case the drag forces will be switched off (
If e.g. strong pulsation have to be damped in the initial phase of a simulation
a value around
0.001-0.01 seems appropriate.
An additional drag force can be added locally in inflow cells in the outer layer
transmitting boundary condition is chosen. The value can be
set e.g. with
real c_visbound f=E15.8 b=4 &
This extra drag force is usually not necessary and should be switched off
n='Boundary drag viscosity parameter' u=1