rhd.par
and are kept constant during a run.
A consecutive run could be started with a different set though, e.g., to increase the
luminosity of a model.
However, in many cases, such an abrupt change causes the generation of spurious
(often plane-parallel or radial) waves.
And it takes time and effort - by temporarilly increasing some viscosity - to damp them.
This is particularly annoying when the transient waves reduce the time step
of the simulations for some period.
The transition between two parameter sets can be smoothed by interpolating between
them.
The onset of the transition interval is given by time_scalestart
,
while the end of the interval is given by time_scaleend
(see Sect.7.1.22.2).
The first set of parameters is given by the usual rhd.par
file,
while the second set is given by an additional rhd.par2
file
(see Tab.6.1).
Normally, the scaling is inactive.
To activate it, the rhd_scale_module
has to be compiled by
activating any tweak module, i.e., e.g. by setting
F90_TWEAK=1
(see Sect.4.3.1.15)
before calling the configure
script (see Sect.4.3).
The file rhd.par2
has to exist in the current directory,
i.e., at the same place where the rhd.par
file resides,
and it has to have some entries with values
differing from those in rhd.par
.
Note, though, that so far only a few parameters are treated by the rhd_scale_module
.
In addition,
0.0<time_ScaleStart<time
and
time_ScaleStart<=time_ScaleEnd
have to be fulfilled. Choosing
0.0<time_ScaleStart=time_ScaleEnd
should
work but results in an abrupt change of parameters - not recommended.
For later runs (starting with time_ScaleEnd<time
)
the file rhd.par
should be replaced by the previous rhd.par2
and both scaling-time parameters should be set to negative values
to properly indicate that the scaling is now finished
(otherwise, the data in rhd.par
don't represent the
values actually used for the simulation).
The start time of the scaling interval can be set e.g. by
0.0
: Don't scale (default).
0.0
: Perform the scaling if all the other conditions are met.
time_scalestart
(see a detailed description in Sect.7.1.22.1),
this parameter specifies the scaling interval.
The end time of the scaling interval can be set e.g. by
0.0
: Don't scale (default).
0.0
: Perform the scaling if all the other conditions are met.
time_ScaleStart=100.0
and time_ScaleEnd=200.0
,
values from rhd.par
would be used for 100.0<=time
,
values from rhd.par2
would be used for time>=200.0
,
and values in between (according to the interpolation in rhd_scale_module
)
for 100.0<time<200.0
.
n_test1
to n_test5
are general-purpose parameters to facilitate the testing of new features.
They can be used anywhere in the code - but only for a limited time.
In any release version of the code, all references to these parameters
should be replaced by proper parameters with a dedicated purpose
and a descriptive name.
In contrast to these recommendation, the parameters are used (more or less
permanently) in the various tweak modules.
The parameter can be set e.g. by
c_test1
to c_test5
are general-purpose parameters to facilitate the testing of new features.
They can be used anywhere in the code - but only for a limited time, see above.
The parameter can be set e.g. by
strtest1
to strtest5
are general-purpose parameters to facilitate the testing of new features.
They can be used anywhere in the code - but only for a limited time, see above.
The parameter can be set e.g. by