Changes
Page history
Update 3.2 User interfaces
authored
Jan 09, 2021
by
Udo Ziegler
Show whitespace changes
Inline
Side-by-side
3-NIRVANA-user-guide/3.2-User-interfaces.md
View page @
2657ed80
...
...
@@ -1457,19 +1457,19 @@ user-defined ambipolar diffusion coefficient. Ambipolar diffusion enters
the induction equation and energy equation as a field contribution given
by
**E**
<sub>
*A
**
D*
</sub>
=
*η*
<sub>
*A
**
D*
</sub>
/
*μ*
\[
(∇×
**B**
)×
**B**
\]
×
**B**
**E**
<sub>
*AD*
</sub>
=
*η*
<sub>
*AD*
</sub>
/
*μ*
\[
(∇×
**B**
)×
**B**
\]
×
**B**
where
*η*
<sub>
*A
**
D*
</sub>
where
*η*
<sub>
*AD*
</sub>
\[
`V`
⋅
`m`
⋅
`A`
<sup>
− 1
</sup>
⋅
`T`
<sup>
− 2
</sup>
\]
denotes the
ambipolar diffusion coefficient.
*Note: The prefactor*
*η*
<sub>
*A
**
D*
</sub>
/
*μ*
*has units*
*Note: The prefactor*
*η*
<sub>
*AD*
</sub>
/
*μ*
*has units*
`m`
<sup>
2
</sup>
⋅
`s`
<sup>
− 1
</sup>
⋅
`T`
<sup>
− 2
</sup>
.
In the call of
`APdiffusionCoeffUser()`
function arguments are the
superblock pointer
`g`
and the array pointer
`APdiff`
of type
`double***`
representing the ambipolar diffusion coefficient
*η*
<sub>
*A
**
D*
</sub>
:
*η*
<sub>
*AD*
</sub>
:
APdiffusionCoeffUser(g,APdiff);
...
...
...
...