Skip to content

Commit b727c3e

Browse files
committed
add the sphinx documentation for the new outputs
1 parent 0262962 commit b727c3e

2 files changed

Lines changed: 66 additions & 0 deletions

File tree

doc/sphinx/outputFiles/outFiles.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ and the structure of the different type of output files:
3131

3232
* Angular momentum balance: :ref:`AM.TAG <secAMFile>`,
3333
* Heat transport: :ref:`heat.TAG <secHeatFile>`,
34+
* Diagnostics for double-diffusive convection: :ref:`double_diff.TAG <secDoubleDiffFile>`,
3435
* Helicity: :ref:`helicity.TAG <secHelicityFile>`,
3536
* Power budget: :ref:`power.TAG <secpowerFile>` and :ref:`dtE.TAG <secdtEFile>`,
3637
* Square velocities: :ref:`u_square.TAG <secu_squareFile>`,

doc/sphinx/outputFiles/outTimeSeriesSupp.rst

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,71 @@ calculated by the subroutine :f:subr:`outHemi <outmisc_mod/outhemi()>`.
734734
>>> # To stack all the hemi.TAG files of the current directory
735735
>>> ts = MagicTs(field='hemi', all=True)
736736

737+
.. _secDoubleDiffFile:
738+
739+
``double_diff.TAG``
740+
-------------------
741+
742+
This files contains extra informations relevant for simulations of double diffusive
743+
convection, such as density and flux ratios. This is automatically turned on
744+
when both chemical and thermal Rayleigh numbers differ from zero. This computation
745+
and writing of the output files is handled by the subroutine
746+
:f:subr:`outDD <outmisc_mod/outdd()>`.
747+
748+
+---------------+---------------------------------------------------------------+
749+
| No. of column | Contents |
750+
+===============+===============================================================+
751+
| 1 | time |
752+
+---------------+---------------------------------------------------------------+
753+
| 2 | Effective density ratio defined using the actual ratio of |
754+
| | temperature and composition across the spherical shell. |
755+
+---------------+---------------------------------------------------------------+
756+
| 3 | Flux ratio :math:`\gamma=\alpha_T F_T/\alpha_\xi F_\xi` |
757+
+---------------+---------------------------------------------------------------+
758+
| 4 | Turbulent flux ratio |
759+
| | :math:`|\langle u_r T\rangle/\langle u_r \xi \rangle|` |
760+
+---------------+---------------------------------------------------------------+
761+
| 5 | Conductive heat flux integrated over the entire volume |
762+
+---------------+---------------------------------------------------------------+
763+
| 6 | Convective heat flux integrated over the entire volume |
764+
+---------------+---------------------------------------------------------------+
765+
| 7 | Conductive composition flux integrated over the entire |
766+
| | volume |
767+
+---------------+---------------------------------------------------------------+
768+
| 8 | Convective composition flux integrated over the entire |
769+
| | volume |
770+
+---------------+---------------------------------------------------------------+
771+
| 9 | Total energy of the temperature fluctuations |
772+
| | :math:`\frac{1}{2}\langle {T'}^2 \rangle_V |
773+
+---------------+---------------------------------------------------------------+
774+
| 10 | Axisymmetric part of the temperature fluctuations |
775+
| | :math:`\frac{1}{2}\langle {T'}_{m=0}^2 \rangle_V |
776+
+---------------+---------------------------------------------------------------+
777+
| 11 | Spherically-symmetric part of the temperature fluctuations |
778+
| | :math:`\frac{1}{2}\langle {T'}_{\ell=0}^2 \rangle_V |
779+
+---------------+---------------------------------------------------------------+
780+
| 12 | Degree one contribution of the temperature fluctuations |
781+
| | :math:`\frac{1}{2}\langle {T'}_{\ell=1}^2 \rangle_V |
782+
+---------------+---------------------------------------------------------------+
783+
| 13 | Total energy of the fluctuations of chemical composition |
784+
| | :math:`\frac{1}{2}\langle {\xi'}^2 \rangle_V |
785+
+---------------+---------------------------------------------------------------+
786+
| 14 | Axisymmetric part of the fluctuations of composition |
787+
| | :math:`\frac{1}{2}\langle {\xi'}_{m=0}^2 \rangle_V |
788+
+---------------+---------------------------------------------------------------+
789+
| 15 | Spherically-symmetric part of the fluctuations of composition |
790+
| | :math:`\frac{1}{2}\langle {\xi'}_{\ell=0}^2 \rangle_V |
791+
+---------------+---------------------------------------------------------------+
792+
| 16 | Degree one contribution of the fluctuations of composition |
793+
| | :math:`\frac{1}{2}\langle {\xi'}_{\ell=1}^2 \rangle_V |
794+
+---------------+---------------------------------------------------------------+
795+
796+
This file can be read using :py:class:`MagicTs <magic.MagicTs>` with the following
797+
options:
798+
799+
>>> # To stack all the double_diff.TAG files of the current directory
800+
>>> ts = MagicTs(field='double_diff', all=True)
801+
737802

738803
``growth_sym.TAG`` and ``growth_asym.TAG``
739804
------------------------------------------

0 commit comments

Comments
 (0)