Update 3.1 Code basics authored by Udo Ziegler's avatar Udo Ziegler
...@@ -426,7 +426,6 @@ criteria which are ...@@ -426,7 +426,6 @@ criteria which are
- derivatives-based (most important in practice): - derivatives-based (most important in practice):
![amr_deriv](uploads/25c608e1a335aca4242b34afb9e4ffeb/amr_deriv.png) ![amr_deriv](uploads/25c608e1a335aca4242b34afb9e4ffeb/amr_deriv.png)
The criterion is applied to primary (or related) physical variables The criterion is applied to primary (or related) physical variables
*U* ( = {𝜚, **m**, *e*, **B**, *C*<sub>*c*</sub>}). Undivided first *U* ( = {𝜚, **m**, *e*, **B**, *C*<sub>*c*</sub>}). Undivided first
(*δ* *U*) and second (*δ* <sup>2</sup>*U*) differences are (*δ* *U*) and second (*δ* <sup>2</sup>*U*) differences are
...@@ -454,7 +453,7 @@ criteria which are ...@@ -454,7 +453,7 @@ criteria which are
flow features right in time.* flow features right in time.*
- Jeans-length-based (important in simulations involving selfgravity): - Jeans-length-based (important in simulations involving selfgravity):
![amr_Jeans](uploads/6f5d6baa55c30a2a3ce4c5a11cca7cb3/amr_Jeans.png) ![amr_Jeans](uploads/911451541e1624ab997d1ecb6bae6ca3/amr_Jeans.png)
where the first factor is the local Jeans length with where the first factor is the local Jeans length with
*c*<sub>*s*</sub> the sound speed and *G* the gravitational *c*<sub>*s*</sub> the sound speed and *G* the gravitational
constant, and where constant, and where
...@@ -465,12 +464,7 @@ criteria which are ...@@ -465,12 +464,7 @@ criteria which are
- Field-length-based (potentially relevant for simulations involving a - Field-length-based (potentially relevant for simulations involving a
heatloss source but rarely used in practice): heatloss source but rarely used in practice):
$$2\\pi \\left(\\frac{\\kappa T}{\\max\\left\\{T\\left(\\frac{\\partial L}{\\partial T}\\right)\_{\\varrho} ![amr_Field](uploads/9a6e2ca5c64e5f849e12f8dc1db029f5/amr_Field.png)
-\\varrho \\left(\\frac{\\partial L}{\\partial \\varrho}\\right)\_{T},EPS\\right\\}}
\\right)^{1/2}\\cdot \\mathcal{E}\_\\mathrm{Field}\\left\\{\\begin{array}{ll}
&lt;\\delta\\,\\!s & \\mbox{refinement}\\\\
&gt;1.25\\delta\\,\\!s & \\mbox{derefinement}\\\\
\\end{array}\\right.$$
where the first factor is the Field length with *L*(𝜚, *T*) the where the first factor is the Field length with *L*(𝜚, *T*) the
density- and temperature-dependent heatloss function and *κ* the density- and temperature-dependent heatloss function and *κ* the
thermal conduction coefficient. ℰ<sub>*F**i**e**l**d*</sub> is a thermal conduction coefficient. ℰ<sub>*F**i**e**l**d*</sub> is a
... ...
......