2.5. Runtime Parameters Descriptions¶
Namelists of parameters:
- PROBLEM_CONTROL
- UNITS
- BASE_DOMAIN
- MPI_BLOCKS
- AMR
- OUTPUT_CONTROL
- END_CONTROL
- RESTART_CONTROL
- PIERNIK_IO_DEBUG
- PIERNIK_DEBUG
- NUMERICAL_SETUP
- FLUID_DUST
- FLUID_NEUTRAL
- FLUID_IONIZED
- FLUID_TRACER
- INTERACTIONS
- COSMIC_RAYS
- CR_SPECIES
- MULTIGRID_DIFFUSION
- MULTIGRID_SOLVER
- GRAVITY
- MULTIGRID_GRAVITY
- PARTICLES
- RESISTIVITY
- SHEARING
- SN_SOURCES
All about namelists of parameters in Piernik MHD.
To change values of namelists parameters you should edit problem.par file.
In the following section all namelists and its parameters descriptions are gathered.
namelist /PROBLEM_CONTROL/
parameter | default value | possible values | description |
---|---|---|---|
user specified parameters |
namelist /UNITS/
parameter | default value | possible values | description |
---|---|---|---|
units_set | ‘scaled’ | string of characters | type of units set |
miu0 | 4*pi | real | copydoc units::miu0 |
kelvin | 1 | real | copydoc units::kelvin |
cm | 1 | real | copydoc units::cm |
gram | 1 | real | copydoc units::gram |
sek | 1 | real | copydoc units::sek |
s_len_u | ‘ undefined’ | string of characters | copydoc units::s_len_u |
s_time_u | ‘ undefined’ | string of characters | copydoc units::s_time_u |
s_mass_u | ‘ undefined’ | string of characters | copydoc units::s_mass_u |
namelist /BASE_DOMAIN/
parameter | default value | possible values | description |
---|---|---|---|
n_d(3) | 1 | positive integer | copydoc domain::n_d |
nb | 4 | positive integer | copydoc domain::nb |
bnd_xl | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’, ‘cor’ | copydoc domain::bnd_xl |
bnd_xr | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’ | copydoc domain::bnd_xr |
bnd_yl | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’, ‘cor’ | copydoc domain::bnd_yl |
bnd_yr | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’ | copydoc domain::bnd_yr |
bnd_zl | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’ | copydoc domain::bnd_zl |
bnd_zr | ‘per’ | ‘per’, ‘ref’, ‘out’, ‘outd’, ‘outh’ | copydoc domain::bnd_zr |
xmin | 0. | real | copydoc domain::xmin |
xmax | 1. | real | copydoc domain::xmax |
ymin | 0. | real | copydoc domain::ymin |
ymax | 1. | real | copydoc domain::ymax |
zmin | 0. | real | copydoc domain::zmin |
zmax | 1. | real | copydoc domain::zmax |
geometry | “cartesian” | character(len=cbuff_len) | copydoc domain::geometry |
dom_off | 0, 0, 0 | integer | copydoc domain::dom_off |
namelist /MPI_BLOCKS/
parameter | default value | possible values | description |
---|---|---|---|
psize(3) | 1 | integer | copydoc domain::psize |
AMR_bsize(3) | 0 | integer | copydoc domain::AMR_bsize |
minsize(3) | domain::nb | integer | copydoc domain::minsize |
allow_uneven | .false. | logical | copydoc domain::allow_uneven |
allow_noncart | .false. | logical | copydoc domain::allow_noncart |
dd_unif_quality | 0.9 | real | copydoc domain::dd_unif_quality |
dd_rect_quality | 0.9 | real | copydoc domain::dd_rect_quality |
namelist /AMR/
parameter | default value | possible values | description |
---|---|---|---|
level_min | base_level_id | copydoc refinement_flag::level_min | |
level_max | level_min | copydoc refinement_flag::level_max | |
n_updAMR | huge(I_ONE) | integer | copydoc refinement::n_updAMR |
strict_SFC_ordering | .false. | logical | copydoc refinement::strict_SFC_ordering |
prefer_n_bruteforce | .false. | logical | copydoc refinement::prefer_n_bruteforce |
oop_thr | 0.1 | real | copydoc refinement::oop_thr |
refine_points | type(ref_point) | copydoc refinement::refine_points | |
refine_boxes | type(ref_box) | copydoc refinement::refine_boxes | |
refine_vars | type(ref_auto_param) | copydoc refinement::refine_vars |
namelist /OUTPUT_CONTROL/
parameter | default value | possible values | description |
---|---|---|---|
problem_name | “nameless” | string | copydoc dataio_pub::problem_name |
run_id | “___” | 3-char string | copydoc dataio_pub::run_id |
dt_hdf | 0.0 | real | copydoc dataio::dt_hdf |
dt_res | 0.0 | real | copydoc dataio::dt_res |
wdt_res | 0.0 | real | copydoc dataio::wdt_res |
dt_tsl | 0.0 | real | copydoc dataio::dt_tsl |
dt_log | 0.0 | real | copydoc dataio::dt_log |
tsl_with_mom | .true. | logical | copydoc dataio::plt_with_mom |
tsl_with_ptc | .false.(ISO) or .true.(!ISO) | logical | copydoc dataio::plt_with_ptc |
domain_dump | ‘phys_domain’ | ‘phys_domain’ or ‘full_domain’ | copydoc dataio_pub::domain_dump |
vars | ‘’ | ‘deni’ (see more here) | copydoc dataio::vars |
mag_center | .false. | logical | copydoc dataio::mag_center |
vizit | .false. | logical | copydoc dataio_pub::vizit |
fmin | real | copydoc dataio_pub::fmin | |
fmax | real | copydoc dataio_pub::fmax | |
user_message_file | trim(wd_rd)//’/msg’ | string | copydoc dataio::user_message_file |
system_message_file | ‘/tmp/piernik_msg’ | string | copydoc dataio::system_message_file |
multiple_h5files | .false. | logical | copydoc dataio_pub::multiple_h5files |
use_v2_io | .true. | logical | copydoc dataio_pub::use_v2_io |
gdf_strict | .true. | logical | copydoc dataio_pub::gdf_strict |
nproc_io | nproc | integer | copydoc dataio_pub::nproc_io |
enable_compression | .false. | logical | copydoc dataio_pub::enable_compression |
gzip_level | 9 | integer | copydoc dataio_pub::gzip_level |
colormode | .true. | logical | copydoc dataio_pub::colormode |
namelist /END_CONTROL/
parameter | default value | possible values | description |
---|---|---|---|
nend | huge(1) | integer | copydoc dataio_pub::nend |
tend | -1.0 | real | copydoc dataio_pub::tend |
wend | huge(1.0) | real | copydoc dataio_pub::wend |
namelist /RESTART_CONTROL/
parameter | default value | possible values | description |
---|---|---|---|
restart | ‘last’ | ‘last’ or another string of characters | copydoc dataio::restart |
new_id | ‘’ | string of characters | copydoc dataio_pub::new_id |
nrestart | 3 | integer | copydoc dataio_pub::nrestart |
resdel | 0 | integer | copydoc dataio::resdel |
namelist /PIERNIK_IO_DEBUG/
parameter | default value | possible values | description |
---|---|---|---|
force_hdf5_dump | logical value | copydoc piernikiodebug::force_hdf5_dump | |
force_res_dump | logical value | copydoc piernikiodebug::force_res_dump | |
force_allbnd_dump | logical value | copydoc piernikiodebug::force_allbnd_dump | |
force_log_dump | logical value | copydoc piernikiodebug::force_log_dump |
namelist /PIERNIK_DEBUG/
parameter | default value | possible values | description |
---|---|---|---|
constant_dt | 0.0 | real value | copydoc piernikdebug::constant_dt |
aux_R | 0.0 | 5-element real array | copydoc piernikdebug::aux_r |
aux_I | 0 | 5-element integer array | copydoc piernikdebug::aux_i |
aux_L | .false. | 5-element logical array | copydoc piernikdebug::aux_l |
aux_S | “” | 5-element string array | copydoc piernikdebug::aux_s |
namelist /NUMERICAL_SETUP/
parameter | default value | possible values | description |
---|---|---|---|
cfl | 0.7 | real value between 0.0 and 1.0 | copydoc global::cfl |
cfl_max | 0.9 | real value between cfl and 1.0 | copydoc global::cfl_max |
cflcontrol | warn | string | copydoc global::cflcontrol |
repeat_step | .true. | logical value | copydoc global::use_smalld |
smallp | 1.e-10 | real value | copydoc global::smallp |
smalld | 1.e-10 | real value | copydoc global::smalld |
use_smalld | .true. | logical value | copydoc global::use_smalld |
smallei | 1.e-10 | real value | copydoc global::smallei |
smallc | 1.e-10 | real value | copydoc global::smallc |
integration_order | 2 | 1 or 2 (or 3 - currently unavailable) | copydoc global::integration_order |
cfr_smooth | 0.0 | real value | copydoc global::cfr_smooth |
dt_initial | -1. | positive real value or -1. | copydoc global::dt_initial |
dt_max_grow | real value > 1.1 | copydoc global::dt_max_grow | |
dt_min | positive real value | copydoc global::dt_min | |
limiter | vanleer | string | copydoc global::limiter |
relax_time | 0.0 | real value | copydoc global::relax_time |
skip_sweep | F, F, F | logical array | copydoc global::skip_sweep |
geometry25D | F | logical value | copydoc global::geometry25d |
sweeps_mgu | F | logical value | copydoc global::sweeps_mgu |
namelist /FLUID_DUST/
parameter | default value | possible values | description |
---|---|---|---|
selfgrav | .false. | logical | copydoc initdust::selfgrav |
namelist /FLUID_NEUTRAL/
parameter | default value | possible values | description |
---|---|---|---|
gamma | 5./3. | real value | copydoc initneutral::gamma |
cs_iso | 1.0 | real value | copydoc initneutral::cs_iso |
selfgrav | .false. | logical | copydoc initneutral::selfgrav |
namelist /FLUID_IONIZED/
parameter | default value | possible values | description |
---|---|---|---|
gamma | 5./3. | real value | copydoc initionized::gamma |
cs_iso | 1.0 | real value | copydoc initionized::cs_iso |
selfgrav | .false. | logical | copydoc initionized::selfgrav |
namelist /FLUID_TRACER/
parameter | default value | possible values | description |
---|---|---|---|
tracers | 0 | 10-element integer array | copydoc inittracer::tracers |
namelist /INTERACTIONS/
parameter | default value | possible values | description |
---|---|---|---|
collision_factor | 0.0 | real value, between 0 and 1 | copydoc interactions::collision_factor |
cfl_interact | 0.8 | real value, between 0 and 1 | copydoc interactions::cfl_interact |
dragc_gas_dust | 0.0 | real value | copydoc interactions::dragc_gas_dust |
has_interactions | .false. | logical value | copydoc interactions::has_interactions |
grain_size | 10.0 | real value | copydoc interactions::grain_size |
grain_dens | 1.6 | real value | copydoc interactions::grain_dens |
interactions_type | ‘none’ | ‘none’, ‘aerodrag’, ‘aerodrag_ep’, ‘dragforce_dw’, ‘balsara’ | copydoc interactions::interactions_type |
namelist /COSMIC_RAYS/
parameter | default value | possible values | description |
---|---|---|---|
cfl_cr | 0.9 | real value | copydoc initcosmicrays::cfl_cr |
smallecr | 0.0 | real value | copydoc initcosmicrays::smallecr |
cr_active | 1.0 | real value | copydoc initcosmicrays::cr_active |
cr_eff | 0.1 | real value | copydoc initcosmicrays::cr_eff |
use_split | .true. | logical | copydoc initcosmicrays::use_split |
ncrn | 0 | integer | copydoc initcosmicrays::ncrn |
ncre | 0 | integer | copydoc initcosmicrays::ncre |
gamma_crn | 4./3. | real array | copydoc initcosmicrays::gamma_crn |
gamma_cre | 4./3. | real array | copydoc initcosmicrays::gamma_cre |
K_crn_paral | 0 | real array | copydoc initcosmicrays::k_crn_paral |
K_crn_perp | 0 | real array | copydoc initcosmicrays::k_crn_perp |
K_cre_paral | 0 | real array | copydoc initcosmicrays::k_cre_paral |
K_cre_perp | 0 | real array | copydoc initcosmicrays::k_cre_perp |
divv_scheme | ‘’ | string | copydoc initcosmicrays::divv_scheme |
crn_gpcr_ess | .true.(1); .false.(>2) | logical | copydoc initcosmicrays::crn_gpcr_ess |
cre_gpcr_ess | .false. | logical | copydoc initcosmicrays::cre_gpcr_ess |
namelist /CR_SPECIES/
parameter | default value | possible values | description |
---|---|---|---|
eH1 | .true. | 2 logical values | copydoc cr_data::eh1 |
eLi7 | .false. | 2 logical values | copydoc cr_data::eli7 |
eBe9 | [.true., .false.] | 2 logical values | copydoc cr_data::ebe9 |
eBe10 | [.true., .false.] | 2 logical values | copydoc cr_data::ebe10 |
eC12 | [.true., .false.] | 2 logical values | copydoc cr_data::ec12 |
eN14 | .false. | 2 logical values | copydoc cr_data::en14 |
eO16 | .false. | 2 logical values | copydoc cr_data::eo16 |
namelist /MULTIGRID_DIFFUSION/
parameter | default value | possible values | description |
---|---|---|---|
norm_tol | 1.e-2 | real value | copydoc multigrid_diffusion::norm_tol |
vcycle_abort | 2.0 | real value | copydoc multigrid_diffusion::vcycle_abort |
max_cycles | 20 | integer value | copydoc multigrid_diffusion::max_cycles |
nsmool | 4 | integer value | copydoc multigrid_diffusion::nsmool |
nsmoob | 1 | integer value | copydoc multigrid_diffusion::nsmoob |
overrelax | real value | copydoc multigrid_diffusion::overrelax | |
diff_theta | real value | copydoc multigrid_diffusion::diff_theta | |
diff_tstep_fac | real value | copydoc multigrid_diffusion::diff_tstep_fac | |
diff_explicit | .false. | logical | copydoc multigrid_diffusion::diff_explicit |
allow_explicit | .true. | logical | copydoc multigrid_diffusion::allow_explicit |
diff_bnd_str | “zero” | string of chars | copydoc multigrid_diffusion::diff_bnd_str |
namelist /MULTIGRID_SOLVER/
parameter | default value | possible values | description |
---|---|---|---|
level_depth | 1 | integer value | copydoc multigrid::init_multigrid::level_depth |
ord_prolong | 0 | integer value | copydoc multigridvars::ord_prolong |
ord_prolong_face_norm | 0 | integer value | copydoc multigridvars::ord_prolong_face_norm |
ord_prolong_face_par | 0 | integer value | copydoc multigridvars::ord_prolong_face_par |
stdout | .false. | logical | copydoc multigridvars::stdout |
verbose_vcycle | .false. | logical | copydoc multigridvars::verbose_vcycle |
do_ascii_dump | .false. | logical | copydoc global::do_ascii_dump |
dirty_debug | .false. | logical | copydoc global::dirty_debug |
namelist /GRAVITY/
parameter | default value | possible values | description |
---|---|---|---|
g_dir | 0.0 | real | copydoc gravity::g_dir |
r_gc | 8500 | real | copydoc gravity::r_gc |
ptmass | 0.0 | non-negative real | copydoc gravity::ptmass |
ptm_x | 0.0 | real | copydoc gravity::ptm_x |
ptm_y | 0.0 | real | copydoc gravity::ptm_y |
ptm_z | 0.0 | real | copydoc gravity::ptm_z |
r_smooth | 0.0 | real | copydoc gravity::r_smooth |
external_gp | ‘null’ | to be listed | copydoc gravity::external_gp |
nsub | 10 | integer > 0 | copydoc gravity::nsub |
tune_zeq | 1.0 | real | copydoc gravity::tune_zeq |
tune_zeq_bnd | 1.0 | real | copydoc gravity::tune_zeq_bnd |
r_grav | 1.e6 | real | copydoc gravity::r_grav |
n_gravr | 0 | real | copydoc gravity::n_gravr |
user_grav | .false. | logical | copydoc gravity::user_grav |
variable_gp | .false. | logical | copydoc gravity::variable_gp |
gprofs_target | ‘extgp’ | string of chars | copydoc gravity::gprofs_target |
namelist /MULTIGRID_GRAVITY/
parameter | default value | possible values | description |
---|---|---|---|
norm_tol | 1.e-6 | real value | copydoc multigrid_gravity::norm_tol |
coarsest_tol | 1.e-2 | real value | copydoc multigrid_gravity::coarsest_tol |
vcycle_abort | 2.0 | real value | copydoc multigrid_gravity::vcycle_abort |
vcycle_giveup | 1.5 | real value | copydoc multigrid_gravity::vcycle_giveup |
max_cycles | 20 | integer value | copydoc multigrid_gravity::max_cycles |
nsmool | dom%nb | integer value | copydoc multigridvars::nsmool |
nsmoob | 100 | integer value | copydoc multigrid_gravity_helper::nsmoob |
overrelax | real value | copydoc multigrid_gravity::overrelax | |
L4_strength | 1.0 | real value | copydoc multigrid_Laplace4::L4_strength |
ord_laplacian | -4 | integer value | copydoc multigrid_Laplace::ord_laplacian |
ord_laplacian_outer | 2 | integer value | copydoc multigrid_Laplace::ord_laplacian_outer |
ord_time_extrap | 1 | integer value | copydoc multigrid_gravity::ord_time_extrap |
base_no_fft | .false. | logical | copydoc multigrid_gravity::base_no_fft |
fft_patient | .false. | logical | copydoc multigrid_gravity::fft_patient |
coarsen_multipole | 1 | integer value | copydoc multipole::coarsen_multipole |
lmax | 16 | integer value | copydoc multipole::lmax |
mmax | -1 | integer value | copydoc multipole::mmax |
ord_prolong_mpole | -2 | integer value | copydoc multipole::ord_prolong_mpole |
use_point_monopole | .false. | logical | copydoc multipole::use_point_monopole |
interp_pt2mom | .false. | logical | copydoc multipole::interp_pt2mom |
interp_mom2pot | .false. | logical | copydoc multipole::interp_mom2pot |
multidim_code_3D | .false. | logical | copydoc multigridvars::multidim_code_3d |
use_CG | .false. | logical | copydoc multigrid_gravity::use_CG |
use_CG_outer | .false. | logical | copydoc multigrid_gravity::use_CG_outer |
grav_bnd_str | “periodic”/”dirichlet” | string of chars | copydoc multigrid_gravity::grav_bnd_str |
preconditioner | “HG_V-cycle” | string of chars | copydoc multigrid_gravity::preconditioner |
namelist /PARTICLES/
parameter | default value | possible values | description |
---|---|---|---|
time_integrator | default_ti (“none”) | string | copydoc particle_pub::time_integrator |
interpolation_scheme | default_is (“ngp”) | string | copydoc particle_pub::interpolation_scheme |
namelist /RESISTIVITY/
parameter | default value | possible values | description |
---|---|---|---|
cfl_resist | 0.4 | real value | copydoc resistivity::cfl_resist |
eta_0 | 0.0 | real value | copydoc resistivity::eta_0 |
eta_1 | 0.0 | real value | copydoc resistivity::eta_1 |
eta_scale | 4 | integer value | copydoc resistivity::eta_scale |
j_crit | 1.0e6 | real value | copydoc resistivity::j_crit |
deint_max | 0.01 | real value | copydoc resistivity::deint_max |
namelist /SHEARING/
parameter | default value | possible values | description |
---|---|---|---|
omega | 0.0 | real value | copydoc shear::omega |
qshear | 0.0 | real value | copydoc shear::qshear |
eta_gas | 0.0 | real value | copydoc shear::eta_gas |
csvk | 1.0 | real value | copydoc shear::csvk |
namelist /SN_SOURCES/
parameter | default value | possible values | description |
---|---|---|---|
h_sn | 0.0 | real value | copydoc snsources::h_sn |
r_sn | 0.0 | real value | copydoc snsources::r_sn |
f_sn_kpc2 | 0.0 | real value | copydoc snsources::f_sn_kpc2 |