Skip to content

Commit 5f039d4

Browse files
authored
clean up in rotation doc (#3133)
1 parent be8cc19 commit 5f039d4

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

Docs/source/rotation.rst

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,12 @@ The main parameters that affect rotation are:
5959
- ``castro.rotational_period`` : period (s) of rotation
6060
(default: 0.0)
6161

62-
- ``castro.rotational_dPdt`` : d(period) / dt for rotation
63-
(default: 0.0)
64-
6562
- ``castro.rotation_include_centrifugal`` : whether to
6663
include the centrifugal forcing (default: 1)
6764

6865
- ``castro.rotation_include_coriolis`` : whether to
6966
include the Coriolis forcing (default: 1)
7067

71-
- ``castro.rotation_include_domegadt`` : whether to
72-
include the forcing from the time derivative of the rotation
73-
frequency (default: 1)
74-
7568
- ``castro.rot_source_type`` : method of updating the
7669
energy during a rotation update (default: 4)
7770

@@ -235,8 +228,8 @@ multiplying by :math:`\rho\vbt`:
235228
.. math::
236229
\begin{align}
237230
\rho\vbt\cdot\frac{D\vbt}{Dt} &= -\vbt\cdot\nablab p + \rho\vbt\cdot\gb - 2\rho\vbt\cdot\left[\ob\times\vbt\right] - \rho\vbt\cdot\left\{\ob\times\left[\ob\times\rbt\right]\right\} \nonumber \\
238-
\frac{1}{2}\frac{D\left(\rho\vbt\cdot\vbt\right)}{Dt} - \frac{1}{2}\vbt\cdot\vbt\frac{D\rho}{Dt} &= -\vbt\cdot\nablab p + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \rho\omega^2\rbt\right] \nonumber \\
239-
\frac{1}{2}\frac{D\left(\rho\vbt\cdot\vbt\right)}{Dt} &= -\frac{1}{2}\rho\vbt\cdot\vbt\nablab\cdot\vbt - \vbt\cdot\nablab p + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \rho\omega^2\rbt\right].
231+
\frac{1}{2}\frac{D\left(\rho\vbt\cdot\vbt\right)}{Dt} - \frac{1}{2}\vbt\cdot\vbt\frac{D\rho}{Dt} &= -\vbt\cdot\nablab p + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \omega^2\rbt\right] \nonumber \\
232+
\frac{1}{2}\frac{D\left(\rho\vbt\cdot\vbt\right)}{Dt} &= -\frac{1}{2}\rho\vbt\cdot\vbt\nablab\cdot\vbt - \vbt\cdot\nablab p + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \omega^2\rbt\right].
240233
\end{align}
241234
:label: eq:ekin-rot-total
242235
@@ -256,16 +249,16 @@ get the evolution of the total specific energy in the rotating frame,
256249
257250
\begin{align}
258251
\frac{D\left(\rho e\right)}{Dt} + \frac{1}{2}\frac{D\left(\rho\vbt\cdot\vbt\right)}{Dt} &= -\left(\rho e + p + \frac{1}{2}\rho\vbt\cdot\vbt\right)\nablab\cdot\vbt - \vbt\cdot\nablab p \\
259-
& + \rho\vbt\cdot\gb -\rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \rho\omega^2\rbt\right]\nonumber \\
260-
\frac{D\left(\rho \widetilde{E}\right)}{Dt} &= -\rho\widetilde{E}\nablab\cdot\vbt - \nablab\cdot\left(p\vbt\right) + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \rho\omega^2\rbt\right] \label{eq:etot-rot-total}
252+
& + \rho\vbt\cdot\gb -\rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \omega^2\rbt\right]\nonumber \\
253+
\frac{D\left(\rho \widetilde{E}\right)}{Dt} &= -\rho\widetilde{E}\nablab\cdot\vbt - \nablab\cdot\left(p\vbt\right) + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \omega^2\rbt\right] \label{eq:etot-rot-total}
261254
\end{align}
262255
263256
or
264257

265258
.. math::
266259
267260
\label{eq:etot-rot}
268-
\frac{\partial\left(\rho\widetilde{E}\right)}{\partial t} = -\nablab\cdot\left(\rho\widetilde{E}\vbt + p\vbt\right) + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \rho\omega^2\rbt\right].
261+
\frac{\partial\left(\rho\widetilde{E}\right)}{\partial t} = -\nablab\cdot\left(\rho\widetilde{E}\vbt + p\vbt\right) + \rho\vbt\cdot\gb - \rho\vbt\cdot\left[\left(\ob\cdot\rbt\right)\ob - \omega^2\rbt\right].
269262
270263
Switching to the rotating reference frame
271264
=========================================
@@ -327,15 +320,15 @@ in how the energy update is done:
327320
– only indirectly through things like shocks.
328321

329322
* ``castro.rot_source_type = 4`` : the energy update is done in a
330-
“conservative” fashion. The previous methods all evaluate the value
331-
of the source term at the cell center, but this method evaluates
332-
the change in energy at cell edges, using the hydrodynamical mass
333-
fluxes, permitting total energy to be conserved (excluding possible
334-
losses at open domain boundaries). Additionally, the velocity
335-
update is slightly different—for the corrector step, we note that
336-
there is an implicit coupling between the velocity components, and
337-
we directly solve this coupled equation, which results in a
338-
slightly better coupling and a more accurate evolution.
323+
“conservative” fashion. The previous methods all evaluate the value
324+
of the source term at the cell center, but this method evaluates
325+
the change in energy at cell edges, using the hydrodynamical mass
326+
fluxes, permitting total energy to be conserved (excluding possible
327+
losses at open domain boundaries). Additionally, the velocity
328+
update is slightly different—for the corrector step, we note that
329+
there is an implicit coupling between the velocity components, and
330+
we directly solve this coupled equation, which results in a
331+
slightly better coupling and a more accurate evolution.
339332

340333
The other major option is ``castro.implicit_rotation_update``.
341334
This does the update of the Coriolis term in the momentum equation

0 commit comments

Comments
 (0)