Changes
Page history
version 4.2
authored
Oct 29, 2025
by
Udo Ziegler
Hide whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.2-User-interfaces.md
View page @
ae086b64
...
@@ -25,10 +25,11 @@ in NIRVANA:
...
@@ -25,10 +25,11 @@ in NIRVANA:
**(I)**
User interfaces which demand to add or modify code. These are
**(I)**
User interfaces which demand to add or modify code. These are
recognized by files ending on
`User.c`
:
recognized by files ending on
`User.c`
:
-
`configUser.c`
-- definition of IC
-
`configUser.c`
-- definition of
initial conditions (
IC
)
-
`bcrhoUser.c`
,
`bcmUser.c`
,
`bceUser.c`
,
`bcetUser.c`
,
-
`bcrhoUser.c`
,
`bcmUser.c`
,
`bceUser.c`
,
`bcetUser.c`
,
`bcbUser.c`
,
`bcnXUser.c`
,
`bcCUser.c`
,
`bctfUser.c`
-- user-defined BC
`bcbUser.c`
,
`bcnXUser.c`
,
`bcCUser.c`
,
`bctfUser.c`
-- user-defined
boundary conditions (BC)
-
`viscosityCoeffUser.c`
,
`conductionCoeffUser.c`
,
`diffusionCoeffUser.c`
-
`viscosityCoeffUser.c`
,
`conductionCoeffUser.c`
,
`diffusionCoeffUser.c`
-- user-defined dissipation coefficients for fluid viscosity,
-- user-defined dissipation coefficients for fluid viscosity,
...
@@ -495,7 +496,7 @@ possible values or a numeric range.
...
@@ -495,7 +496,7 @@ possible values or a numeric range.
numerical technique (equiv. to genuinely 2D-HLL in the
numerical technique (equiv. to genuinely 2D-HLL in the
current implementation).
current implementation).
- `_C.mhd_courant` (typical value: $
\le
0.5$): CFL number in the
- `_C.mhd_courant` (typical value: $
<
0.5$): CFL number in the
MHD timestep.
MHD timestep.
-
`02`
(
`_C.viscosity_solver`
,
`_C.viscosity_courant`
)
-
`02`
(
`_C.viscosity_solver`
,
`_C.viscosity_courant`
)
...
@@ -533,7 +534,7 @@ possible values or a numeric range.
...
@@ -533,7 +534,7 @@ possible values or a numeric range.
-
`07`
(
`_C.reactions_max_changeX`
,
`_C.reactions_max_changeT`
)
-
`07`
(
`_C.reactions_max_changeX`
,
`_C.reactions_max_changeT`
)
- `_C.reactions_max_changeX` (typical value: $
\le
0.1$): allowed
- `_C.reactions_max_changeX` (typical value: $
<
0.1$): allowed
maximal relative change of species number densities (or total
maximal relative change of species number densities (or total
number density) in the time integration of the chemo-thermal
number density) in the time integration of the chemo-thermal
rate equations.
rate equations.
...
@@ -544,7 +545,7 @@ possible values or a numeric range.
...
@@ -544,7 +545,7 @@ possible values or a numeric range.
number density (`SXN`=1 uses individual number densities;
number density (`SXN`=1 uses individual number densities;
`SXN`=0 uses the total number density).
`SXN`=0 uses the total number density).
- `_C.reactions_max_changeT` (typical value: $
\le
0.1$): allowed
- `_C.reactions_max_changeT` (typical value: $
<
0.1$): allowed
maximal relative change in the temperature in the time
maximal relative change in the temperature in the time
integration of the chemo-thermal rate equations.
integration of the chemo-thermal rate equations.
...
@@ -581,7 +582,7 @@ possible values or a numeric range.
...
@@ -581,7 +582,7 @@ possible values or a numeric range.
\mathtt{V}\cdot\mathtt{m}^{-1}\cdot\mathtt{A}^{-1}\cdot\mathtt{s}^{-1}$).
\mathtt{V}\cdot\mathtt{m}^{-1}\cdot\mathtt{A}^{-1}\cdot\mathtt{s}^{-1}$).
**Important:** The Gaussian unit system can be mimicked by
**Important:** The Gaussian unit system can be mimicked by
choosing a value $
\mathtt{
\_C.permeability\_rel}=10^7$ so that
choosing a value $
{\tt
\_C.permeability\_rel}=10^7$ so that
the magnetic permeability is $\mu=4\pi$.
the magnetic permeability is $\mu=4\pi$.
-
`02`
(
`_C.viscosity`
,
`_C.viscosity_coeff`
)
-
`02`
(
`_C.viscosity`
,
`_C.viscosity_coeff`
)
...
...
...
...