New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11596 for NEMO/trunk/doc/latex/NEMO/subfiles/apdx_invariants.tex – NEMO

Ignore:
Timestamp:
2019-09-25T19:06:37+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Application of some coding rules

  • Replace comments before sectioning cmds by a single line of 100 characters long to display when every line should break
  • Replace multi blank lines by one single blank line
  • For list environment, put \item, label and content on the same line
  • Remove \newpage and comments line around figure envs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_invariants.tex

    r11584 r11596  
    22 
    33\begin{document} 
    4 % ================================================================ 
    5 % Chapter Ñ Appendix C : Discrete Invariants of the Equations 
    6 % ================================================================ 
    74\chapter{Discrete Invariants of the Equations} 
    85\label{apdx:INVARIANTS} 
     
    1512%\gmcomment{ 
    1613 
    17 \newpage 
    18  
    19 % ================================================================ 
    20 % Introduction / Notations 
    21 % ================================================================ 
    2214\section{Introduction / Notations} 
    2315\label{sec:INVARIANTS_0} 
     
    9385\end{flalign} 
    9486 
    95 % ================================================================ 
    96 % Continuous Total energy Conservation 
    97 % ================================================================ 
    9887\section{Continuous conservation} 
    9988\label{sec:INVARIANTS_1} 
     
    322311% 
    323312 
    324 % ================================================================ 
    325 % Discrete Total energy Conservation : vector invariant form 
    326 % ================================================================ 
    327313\section{Discrete total energy conservation: vector invariant form} 
    328314\label{sec:INVARIANTS_2} 
    329315 
    330 % ------------------------------------------------------------------------------------------------------------- 
    331 %       Total energy conservation 
    332 % ------------------------------------------------------------------------------------------------------------- 
    333316\subsection{Total energy conservation} 
    334317\label{subsec:INVARIANTS_KE+PE_vect} 
     
    354337leads to the discrete equivalent of the four equations \autoref{eq:INVARIANTS_E_tot_flux}. 
    355338 
    356 % ------------------------------------------------------------------------------------------------------------- 
    357 %       Vorticity term (coriolis + vorticity part of the advection) 
    358 % ------------------------------------------------------------------------------------------------------------- 
    359339\subsection{Vorticity term (coriolis + vorticity part of the advection)} 
    360340\label{subsec:INVARIANTS_vor} 
     
    363343or the planetary ($q=f/e_{3f}$), or the total potential vorticity ($q=(\zeta +f) /e_{3f}$). 
    364344Two discretisation of the vorticity term (ENE and EEN) allows the conservation of the kinetic energy. 
    365 % ------------------------------------------------------------------------------------------------------------- 
    366 %       Vorticity Term with ENE scheme 
    367 % ------------------------------------------------------------------------------------------------------------- 
    368345\subsubsection{Vorticity term with ENE scheme (\protect\np[=.true.]{ln_dynvor_ene}{ln\_dynvor\_ene})} 
    369346\label{subsec:INVARIANTS_vorENE} 
     
    403380In other words, the domain averaged kinetic energy does not change due to the vorticity term. 
    404381 
    405 % ------------------------------------------------------------------------------------------------------------- 
    406 %       Vorticity Term with EEN scheme 
    407 % ------------------------------------------------------------------------------------------------------------- 
    408382\subsubsection{Vorticity term with EEN scheme (\protect\np[=.true.]{ln_dynvor_een}{ln\_dynvor\_een})} 
    409383\label{subsec:INVARIANTS_vorEEN_vect} 
     
    475449\end{flalign*} 
    476450 
    477 % ------------------------------------------------------------------------------------------------------------- 
    478 %       Gradient of Kinetic Energy / Vertical Advection 
    479 % ------------------------------------------------------------------------------------------------------------- 
    480451\subsubsection{Gradient of kinetic energy / Vertical advection} 
    481452\label{subsec:INVARIANTS_zad} 
     
    585556Blah blah required on the the step representation of bottom topography..... 
    586557 
    587  
    588 % ------------------------------------------------------------------------------------------------------------- 
    589 %       Pressure Gradient Term 
    590 % ------------------------------------------------------------------------------------------------------------- 
    591558\subsection{Pressure gradient term} 
    592559\label{subsec:INVARIANTS_2.6} 
     
    731698Nevertheless, it is almost never satisfied since a linear equation of state is rarely used. 
    732699 
    733 % ================================================================ 
    734 % Discrete Total energy Conservation : flux form 
    735 % ================================================================ 
    736700\section{Discrete total energy conservation: flux form} 
    737701\label{sec:INVARIANTS_3} 
    738702 
    739 % ------------------------------------------------------------------------------------------------------------- 
    740 %       Total energy conservation 
    741 % ------------------------------------------------------------------------------------------------------------- 
    742703\subsection{Total energy conservation} 
    743704\label{subsec:INVARIANTS_KE+PE_flux} 
     
    760721vector invariant or in flux form, leads to the discrete equivalent of the ???? 
    761722 
    762  
    763 % ------------------------------------------------------------------------------------------------------------- 
    764 %       Coriolis and advection terms: flux form 
    765 % ------------------------------------------------------------------------------------------------------------- 
    766723\subsection{Coriolis and advection terms: flux form} 
    767724\label{subsec:INVARIANTS_3.2} 
    768725 
    769 % ------------------------------------------------------------------------------------------------------------- 
    770 %       Coriolis plus ``metric'' Term 
    771 % ------------------------------------------------------------------------------------------------------------- 
    772726\subsubsection{Coriolis plus ``metric'' term} 
    773727\label{subsec:INVARIANTS_3.3} 
     
    788742The derivation is the same as for the vorticity term in the vector invariant form (\autoref{subsec:INVARIANTS_vor}). 
    789743 
    790 % ------------------------------------------------------------------------------------------------------------- 
    791 %       Flux form advection 
    792 % ------------------------------------------------------------------------------------------------------------- 
    793744\subsubsection{Flux form advection} 
    794745\label{subsec:INVARIANTS_3.4} 
     
    869820The horizontal kinetic energy is not conserved, but forced to decay (\ie\ the scheme is diffusive). 
    870821 
    871 % ================================================================ 
    872 % Discrete Enstrophy Conservation 
    873 % ================================================================ 
    874822\section{Discrete enstrophy conservation} 
    875823\label{sec:INVARIANTS_4} 
    876824 
    877 % ------------------------------------------------------------------------------------------------------------- 
    878 %       Vorticity Term with ENS scheme 
    879 % ------------------------------------------------------------------------------------------------------------- 
    880825\subsubsection{Vorticity term with ENS scheme  (\protect\np[=.true.]{ln_dynvor_ens}{ln\_dynvor\_ens})} 
    881826\label{subsec:INVARIANTS_vorENS} 
     
    944889The later equality is obtain only when the flow is horizontally non-divergent, \ie\ $\chi$=$0$. 
    945890 
    946 % ------------------------------------------------------------------------------------------------------------- 
    947 %       Vorticity Term with EEN scheme 
    948 % ------------------------------------------------------------------------------------------------------------- 
    949891\subsubsection{Vorticity Term with EEN scheme (\protect\np[=.true.]{ln_dynvor_een}{ln\_dynvor\_een})} 
    950892\label{subsec:INVARIANTS_vorEEN} 
     
    1017959\end{flalign*} 
    1018960 
    1019 % ================================================================ 
    1020 % Conservation Properties on Tracers 
    1021 % ================================================================ 
    1022961\section{Conservation properties on tracers} 
    1023962\label{sec:INVARIANTS_5} 
     
    1033972as the equation of state is non linear with respect to $T$ and $S$. 
    1034973In practice, the mass is conserved to a very high accuracy. 
    1035 % ------------------------------------------------------------------------------------------------------------- 
    1036 %       Advection Term 
    1037 % ------------------------------------------------------------------------------------------------------------- 
    1038974\subsection{Advection term} 
    1039975\label{subsec:INVARIANTS_5.1} 
     
    10991035which is the discrete form of $ \frac{1}{2} \int_D {  T^2 \frac{1}{e_3} \frac{\partial  e_3 }{\partial t} \;dv }$. 
    11001036 
    1101 % ================================================================ 
    1102 % Conservation Properties on Lateral Momentum Physics 
    1103 % ================================================================ 
    11041037\section{Conservation properties on lateral momentum physics} 
    11051038\label{sec:INVARIANTS_dynldf_properties} 
     
    11201053the term associated with the horizontal gradient of the divergence is locally zero. 
    11211054 
    1122 % ------------------------------------------------------------------------------------------------------------- 
    1123 %       Conservation of Potential Vorticity 
    1124 % ------------------------------------------------------------------------------------------------------------- 
    11251055\subsection{Conservation of potential vorticity} 
    11261056\label{subsec:INVARIANTS_6.1} 
     
    11541084\end{flalign*} 
    11551085 
    1156 % ------------------------------------------------------------------------------------------------------------- 
    1157 %       Dissipation of Horizontal Kinetic Energy 
    1158 % ------------------------------------------------------------------------------------------------------------- 
    11591086\subsection{Dissipation of horizontal kinetic energy} 
    11601087\label{subsec:INVARIANTS_6.2} 
     
    12061133\] 
    12071134 
    1208 % ------------------------------------------------------------------------------------------------------------- 
    1209 %       Dissipation of Enstrophy 
    1210 % ------------------------------------------------------------------------------------------------------------- 
    12111135\subsection{Dissipation of enstrophy} 
    12121136\label{subsec:INVARIANTS_6.3} 
     
    12301154\end{flalign*} 
    12311155 
    1232 % ------------------------------------------------------------------------------------------------------------- 
    1233 %       Conservation of Horizontal Divergence 
    1234 % ------------------------------------------------------------------------------------------------------------- 
    12351156\subsection{Conservation of horizontal divergence} 
    12361157\label{subsec:INVARIANTS_6.4} 
     
    12571178\end{flalign*} 
    12581179 
    1259 % ------------------------------------------------------------------------------------------------------------- 
    1260 %       Dissipation of Horizontal Divergence Variance 
    1261 % ------------------------------------------------------------------------------------------------------------- 
    12621180\subsection{Dissipation of horizontal divergence variance} 
    12631181\label{subsec:INVARIANTS_6.5} 
     
    12831201\end{flalign*} 
    12841202 
    1285 % ================================================================ 
    1286 % Conservation Properties on Vertical Momentum Physics 
    1287 % ================================================================ 
    12881203\section{Conservation properties on vertical momentum physics} 
    12891204\label{sec:INVARIANTS_7} 
     
    14541369\end{flalign*} 
    14551370 
    1456 % ================================================================ 
    1457 % Conservation Properties on Tracer Physics 
    1458 % ================================================================ 
    14591371\section{Conservation properties on tracer physics} 
    14601372\label{sec:INVARIANTS_8} 
     
    14661378As for the advection term, there is conservation of mass only if the Equation Of Seawater is linear. 
    14671379 
    1468 % ------------------------------------------------------------------------------------------------------------- 
    1469 %       Conservation of Tracers 
    1470 % ------------------------------------------------------------------------------------------------------------- 
    14711380\subsection{Conservation of tracers} 
    14721381\label{subsec:INVARIANTS_8.1} 
     
    14991408In fact, this property simply results from the flux form of the operator. 
    15001409 
    1501 % ------------------------------------------------------------------------------------------------------------- 
    1502 %       Dissipation of Tracer Variance 
    1503 % ------------------------------------------------------------------------------------------------------------- 
    15041410\subsection{Dissipation of tracer variance} 
    15051411\label{subsec:INVARIANTS_8.2} 
Note: See TracChangeset for help on using the changeset viewer.