Input Deck Reference#
Auto-generated from schema.lua. Each table below documents one section of the config table.
config.basis#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
— |
No |
Number of DG nodes per cell. |
config.bc#
fluid#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
— |
No |
Inner fluid boundary condition. Options: ‘reflecting’, ‘outflow’, ‘dirichlet’, ‘periodic’. |
|
array |
— |
No |
Dirichlet state values at outer boundary. |
|
array |
— |
No |
Dirichlet state values at inner boundary. |
|
string |
— |
No |
Outer fluid boundary condition. Options: ‘reflecting’, ‘outflow’, ‘dirichlet’, ‘periodic’. |
radiation#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
— |
No |
Inner radiation boundary condition. Options: ‘reflecting’, ‘outflow’, ‘marshak’, ‘dirichlet’. |
|
array |
— |
No |
Dirichlet state values at outer boundary. |
|
array |
— |
No |
Dirichlet state values at inner boundary. |
|
string |
— |
No |
Outer radiation boundary condition. Options: ‘reflecting’, ‘outflow’, ‘dirichlet’. |
config.composition#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
int |
— |
No |
Number of composition species. |
config.engine#
thermal#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
— |
No |
Mass coordinate of injection upper boundary in Msun. Must be > 0. |
|
double |
— |
No |
End time for energy injection. Must be > 0. |
|
double |
— |
No |
Total injected energy in erg. |
|
bool |
|
No |
Apply engine as operator-split source. |
|
bool |
— |
No |
Enable thermal energy injection engine. |
|
string |
— |
No |
Injection mode. Options: ‘direct’, ‘asymptotic’. |
config.eos#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
— |
No |
Polytropic index n. Required for polytropic EOS. |
|
double |
— |
No |
Polytropic constant K. Required for polytropic EOS. |
|
double |
|
No |
Adiabatic index. Default: 1.4. |
|
string |
— |
No |
Equation of state type. Options:. ‘ideal’, ‘paczynski’, ‘marshak’, ‘polytropic’. |
config.fluid#
limiter#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
bool |
|
No |
Enable characteristic limiting. |
|
double |
|
No |
TVD parameter b. Used with minmod limiter. |
|
double |
— |
No |
Troubled-cell indicator threshold. |
|
double |
|
No |
TVB parameter M. Used with minmod limiter. |
|
string |
|
No |
Limiter type. Options: ‘minmod’, ‘weno [experimental]’. |
|
double |
— |
No |
WENO central weight. Required for WENO limiter. |
|
double |
— |
No |
WENO left weight. Inferred from gamma_i if omitted. |
|
double |
— |
No |
WENO right weight. Inferred from gamma_i if omitted. |
|
bool |
|
No |
Enable slope limiter for fluid. |
|
double |
|
No |
WENO smoothness exponent. Must be > 0. |
|
bool |
|
No |
Enable troubled-cell indicator. |
config.gravity#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
— |
No |
Gravity model. Options: ‘constant’, ‘spherical’. |
|
double |
— |
No |
Gravitational acceleration (constant model). Must be > 0. |
|
bool |
|
No |
Apply gravity as an operator-split source. |
config.heating#
nickel#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
— |
No |
Nickel heating model. Options. ‘jeffery’ and ‘full_trapping’. |
|
bool |
— |
No |
Enable Ni56 decay heating. |
|
bool |
|
No |
Apply nickel heating as operator-split source. |
config.ionization#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
|
No |
Saha solver mode. Options: ‘linear’, ‘log’. |
|
int |
— |
No |
Number of species for Saha solver. |
|
string |
— |
No |
Path to ionization atomic data file. |
|
string |
— |
No |
Path to degeneracy factors atomic data file. |
config.opacity#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
— |
No |
Planck mean opacity (cm^2/g). Required for constant and powerlaw. |
|
string |
— |
No |
Path to tabular opacity HDF5 file. |
|
double |
— |
No |
Temperature exponent for powerlaw opacity. |
|
string |
— |
No |
Opacity model. Options: ‘tabular’, ‘constant’, ‘powerlaw’. |
|
double |
|
No |
Rosseland opacity additive offset. Powerlaw only. |
|
double |
|
No |
Planck opacity additive offset. Powerlaw only. |
|
double |
— |
No |
Density exponent for powerlaw opacity. |
|
double |
— |
No |
Rosseland mean opacity (cm^2/g). Required for constant and powerlaw. |
floors#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
|
No |
Rosseland floor value. Used with constant floor model. |
|
double |
|
No |
Planck floor value. Used with constant floor model. |
|
double |
|
No |
Envelope Planck floor. Used with core_envelope model. |
|
double |
|
No |
Envelope Rosseland floor. Used with core_envelope model. |
|
double |
|
No |
Core Rosseland floor. Used with core_envelope model. |
|
double |
|
No |
Core Planck floor. Used with core_envelope model. |
|
string |
|
No |
Opacity floor model. Options: ‘core_envelope’, ‘constant’. |
config.output#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
|
No |
Initial timestep. Must be > 0. |
|
double |
— |
No |
Time interval between HDF5 outputs. Default: t_end / 100. |
|
double |
— |
No |
Fixed timestep override. Optional. |
|
double |
|
No |
Number of cycles between stdout output. |
|
double |
|
No |
Initial timestep growth factor. Must be > 1. |
history#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
|
No |
History output filename. |
|
double |
— |
No |
Time interval between history writes. Default: dt_hdf5 / 10. |
config.physics#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
bool |
|
No |
Enable energy injection engine. |
|
bool |
|
No |
Enable radiation transport. |
|
bool |
|
No |
Enable multi-species composition. |
|
bool |
|
No |
Enable gravitational source terms. |
|
bool |
|
No |
Enable nuclear heating sources. |
|
bool |
|
No |
Enable Saha ionization. Requires composition = true. |
config.problem#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
double |
— |
No |
Left boundary of the domain. |
|
string |
— |
No |
Unique identifier for this simulation problem. |
|
double |
— |
No |
Right boundary of the domain. Must be > xl. |
|
string |
— |
No |
Domain geometry. Options: ‘planar’, ‘spherical’. |
|
double |
— |
No |
CFL double for timestep control. Must be > 0. |
|
— |
— |
No |
Problem-specific parameters. Validated by the problem generator. |
|
string |
— |
No |
Grid spacing type. Options: ‘uniform’, ‘logarithmic’. |
|
double |
— |
No |
End time of the simulation. |
|
double |
— |
No |
Number of grid cells. Must be > 0. |
|
double |
|
No |
Maximum double of cycles. -1 for unlimited. |
config.radiation#
limiter#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
bool |
|
No |
Enable characteristic limiting. Currently unsupported for radiation. |
|
double |
|
No |
TVD parameter b. Used with minmod limiter. |
|
double |
— |
No |
Troubled-cell indicator threshold. |
|
double |
|
No |
TVB parameter M. Used with minmod limiter. |
|
string |
|
No |
Limiter type. Options: ‘minmod’, ‘weno’. |
|
double |
— |
No |
WENO central weight. Required for WENO limiter. |
|
double |
— |
No |
WENO left weight. Inferred from gamma_i if omitted. |
|
double |
— |
No |
WENO right weight. Inferred from gamma_i if omitted. |
|
bool |
|
No |
Enable slope limiter for radiation. |
|
double |
|
No |
WENO smoothness exponent. Must be > 0. |
|
bool |
|
No |
Enable troubled-cell indicator. |
config.time#
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
— |
No |
Time integration method. E.g. ‘IMEX_SSPRK11’, ‘IMEX_ARK32_ESDIRK’. |