Changes
Page history
version 4.2
authored
Oct 30, 2025
by
Udo Ziegler
Hide whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.2-User-interfaces.md
View page @
176ff4ab
...
...
@@ -1021,20 +1021,8 @@ square domain of length L (given by `_C.up[0]-_C.lo[0]`):
**B**
=
*B*
<sub>
0
</sub>
(−sin(2
*π*
*y*
/
*L*
),sin(4
*π*
*x*
/
*L*
),0)
*e*
=
*p*
<sub>
0
</sub>
/(
*γ*
−1) +
**m**
<sup>
2
</sup>
/(2𝜚) +
**B**
<sup>
2
</sup>
/(2
*μ*
)
where 𝜚
<sub>
0
</sub>
=2.77778,
*p*
<sub>
0
</sub>
=5/3 and
*B*
<sub>
0
</sub>
=1. The adiabatic index
*γ*
=5/3 and the magnetic
permeability
*μ*
=1.
$
\v
arrho =
\v
arrho_0$
$
\m
athbf{m}=
\v
arrho_0
\l
eft(-
\s
in (2
\p
i
\,\!
y/L),
\s
in (2
\p
i
\,\!
x/L),0
\r
ight)$
$
\m
athbf{B}=B_0
\l
eft(-
\s
in (2
\p
i
\,\!
y/L),
\s
in (4
\p
i
\,\!
x/L),0
\r
ight)$
$e=p_0/(
\g
amma -1)+
\m
athbf{m}^2/(2
\v
arrho)+
\m
athbf{B}^2/(2
\m
u)$
where $
\v
arrho_0=2.77778$, $p_0=5/3$ and $B_0=1$. The adiabatic index
$
\g
amma =5/3$ and the magnetic permeability $
\m
u=1$.
where 𝜚
<sub>
0
</sub>
=2.77778,
*p*
<sub>
0
</sub>
=5/3 and
*B*
<sub>
0
</sub>
=1.
The adiabatic index
*γ*
=5/3 and the magnetic permeability
*μ*
=1.
void configUser(GRD **gm)
/**
...
...
@@ -1107,15 +1095,19 @@ algebraic expression $a^2+b^2+c^2$.
[
Z05
](
#references
)
)
IC for the shock-cloud interaction problem simulated in a 3D Cartesian
box given by $(x,y,z)
\i
n [-1/2,1/2]^3$:
box given by (x,y,z)=[-1/2,1/2]
<sup>
3
</sup>
:

$$(
\v
arrho,p,v_x,v_y,v_z,B_x,B_y,B_z)=
\l
eft
\{\b
egin{array}{ll}
(3.86859,167.345,0,0,0,0,2.1826182,-2.1826182) & x<0.1
\\
(1,1,-11.2536,0,0,0,0.56418958,0.56418958) & x
\g
e 0.1
\e
nd{array}
\r
ight.$$ At ${
\m
athbf x}=(0.3,0,0)$ a spherical clump with
\e
nd{array}
\r
ight.$$
At
**x**
=(0.3,0,0) a spherical clump with
radius 0.15 and density of 10 is embedded and co-moving with its
surrounding flow under the assumption of pressure equilibrium.
The
adiabatic index
$
\g
amma
=5/3
$
and magnetic permeability
$
\m
u=1$. The
grid is initially refined with 3 refinement levels,
`_C.level`
=3, in the
surrounding flow under the assumption of pressure equilibrium.
The
adiabatic index
*γ*
=5/3 and
the
magnetic permeability
*μ*
=1.
The
grid is initially refined with 3 refinement levels,
`_C.level`
=3, in the
vicinity of the shock and cloud (cf.
[
User-defined initial mesh
refinement and refinement
control
](
#user-defined-initial-mesh-refinement-and-refinement-control
)
...
...
...
...