Changeset 6497 for trunk/DOC/TexFiles/Chapters/Chap_DIA.tex
- Timestamp:
- 2016-04-27T09:33:46+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/TexFiles/Chapters/Chap_DIA.tex
r6289 r6497 1409 1409 1410 1410 % ------------------------------------------------------------------------------------------------------------- 1411 % 25 hour mean and hourly Surface, Mid and Bed1412 % -------------------------------------------------------------------------------------------------------------1413 \section{25 hour mean output for tidal models }1414 1415 A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean.1416 The 25 hour mean is available for daily runs by summing up the 25 hourly instantananeous hourly values from1417 midnight at the start of the day to midight at the day end.1418 This diagnostic is actived with the logical $ln\_dia25h$1419 1420 %------------------------------------------nam_dia25h------------------------------------------------------1421 \namdisplay{nam_dia25h}1422 %----------------------------------------------------------------------------------------------------------1423 1424 \section{Top Middle and Bed hourly output }1425 1426 A module is available to output the surface (top), mid water and bed diagnostics of a set of standard variables.1427 This can be a useful diagnostic when hourly or sub-hourly output is required in high resolution tidal outputs.1428 The tidal signal is retained but the overall data usage is cut to just three vertical levels. Also the bottom level1429 is calculated for each cell.1430 This diagnostic is actived with the logical $ln\_diatmb$1431 1432 %------------------------------------------nam_diatmb-----------------------------------------------------1433 \namdisplay{nam_diatmb}1434 %----------------------------------------------------------------------------------------------------------1435 1436 % -------------------------------------------------------------------------------------------------------------1437 1411 % Sections transports 1438 1412 % ------------------------------------------------------------------------------------------------------------- … … 1440 1414 \label{DIA_diag_dct} 1441 1415 1416 %------------------------------------------namdct---------------------------------------------------- 1417 \namdisplay{namdct} 1418 %------------------------------------------------------------------------------------------------------------- 1419 1442 1420 A module is available to compute the transport of volume, heat and salt through sections. 1443 1421 This diagnostic is actived with \key{diadct}. … … 1459 1437 and the time scales over which they are averaged, as well as the level of output for debugging: 1460 1438 1461 %------------------------------------------namdct----------------------------------------------------1462 \namdisplay{namdct}1463 %-------------------------------------------------------------------------------------------------------------1464 1465 1439 \np{nn\_dct}: frequency of instantaneous transports computing 1466 1440 … … 1469 1443 \np{nn\_debug}: debugging of the section 1470 1444 1471 \subsubsection{ To createa binary file containing the pathway of each section }1472 1473 In \texttt{NEMOGCM/TOOLS/SECTIONS\_DIADCT/run}, the file \text tt{ {list\_sections.ascii\_global}}1445 \subsubsection{ Creating a binary file containing the pathway of each section } 1446 1447 In \texttt{NEMOGCM/TOOLS/SECTIONS\_DIADCT/run}, the file \textit{ {list\_sections.ascii\_global}} 1474 1448 contains a list of all the sections that are to be computed (this list of sections is based on MERSEA project metrics). 1475 1449 … … 1583 1557 \texttt{=/0, =/ 1000.} & diagonal & eastward & westward & postive: eastward \\ \hline 1584 1558 \end{tabular} 1585 1586 1587 1588 % -------------------------------------------------------------------------------------------------------------1589 % Other Diagnostics1590 % -------------------------------------------------------------------------------------------------------------1591 \section{Other Diagnostics (\key{diahth}, \key{diaar5})}1592 \label{DIA_diag_others}1593 1594 1595 Aside from the standard model variables, other diagnostics can be computed1596 on-line. The available ready-to-add diagnostics routines can be found in directory DIA.1597 Among the available diagnostics the following ones are obtained when defining1598 the \key{diahth} CPP key:1599 1600 - the mixed layer depth (based on a density criterion \citep{de_Boyer_Montegut_al_JGR04}) (\mdl{diahth})1601 1602 - the turbocline depth (based on a turbulent mixing coefficient criterion) (\mdl{diahth})1603 1604 - the depth of the 20\deg C isotherm (\mdl{diahth})1605 1606 - the depth of the thermocline (maximum of the vertical temperature gradient) (\mdl{diahth})1607 1608 The poleward heat and salt transports, their advective and diffusive component, and1609 the meriodional stream function can be computed on-line in \mdl{diaptr}1610 \np{ln\_diaptr} to true (see the \textit{\ngn{namptr} } namelist below).1611 When \np{ln\_subbas}~=~true, transports and stream function are computed1612 for the Atlantic, Indian, Pacific and Indo-Pacific Oceans (defined north of 30\deg S)1613 as well as for the World Ocean. The sub-basin decomposition requires an input file1614 (\ifile{subbasins}) which contains three 2D mask arrays, the Indo-Pacific mask1615 been deduced from the sum of the Indian and Pacific mask (Fig~\ref{Fig_mask_subasins}).1616 1617 %------------------------------------------namptr----------------------------------------------------1618 \namdisplay{namptr}1619 %-------------------------------------------------------------------------------------------------------------1620 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>1621 \begin{figure}[!t] \begin{center}1622 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_mask_subasins.pdf}1623 \caption{ \label{Fig_mask_subasins}1624 Decomposition of the World Ocean (here ORCA2) into sub-basin used in to compute1625 the heat and salt transports as well as the meridional stream-function: Atlantic basin (red),1626 Pacific basin (green), Indian basin (bleue), Indo-Pacific basin (bleue+green).1627 Note that semi-enclosed seas (Red, Med and Baltic seas) as well as Hudson Bay1628 are removed from the sub-basins. Note also that the Arctic Ocean has been split1629 into Atlantic and Pacific basins along the North fold line. }1630 \end{center} \end{figure}1631 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>1632 1633 In addition, a series of diagnostics has been added in the \mdl{diaar5}.1634 They corresponds to outputs that are required for AR5 simulations1635 (see Section \ref{DIA_steric} below for one of them).1636 Activating those outputs requires to define the \key{diaar5} CPP key.1637 \\1638 \\1639 1640 \section{Courant numbers}1641 Courant numbers provide a theoretical indication of the model's numerical stability. The advective Courant numbers can be calculated according to1642 \begin{equation}1643 \label{eq:CFL}1644 C_u = |u|\frac{\rdt}{e_{1u}}, \quad C_v = |v|\frac{\rdt}{e_{2v}}, \quad C_w = |w|\frac{\rdt}{e_{3w}}1645 \end{equation}1646 in the zonal, meridional and vertical directions respectively. The vertical component is included although it is not strictly valid as the vertical velocity is calculated from the continuity equation rather than as a prognostic variable. Physically this represents the rate at which information is propogated across a grid cell. Values greater than 1 indicate that information is propagated across more than one grid cell in a single time step.1647 1648 The variables can be activated by setting the \np{nn\_diacfl} namelist parameter to 1 in the \ngn{namctl} namelist. The diagnostics will be written out to an ascii file named cfl\_diagnostics.ascii. In this file the maximum value of $C_u$, $C_v$, and $C_w$ are printed at each timestep along with the coordinates of where the maximum value occurs. At the end of the model run the maximum value of $C_u$, $C_v$, and $C_w$ for the whole model run is printed along with the coordinates of each. The maximum values from the run are also copied to the ocean.output file.1649 1559 1650 1560 … … 1802 1712 the \key{diaar5} defined to be called. 1803 1713 1714 1715 1716 % ------------------------------------------------------------------------------------------------------------- 1717 % Other Diagnostics 1718 % ------------------------------------------------------------------------------------------------------------- 1719 \section{Other Diagnostics (\key{diahth}, \key{diaar5})} 1720 \label{DIA_diag_others} 1721 1722 1723 Aside from the standard model variables, other diagnostics can be computed on-line. 1724 The available ready-to-add diagnostics modules can be found in directory DIA. 1725 1726 \subsection{Depth of various quantities (\mdl{diahth})} 1727 1728 Among the available diagnostics the following ones are obtained when defining 1729 the \key{diahth} CPP key: 1730 1731 - the mixed layer depth (based on a density criterion \citep{de_Boyer_Montegut_al_JGR04}) (\mdl{diahth}) 1732 1733 - the turbocline depth (based on a turbulent mixing coefficient criterion) (\mdl{diahth}) 1734 1735 - the depth of the 20\deg C isotherm (\mdl{diahth}) 1736 1737 - the depth of the thermocline (maximum of the vertical temperature gradient) (\mdl{diahth}) 1738 1739 % ----------------------------------------------------------- 1740 % Poleward heat and salt transports 1741 % ----------------------------------------------------------- 1742 1743 \subsection{Poleward heat and salt transports (\mdl{diaptr})} 1744 1745 %------------------------------------------namptr----------------------------------------- 1746 \namdisplay{namptr} 1747 %----------------------------------------------------------------------------------------- 1748 1749 The poleward heat and salt transports, their advective and diffusive component, and 1750 the meriodional stream function can be computed on-line in \mdl{diaptr} 1751 \np{ln\_diaptr} to true (see the \textit{\ngn{namptr} } namelist below). 1752 When \np{ln\_subbas}~=~true, transports and stream function are computed 1753 for the Atlantic, Indian, Pacific and Indo-Pacific Oceans (defined north of 30\deg S) 1754 as well as for the World Ocean. The sub-basin decomposition requires an input file 1755 (\ifile{subbasins}) which contains three 2D mask arrays, the Indo-Pacific mask 1756 been deduced from the sum of the Indian and Pacific mask (Fig~\ref{Fig_mask_subasins}). 1757 1758 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1759 \begin{figure}[!t] \begin{center} 1760 \includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_mask_subasins.pdf} 1761 \caption{ \label{Fig_mask_subasins} 1762 Decomposition of the World Ocean (here ORCA2) into sub-basin used in to compute 1763 the heat and salt transports as well as the meridional stream-function: Atlantic basin (red), 1764 Pacific basin (green), Indian basin (bleue), Indo-Pacific basin (bleue+green). 1765 Note that semi-enclosed seas (Red, Med and Baltic seas) as well as Hudson Bay 1766 are removed from the sub-basins. Note also that the Arctic Ocean has been split 1767 into Atlantic and Pacific basins along the North fold line. } 1768 \end{center} \end{figure} 1769 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1770 1771 1772 % ----------------------------------------------------------- 1773 % CMIP specific diagnostics 1774 % ----------------------------------------------------------- 1775 \subsection{CMIP specific diagnostics (\mdl{diaar5})} 1776 1777 A series of diagnostics has been added in the \mdl{diaar5}. 1778 They corresponds to outputs that are required for AR5 simulations (CMIP5) 1779 (see also Section \ref{DIA_steric} for one of them). 1780 Activating those outputs requires to define the \key{diaar5} CPP key. 1781 1782 1783 % ----------------------------------------------------------- 1784 % 25 hour mean and hourly Surface, Mid and Bed 1785 % ----------------------------------------------------------- 1786 \subsection{25 hour mean output for tidal models } 1787 1788 %------------------------------------------nam_dia25h------------------------------------- 1789 \namdisplay{nam_dia25h} 1790 %----------------------------------------------------------------------------------------- 1791 1792 A module is available to compute a crudely detided M2 signal by obtaining a 25 hour mean. 1793 The 25 hour mean is available for daily runs by summing up the 25 hourly instantananeous hourly values from 1794 midnight at the start of the day to midight at the day end. 1795 This diagnostic is actived with the logical $ln\_dia25h$ 1796 1797 1798 % ----------------------------------------------------------- 1799 % Top Middle and Bed hourly output 1800 % ----------------------------------------------------------- 1801 \subsection{Top Middle and Bed hourly output } 1802 1803 %------------------------------------------nam_diatmb----------------------------------------------------- 1804 \namdisplay{nam_diatmb} 1805 %---------------------------------------------------------------------------------------------------------- 1806 1807 A module is available to output the surface (top), mid water and bed diagnostics of a set of standard variables. 1808 This can be a useful diagnostic when hourly or sub-hourly output is required in high resolution tidal outputs. 1809 The tidal signal is retained but the overall data usage is cut to just three vertical levels. Also the bottom level 1810 is calculated for each cell. 1811 This diagnostic is actived with the logical $ln\_diatmb$ 1812 1813 1814 1815 % ----------------------------------------------------------- 1816 % Courant numbers 1817 % ----------------------------------------------------------- 1818 \subsection{Courant numbers} 1819 Courant numbers provide a theoretical indication of the model's numerical stability. The advective Courant numbers can be calculated according to 1820 \begin{equation} 1821 \label{eq:CFL} 1822 C_u = |u|\frac{\rdt}{e_{1u}}, \quad C_v = |v|\frac{\rdt}{e_{2v}}, \quad C_w = |w|\frac{\rdt}{e_{3w}} 1823 \end{equation} 1824 in the zonal, meridional and vertical directions respectively. The vertical component is included although it is not strictly valid as the vertical velocity is calculated from the continuity equation rather than as a prognostic variable. Physically this represents the rate at which information is propogated across a grid cell. Values greater than 1 indicate that information is propagated across more than one grid cell in a single time step. 1825 1826 The variables can be activated by setting the \np{nn\_diacfl} namelist parameter to 1 in the \ngn{namctl} namelist. The diagnostics will be written out to an ascii file named cfl\_diagnostics.ascii. In this file the maximum value of $C_u$, $C_v$, and $C_w$ are printed at each timestep along with the coordinates of where the maximum value occurs. At the end of the model run the maximum value of $C_u$, $C_v$, and $C_w$ for the whole model run is printed along with the coordinates of each. The maximum values from the run are also copied to the ocean.output file. 1827 1828 1804 1829 % ================================================================ 1805 1830
Note: See TracChangeset
for help on using the changeset viewer.