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 11597 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex – NEMO

Ignore:
Timestamp:
2019-09-25T20:20:19+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Continuation of coding rules application
Recovery of some sections deleted by the previous commit

File:
1 edited

Legend:

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

    r11596 r11597  
    5454(\np{ln_tra_trd}{ln\_tra\_trd} or \np[=.true.]{ln_tra_mxl}{ln\_tra\_mxl}), as described in \autoref{chap:DIA}. 
    5555 
     56%% ================================================================================================= 
    5657\section[Tracer advection (\textit{traadv.F90})]{Tracer advection (\protect\mdl{traadv})} 
    5758\label{sec:TRA_adv} 
    58 %------------------------------------------namtra_adv----------------------------------------------------- 
    5959 
    6060\begin{listing} 
     
    6363  \label{lst:namtra_adv} 
    6464\end{listing} 
    65 %------------------------------------------------------------------------------------------------------------- 
    6665 
    6766When considered (\ie\ when \np{ln_traadv_OFF}{ln\_traadv\_OFF} is not set to \forcode{.true.}), 
     
    171170their results. 
    172171 
     172%% ================================================================================================= 
    173173\subsection[CEN: Centred scheme (\forcode{ln_traadv_cen})]{CEN: Centred scheme (\protect\np{ln_traadv_cen}{ln\_traadv\_cen})} 
    174174\label{subsec:TRA_adv_cen} 
     
    235235these near boundary grid points. 
    236236 
     237%% ================================================================================================= 
    237238\subsection[FCT: Flux Corrected Transport scheme (\forcode{ln_traadv_fct})]{FCT: Flux Corrected Transport scheme (\protect\np{ln_traadv_fct}{ln\_traadv\_fct})} 
    238239\label{subsec:TRA_adv_tvd} 
     
    274275while a forward scheme is used for the diffusive part. 
    275276 
     277%% ================================================================================================= 
    276278\subsection[MUSCL: Monotone Upstream Scheme for Conservative Laws (\forcode{ln_traadv_mus})]{MUSCL: Monotone Upstream Scheme for Conservative Laws (\protect\np{ln_traadv_mus}{ln\_traadv\_mus})} 
    277279\label{subsec:TRA_adv_mus} 
     
    307309(\np[=.true.]{ln_mus_ups}{ln\_mus\_ups}). 
    308310 
     311%% ================================================================================================= 
    309312\subsection[UBS a.k.a. UP3: Upstream-Biased Scheme (\forcode{ln_traadv_ubs})]{UBS a.k.a. UP3: Upstream-Biased Scheme (\protect\np{ln_traadv_ubs}{ln\_traadv\_ubs})} 
    310313\label{subsec:TRA_adv_ubs} 
     
    376379Note the current version of \NEMO\ uses the computationally more efficient formulation \autoref{eq:TRA_adv_ubs}. 
    377380 
     381%% ================================================================================================= 
    378382\subsection[QCK: QuiCKest scheme (\forcode{ln_traadv_qck})]{QCK: QuiCKest scheme (\protect\np{ln_traadv_qck}{ln\_traadv\_qck})} 
    379383\label{subsec:TRA_adv_qck} 
     
    396400%%%gmcomment   :  Cross term are missing in the current implementation.... 
    397401 
     402%% ================================================================================================= 
    398403\section[Tracer lateral diffusion (\textit{traldf.F90})]{Tracer lateral diffusion (\protect\mdl{traldf})} 
    399404\label{sec:TRA_ldf} 
    400 %-----------------------------------------nam_traldf------------------------------------------------------ 
    401405 
    402406\begin{listing} 
     
    405409  \label{lst:namtra_ldf} 
    406410\end{listing} 
    407 %------------------------------------------------------------------------------------------------------------- 
    408411 
    409412Options are defined through the \nam{tra_ldf}{tra\_ldf} namelist variables. 
     
    425428the pure vertical component is split into an explicit and an implicit part \citep{lemarie.debreu.ea_OM12}. 
    426429 
     430%% ================================================================================================= 
    427431\subsection[Type of operator (\forcode{ln_traldf_}\{\forcode{OFF,lap,blp}\})]{Type of operator (\protect\np{ln_traldf_OFF}{ln\_traldf\_OFF}, \protect\np{ln_traldf_lap}{ln\_traldf\_lap}, or \protect\np{ln_traldf_blp}{ln\_traldf\_blp})} 
    428432\label{subsec:TRA_ldf_op} 
     
    456460whereas the laplacian damping time scales only like $\lambda^{-2}$. 
    457461 
     462%% ================================================================================================= 
    458463\subsection[Action direction (\forcode{ln_traldf_}\{\forcode{lev,hor,iso,triad}\})]{Direction of action (\protect\np{ln_traldf_lev}{ln\_traldf\_lev}, \protect\np{ln_traldf_hor}{ln\_traldf\_hor}, \protect\np{ln_traldf_iso}{ln\_traldf\_iso}, or \protect\np{ln_traldf_triad}{ln\_traldf\_triad})} 
    459464\label{subsec:TRA_ldf_dir} 
     
    479484the next two sub-sections. 
    480485 
     486%% ================================================================================================= 
    481487\subsection[Iso-level (bi-)laplacian operator (\forcode{ln_traldf_iso})]{Iso-level (bi-)laplacian operator ( \protect\np{ln_traldf_iso}{ln\_traldf\_iso})} 
    482488\label{subsec:TRA_ldf_lev} 
     
    507513They are calculated in the \mdl{zpshde} module, described in \autoref{sec:TRA_zpshde}. 
    508514 
     515%% ================================================================================================= 
    509516\subsection{Standard and triad (bi-)laplacian operator} 
    510517\label{subsec:TRA_ldf_iso_triad} 
     
    512519%&&    Standard rotated (bi-)laplacian operator 
    513520%&& ---------------------------------------------- 
     521%% ================================================================================================= 
    514522\subsubsection[Standard rotated (bi-)laplacian operator (\textit{traldf\_iso.F90})]{Standard rotated (bi-)laplacian operator (\protect\mdl{traldf\_iso})} 
    515523\label{subsec:TRA_ldf_iso} 
     
    555563%&&     Triad rotated (bi-)laplacian operator 
    556564%&&  ------------------------------------------- 
     565%% ================================================================================================= 
    557566\subsubsection[Triad rotated (bi-)laplacian operator (\forcode{ln_traldf_triad})]{Triad rotated (bi-)laplacian operator (\protect\np{ln_traldf_triad}{ln\_traldf\_triad})} 
    558567\label{subsec:TRA_ldf_triad} 
     
    573582%&&    Option for the rotated operators 
    574583%&& ---------------------------------------------- 
     584%% ================================================================================================= 
    575585\subsubsection{Option for the rotated operators} 
    576586\label{subsec:TRA_ldf_options} 
     
    584594\end{itemize} 
    585595 
     596%% ================================================================================================= 
    586597\section[Tracer vertical diffusion (\textit{trazdf.F90})]{Tracer vertical diffusion (\protect\mdl{trazdf})} 
    587598\label{sec:TRA_zdf} 
    588 %--------------------------------------------namzdf--------------------------------------------------------- 
    589  
    590 %-------------------------------------------------------------------------------------------------------------- 
     599 
    591600 
    592601Options are defined through the \nam{zdf}{zdf} namelist variables. 
     
    618627it overcomes the stability constraint. 
    619628 
     629%% ================================================================================================= 
    620630\section{External forcing} 
    621631\label{sec:TRA_sbc_qsr_bbc} 
    622632 
     633%% ================================================================================================= 
    623634\subsection[Surface boundary condition (\textit{trasbc.F90})]{Surface boundary condition (\protect\mdl{trasbc})} 
    624635\label{subsec:TRA_sbc} 
     
    686697This is the reason why the modified filter is not applied in the linear free surface case (see \autoref{chap:TD}). 
    687698 
     699%% ================================================================================================= 
    688700\subsection[Solar radiation penetration (\textit{traqsr.F90})]{Solar radiation penetration (\protect\mdl{traqsr})} 
    689701\label{subsec:TRA_qsr} 
    690 %--------------------------------------------namqsr-------------------------------------------------------- 
    691702 
    692703\begin{listing} 
     
    695706  \label{lst:namtra_qsr} 
    696707\end{listing} 
    697 %-------------------------------------------------------------------------------------------------------------- 
    698708 
    699709Options are defined through the \nam{tra_qsr}{tra\_qsr} namelist variables. 
     
    804814\end{figure} 
    805815 
     816%% ================================================================================================= 
    806817\subsection[Bottom boundary condition (\textit{trabbc.F90}) - \forcode{ln_trabbc})]{Bottom boundary condition (\protect\mdl{trabbc} - \protect\np{ln_trabbc}{ln\_trabbc})} 
    807818\label{subsec:TRA_bbc} 
    808 %--------------------------------------------nambbc-------------------------------------------------------- 
    809819 
    810820\begin{listing} 
     
    813823  \label{lst:nambbc} 
    814824\end{listing} 
    815 %-------------------------------------------------------------------------------------------------------------- 
    816825\begin{figure}[!t] 
    817826  \centering 
     
    839848the \ifile{geothermal\_heating} NetCDF file (\autoref{fig:TRA_geothermal}) \citep{emile-geay.madec_OS09}. 
    840849 
     850%% ================================================================================================= 
    841851\section[Bottom boundary layer (\textit{trabbl.F90} - \forcode{ln_trabbl})]{Bottom boundary layer (\protect\mdl{trabbl} - \protect\np{ln_trabbl}{ln\_trabbl})} 
    842852\label{sec:TRA_bbl} 
    843 %--------------------------------------------nambbl--------------------------------------------------------- 
    844853 
    845854\begin{listing} 
     
    848857  \label{lst:nambbl} 
    849858\end{listing} 
    850 %-------------------------------------------------------------------------------------------------------------- 
    851859 
    852860Options are defined through the \nam{bbl}{bbl} namelist variables. 
     
    872880\citet{campin.goosse_T99}. 
    873881 
     882%% ================================================================================================= 
    874883\subsection[Diffusive bottom boundary layer (\forcode{nn_bbl_ldf=1})]{Diffusive bottom boundary layer (\protect\np[=1]{nn_bbl_ldf}{nn\_bbl\_ldf})} 
    875884\label{subsec:TRA_bbl_diff} 
     
    908917$\overline H^\sigma$, the along bottom mean temperature, salinity and depth, respectively. 
    909918 
     919%% ================================================================================================= 
    910920\subsection[Advective bottom boundary layer (\forcode{nn_bbl_adv=1,2})]{Advective bottom boundary layer (\protect\np[=1,2]{nn_bbl_adv}{nn\_bbl\_adv})} 
    911921\label{subsec:TRA_bbl_adv} 
     
    9941004It has to be used to compute the effective velocity as well as the effective overturning circulation. 
    9951005 
     1006%% ================================================================================================= 
    9961007\section[Tracer damping (\textit{tradmp.F90})]{Tracer damping (\protect\mdl{tradmp})} 
    9971008\label{sec:TRA_dmp} 
    998 %--------------------------------------------namtra_dmp------------------------------------------------- 
    9991009 
    10001010\begin{listing} 
     
    10031013  \label{lst:namtra_dmp} 
    10041014\end{listing} 
    1005 %-------------------------------------------------------------------------------------------------------------- 
    10061015 
    10071016In some applications it can be useful to add a Newtonian damping term into the temperature and salinity equations: 
     
    10501059\path{./tools/DMP_TOOLS}. 
    10511060 
     1061%% ================================================================================================= 
    10521062\section[Tracer time evolution (\textit{tranxt.F90})]{Tracer time evolution (\protect\mdl{tranxt})} 
    10531063\label{sec:TRA_nxt} 
    1054 %--------------------------------------------namdom----------------------------------------------------- 
    1055 %-------------------------------------------------------------------------------------------------------------- 
    10561064 
    10571065Options are defined through the \nam{dom}{dom} namelist variables. 
     
    10821090$T^{t - \rdt} = T^t$ and $T^t = T_f$. 
    10831091 
     1092%% ================================================================================================= 
    10841093\section[Equation of state (\textit{eosbn2.F90})]{Equation of state (\protect\mdl{eosbn2})} 
    10851094\label{sec:TRA_eosbn2} 
    1086 %--------------------------------------------nameos----------------------------------------------------- 
    10871095 
    10881096\begin{listing} 
     
    10911099  \label{lst:nameos} 
    10921100\end{listing} 
    1093 %-------------------------------------------------------------------------------------------------------------- 
    1094  
     1101 
     1102%% ================================================================================================= 
    10951103\subsection[Equation of seawater (\forcode{ln_}\{\forcode{teos10,eos80,seos}\})]{Equation of seawater (\protect\np{ln_teos10}{ln\_teos10}, \protect\np{ln_teos80}{ln\_teos80}, or \protect\np{ln_seos}{ln\_seos})} 
    10961104\label{subsec:TRA_eos} 
     
    12121220\end{table} 
    12131221 
     1222%% ================================================================================================= 
    12141223\subsection[Brunt-V\"{a}is\"{a}l\"{a} frequency]{Brunt-V\"{a}is\"{a}l\"{a} frequency} 
    12151224\label{subsec:TRA_bn2} 
     
    12321241They are computed through \textit{eos\_rab}, a \fortran\ function that can be found in \mdl{eosbn2}. 
    12331242 
     1243%% ================================================================================================= 
    12341244\subsection{Freezing point of seawater} 
    12351245\label{subsec:TRA_fzp} 
     
    12511261a \fortran\ function that can be found in \mdl{eosbn2}. 
    12521262 
     1263%% ================================================================================================= 
    12531264%\subsection{Potential Energy anomalies} 
    12541265%\label{subsec:TRA_bn2} 
     
    12571268% 
    12581269 
     1270%% ================================================================================================= 
    12591271\section[Horizontal derivative in \textit{zps}-coordinate (\textit{zpshde.F90})]{Horizontal derivative in \textit{zps}-coordinate (\protect\mdl{zpshde})} 
    12601272\label{sec:TRA_zpshde} 
Note: See TracChangeset for help on using the changeset viewer.