Allmost all parameters in the parameter file are valid for the HD and
the MHD module.
Only a few parameters for the hydrodynamics control
(character hdscheme
: Sect. 5.3.7,
character reconstruction
: Sect. 5.3.7,
real c_slopered
: Sect. 5.3.7)
are slightly modified or extended for the MHD module.
character hdscheme
:
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
works. For proper MHD simulations use RoeMHD
instead.
RoeMHD
: Compile the MHD HLL solver.
character hdsplit
:
123
: (default) The standard directional splitting is activated,
where the 1D operators for the individual directions are applied in the given order.
So far, only the order 123
is possible.
unsplit
: The standard Roe solver is applied.
However, the changes from the individual steps are computed from (and applied to)
the same model configuration. The result is an unsplit scheme.
character reconstruction
:
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.
This method can only be used with the standard hdscheme Roe
,
not with hdscheme RoeMHD
.
VanLeer
reconstruction is a good choice.
If a more stable (and diffusive) scheme is needed, take Minmod
.
The PP
reconstruction gives the highest accuracy.
However, it tends to produce somewhat ``noisy'' models with small wiggles
e.g. in the velocity.
The 2nd order piecewise parabolic reconstruction (PP) is not implemented
in the MHD module.
By specifying e.g. VanLeer Superbee
it is possible to use
the VanLeer scheme for the hydrodynamics scheme as such and Superbee only
for the advection of additional quc
quantities.
real c_slopered
:
-Drhd_roe1d_slope_l01=2
is set (see Sect. 3.6),
a new extra stabilization mechanism can be activated:
If one of the reconstruction methods VanLeer
, Superbee
, or PP
(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
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.
real c_hydpredfactor
:
0.0
: Deactivation of pressure reduction terms
in waves 3 and "6" in Roe solver
1.0
: Activation of pressure reduction terms
in waves 3 and "6" in Roe solver (default)
integer n_hyditer
:
n_hyditer
iterations will (probably) needed.
The parameter can be set e.g. with
1
.
E.g. for brown dwarfs with shorter hydrodynamical time scales
values around 10
may be considered.
Note, that the hydrodynamics iteration works somewhat differently than
the radiation transport iteration:
in the latter case the size of the actual time step can be determined after
computing the fluxes,
whereas the hydrodynamics step is (possibly) of at least second order in time
and the time step has to be known in advance
integer n_hydmaxiter
:
n_hydmaxiter
will either be set to a value somewhat larger
than the recommended number of iterations (n_hyditer
)
or to 0
which disables the check for too many iterations completely.
This can be safely allowed in many cases.
To disable the iteration of the hydrodynamics sub-step set
n_hyditer
=0
.
integer n_hydcellsperchunk
:
2500
: Pentium III, Core 2 Duo processor
20000
: RISC processor
100000
: Vector machine
real c_visdrag
:
0.0
and 1.0
.
In almost every case the drag forces will be switched off (c_visdrag
=0.0
).
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.
real c_visbound
:
transmitting
boundary condition is chosen. The value can be
set e.g. with
c_visbound
=0.0
).
real c_resb
:
hdscheme=RoeMHD
module.
It specifies the electric conductivity.
Values between 0.0 and 1.0 may be reasonable.
Higher values are possible but reduce the time step.
The default value is 0.0.
Example:
real c_resepsilon
:
hdscheme=RoeMHD
module.
It controls the additional energy diffusion.
Typical values are between 0.0 and 1.0.
The default value is 0.0.
Example:
real b1_inflow
:
hdscheme=RoeMHD
module.
It controls the strength of the inflowing horizontal magnetic field (bottom_bound=inoutflow2
).
The default value is 0.0.
Example: