Changeset 11543 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex
- Timestamp:
- 2019-09-13T15:57:52+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex
r11537 r11543 18 18 % ================================================================ 19 19 \section{Vertical mixing} 20 \label{sec:ZDF _zdf}20 \label{sec:ZDF} 21 21 22 22 The discrete form of the ocean subgrid scale physics has been presented in … … 41 41 %(namelist parameter \np{ln\_zdfexp}\forcode{=.true.}) or a backward time stepping scheme 42 42 %(\np{ln\_zdfexp}\forcode{=.false.}) depending on the magnitude of the mixing coefficients, 43 %and thus of the formulation used (see \autoref{chap: STP}).43 %and thus of the formulation used (see \autoref{chap:TD}). 44 44 45 45 %--------------------------------------------namzdf-------------------------------------------------------- … … 92 92 Following \citet{pacanowski.philander_JPO81}, the following formulation has been implemented: 93 93 \[ 94 % \label{eq: zdfric}94 % \label{eq:ZDF_ric} 95 95 \left\{ 96 96 \begin{aligned} … … 151 151 its destruction through stratification, its vertical diffusion, and its dissipation of \citet{kolmogorov_IANS42} type: 152 152 \begin{equation} 153 \label{eq: zdftke_e}153 \label{eq:ZDF_tke_e} 154 154 \frac{\partial \bar{e}}{\partial t} = 155 155 \frac{K_m}{{e_3}^2 }\;\left[ {\left( {\frac{\partial u}{\partial k}} \right)^2 … … 161 161 \end{equation} 162 162 \[ 163 % \label{eq: zdftke_kz}163 % \label{eq:ZDF_tke_kz} 164 164 \begin{split} 165 165 K_m &= C_k\ l_k\ \sqrt {\bar{e}\; } \\ … … 175 175 $P_{rt}$ can be set to unity or, following \citet{blanke.delecluse_JPO93}, be a function of the local Richardson number, $R_i$: 176 176 \begin{align*} 177 % \label{eq: prt}177 % \label{eq:ZDF_prt} 178 178 P_{rt} = 179 179 \begin{cases} … … 208 208 The first two are based on the following first order approximation \citep{blanke.delecluse_JPO93}: 209 209 \begin{equation} 210 \label{eq: tke_mxl0_1}210 \label{eq:ZDF_tke_mxl0_1} 211 211 l_k = l_\epsilon = \sqrt {2 \bar{e}\; } / N 212 212 \end{equation} … … 219 219 To overcome these drawbacks, \citet{madec.delecluse.ea_NPM98} introduces the \np{nn\_mxl}\forcode{=2, 3} cases, 220 220 which add an extra assumption concerning the vertical gradient of the computed length scale. 221 So, the length scales are first evaluated as in \autoref{eq: tke_mxl0_1} and then bounded such that:221 So, the length scales are first evaluated as in \autoref{eq:ZDF_tke_mxl0_1} and then bounded such that: 222 222 \begin{equation} 223 \label{eq: tke_mxl_constraint}223 \label{eq:ZDF_tke_mxl_constraint} 224 224 \frac{1}{e_3 }\left| {\frac{\partial l}{\partial k}} \right| \leq 1 225 225 \qquad \text{with }\ l = l_k = l_\epsilon 226 226 \end{equation} 227 \autoref{eq: tke_mxl_constraint} means that the vertical variations of the length scale cannot be larger than227 \autoref{eq:ZDF_tke_mxl_constraint} means that the vertical variations of the length scale cannot be larger than 228 228 the variations of depth. 229 229 It provides a better approximation of the \citet{gaspar.gregoris.ea_JGR90} formulation while being much less … … 231 231 In particular, it allows the length scale to be limited not only by the distance to the surface or 232 232 to the ocean bottom but also by the distance to a strongly stratified portion of the water column such as 233 the thermocline (\autoref{fig: mixing_length}).234 In order to impose the \autoref{eq: tke_mxl_constraint} constraint, we introduce two additional length scales:233 the thermocline (\autoref{fig:ZDF_mixing_length}). 234 In order to impose the \autoref{eq:ZDF_tke_mxl_constraint} constraint, we introduce two additional length scales: 235 235 $l_{up}$ and $l_{dwn}$, the upward and downward length scales, and 236 236 evaluate the dissipation and mixing length scales as … … 241 241 \includegraphics[width=\textwidth]{Fig_mixing_length} 242 242 \caption{ 243 \protect\label{fig: mixing_length}243 \protect\label{fig:ZDF_mixing_length} 244 244 Illustration of the mixing length computation. 245 245 } … … 248 248 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 249 249 \[ 250 % \label{eq: tke_mxl2}250 % \label{eq:ZDF_tke_mxl2} 251 251 \begin{aligned} 252 252 l_{up\ \ }^{(k)} &= \min \left( l^{(k)} \ , \ l_{up}^{(k+1)} + e_{3t}^{(k)}\ \ \ \; \right) … … 256 256 \end{aligned} 257 257 \] 258 where $l^{(k)}$ is computed using \autoref{eq: tke_mxl0_1}, \ie\ $l^{(k)} = \sqrt {2 {\bar e}^{(k)} / {N^2}^{(k)} }$.258 where $l^{(k)}$ is computed using \autoref{eq:ZDF_tke_mxl0_1}, \ie\ $l^{(k)} = \sqrt {2 {\bar e}^{(k)} / {N^2}^{(k)} }$. 259 259 260 260 In the \np{nn\_mxl}\forcode{=2} case, the dissipation and mixing length scales take the same value: … … 262 262 the dissipation and mixing turbulent length scales are give as in \citet{gaspar.gregoris.ea_JGR90}: 263 263 \[ 264 % \label{eq: tke_mxl_gaspar}264 % \label{eq:ZDF_tke_mxl_gaspar} 265 265 \begin{aligned} 266 266 & l_k = \sqrt{\ l_{up} \ \ l_{dwn}\ } \\ … … 325 325 The parameterization, tuned against large-eddy simulation, includes the whole effect of LC in 326 326 an extra source term of TKE, $P_{LC}$. 327 The presence of $P_{LC}$ in \autoref{eq: zdftke_e}, the TKE equation, is controlled by setting \np{ln\_lc} to327 The presence of $P_{LC}$ in \autoref{eq:ZDF_tke_e}, the TKE equation, is controlled by setting \np{ln\_lc} to 328 328 \forcode{.true.} in the \nam{zdf\_tke} namelist. 329 329 … … 428 428 $\psi$ \citep{umlauf.burchard_JMR03, umlauf.burchard_CSR05}. 429 429 This later variable is defined as: $\psi = {C_{0\mu}}^{p} \ {\bar{e}}^{m} \ l^{n}$, 430 where the triplet $(p, m, n)$ value given in Tab.\autoref{tab: GLS} allows to recover a number of430 where the triplet $(p, m, n)$ value given in Tab.\autoref{tab:ZDF_GLS} allows to recover a number of 431 431 well-known turbulent closures ($k$-$kl$ \citep{mellor.yamada_RG82}, $k$-$\epsilon$ \citep{rodi_JGR87}, 432 432 $k$-$\omega$ \citep{wilcox_AJ88} among others \citep{umlauf.burchard_JMR03,kantha.carniel_JMR03}). 433 433 The GLS scheme is given by the following set of equations: 434 434 \begin{equation} 435 \label{eq: zdfgls_e}435 \label{eq:ZDF_gls_e} 436 436 \frac{\partial \bar{e}}{\partial t} = 437 437 \frac{K_m}{\sigma_e e_3 }\;\left[ {\left( \frac{\partial u}{\partial k} \right)^2 … … 443 443 444 444 \[ 445 % \label{eq: zdfgls_psi}445 % \label{eq:ZDF_gls_psi} 446 446 \begin{split} 447 447 \frac{\partial \psi}{\partial t} =& \frac{\psi}{\bar{e}} \left\{ … … 455 455 456 456 \[ 457 % \label{eq: zdfgls_kz}457 % \label{eq:ZDF_gls_kz} 458 458 \begin{split} 459 459 K_m &= C_{\mu} \ \sqrt {\bar{e}} \ l \\ … … 463 463 464 464 \[ 465 % \label{eq: zdfgls_eps}465 % \label{eq:ZDF_gls_eps} 466 466 {\epsilon} = C_{0\mu} \,\frac{\bar {e}^{3/2}}{l} \; 467 467 \] … … 470 470 The constants $C_1$, $C_2$, $C_3$, ${\sigma_e}$, ${\sigma_{\psi}}$ and the wall function ($Fw$) depends of 471 471 the choice of the turbulence model. 472 Four different turbulent models are pre-defined (\autoref{tab: GLS}).472 Four different turbulent models are pre-defined (\autoref{tab:ZDF_GLS}). 473 473 They are made available through the \np{nn\_clo} namelist parameter. 474 474 … … 495 495 \end{tabular} 496 496 \caption{ 497 \protect\label{tab: GLS}497 \protect\label{tab:ZDF_GLS} 498 498 Set of predefined GLS parameters, or equivalently predefined turbulence models available with 499 499 \protect\np{ln\_zdfgls}\forcode{=.true.} and controlled by the \protect\np{nn\_clos} namelist variable in \protect\nam{zdf\_gls}. … … 559 559 \includegraphics[width=\textwidth]{Fig_ZDF_TKE_time_scheme} 560 560 \caption{ 561 \protect\label{fig: TKE_time_scheme}561 \protect\label{fig:ZDF_TKE_time_scheme} 562 562 Illustration of the subgrid kinetic energy integration in GLS and TKE schemes and its links to the momentum and tracer time integration. 563 563 } … … 567 567 568 568 The production of turbulence by vertical shear (the first term of the right hand side of 569 \autoref{eq: zdftke_e}) and \autoref{eq:zdfgls_e}) should balance the loss of kinetic energy associated with the vertical momentum diffusion570 (first line in \autoref{eq: PE_zdf}).569 \autoref{eq:ZDF_tke_e}) and \autoref{eq:ZDF_gls_e}) should balance the loss of kinetic energy associated with the vertical momentum diffusion 570 (first line in \autoref{eq:MB_zdf}). 571 571 To do so a special care has to be taken for both the time and space discretization of 572 572 the kinetic energy equation \citep{burchard_OM02,marsaleix.auclair.ea_OM08}. 573 573 574 Let us first address the time stepping issue. \autoref{fig: TKE_time_scheme} shows how574 Let us first address the time stepping issue. \autoref{fig:ZDF_TKE_time_scheme} shows how 575 575 the two-level Leap-Frog time stepping of the momentum and tracer equations interplays with 576 576 the one-level forward time stepping of the equation for $\bar{e}$. … … 579 579 summing the result vertically: 580 580 \begin{equation} 581 \label{eq: energ1}581 \label{eq:ZDF_energ1} 582 582 \begin{split} 583 583 \int_{-H}^{\eta} u^t \,\partial_z &\left( {K_m}^t \,(\partial_z u)^{t+\rdt} \right) \,dz \\ … … 587 587 \end{equation} 588 588 Here, the vertical diffusion of momentum is discretized backward in time with a coefficient, $K_m$, 589 known at time $t$ (\autoref{fig: TKE_time_scheme}), as it is required when using the TKE scheme590 (see \autoref{sec: STP_forward_imp}).591 The first term of the right hand side of \autoref{eq: energ1} represents the kinetic energy transfer at589 known at time $t$ (\autoref{fig:ZDF_TKE_time_scheme}), as it is required when using the TKE scheme 590 (see \autoref{sec:TD_forward_imp}). 591 The first term of the right hand side of \autoref{eq:ZDF_energ1} represents the kinetic energy transfer at 592 592 the surface (atmospheric forcing) and at the bottom (friction effect). 593 593 The second term is always negative. 594 594 It is the dissipation rate of kinetic energy, and thus minus the shear production rate of $\bar{e}$. 595 \autoref{eq: energ1} implies that, to be energetically consistent,595 \autoref{eq:ZDF_energ1} implies that, to be energetically consistent, 596 596 the production rate of $\bar{e}$ used to compute $(\bar{e})^t$ (and thus ${K_m}^t$) should be expressed as 597 597 ${K_m}^{t-\rdt}\,(\partial_z u)^{t-\rdt} \,(\partial_z u)^t$ … … 599 599 600 600 A similar consideration applies on the destruction rate of $\bar{e}$ due to stratification 601 (second term of the right hand side of \autoref{eq: zdftke_e} and \autoref{eq:zdfgls_e}).601 (second term of the right hand side of \autoref{eq:ZDF_tke_e} and \autoref{eq:ZDF_gls_e}). 602 602 This term must balance the input of potential energy resulting from vertical mixing. 603 603 The rate of change of potential energy (in 1D for the demonstration) due to vertical mixing is obtained by 604 604 multiplying the vertical density diffusion tendency by $g\,z$ and and summing the result vertically: 605 605 \begin{equation} 606 \label{eq: energ2}606 \label{eq:ZDF_energ2} 607 607 \begin{split} 608 608 \int_{-H}^{\eta} g\,z\,\partial_z &\left( {K_\rho}^t \,(\partial_k \rho)^{t+\rdt} \right) \,dz \\ … … 614 614 \end{equation} 615 615 where we use $N^2 = -g \,\partial_k \rho / (e_3 \rho)$. 616 The first term of the right hand side of \autoref{eq: energ2} is always zero because616 The first term of the right hand side of \autoref{eq:ZDF_energ2} is always zero because 617 617 there is no diffusive flux through the ocean surface and bottom). 618 618 The second term is minus the destruction rate of $\bar{e}$ due to stratification. 619 Therefore \autoref{eq: energ1} implies that, to be energetically consistent,620 the product ${K_\rho}^{t-\rdt}\,(N^2)^t$ should be used in \autoref{eq: zdftke_e} and \autoref{eq:zdfgls_e}.619 Therefore \autoref{eq:ZDF_energ1} implies that, to be energetically consistent, 620 the product ${K_\rho}^{t-\rdt}\,(N^2)^t$ should be used in \autoref{eq:ZDF_tke_e} and \autoref{eq:ZDF_gls_e}. 621 621 622 622 Let us now address the space discretization issue. 623 623 The vertical eddy coefficients are defined at $w$-point whereas the horizontal velocity components are in 624 the centre of the side faces of a $t$-box in staggered C-grid (\autoref{fig: cell}).624 the centre of the side faces of a $t$-box in staggered C-grid (\autoref{fig:DOM_cell}). 625 625 A space averaging is thus required to obtain the shear TKE production term. 626 By redoing the \autoref{eq: energ1} in the 3D case, it can be shown that the product of eddy coefficient by626 By redoing the \autoref{eq:ZDF_energ1} in the 3D case, it can be shown that the product of eddy coefficient by 627 627 the shear at $t$ and $t-\rdt$ must be performed prior to the averaging. 628 628 Furthermore, the time variation of $e_3$ has be taken into account. … … 630 630 The above energetic considerations leads to the following final discrete form for the TKE equation: 631 631 \begin{equation} 632 \label{eq: zdftke_ene}632 \label{eq:ZDF_tke_ene} 633 633 \begin{split} 634 634 \frac { (\bar{e})^t - (\bar{e})^{t-\rdt} } {\rdt} \equiv … … 647 647 \end{split} 648 648 \end{equation} 649 where the last two terms in \autoref{eq: zdftke_ene} (vertical diffusion and Kolmogorov dissipation)650 are time stepped using a backward scheme (see\autoref{sec: STP_forward_imp}).649 where the last two terms in \autoref{eq:ZDF_tke_ene} (vertical diffusion and Kolmogorov dissipation) 650 are time stepped using a backward scheme (see\autoref{sec:TD_forward_imp}). 651 651 Note that the Kolmogorov term has been linearized in time in order to render the implicit computation possible. 652 652 %The restart of the TKE scheme requires the storage of $\bar {e}$, $K_m$, $K_\rho$ and $l_\epsilon$ as 653 %they all appear in the right hand side of \autoref{eq: zdftke_ene}.653 %they all appear in the right hand side of \autoref{eq:ZDF_tke_ene}. 654 654 %For the latter, it is in fact the ratio $\sqrt{\bar{e}}/l_\epsilon$ which is stored. 655 655 … … 679 679 \includegraphics[width=\textwidth]{Fig_npc} 680 680 \caption{ 681 \protect\label{fig: npc}681 \protect\label{fig:ZDF_npc} 682 682 Example of an unstable density profile treated by the non penetrative convective adjustment algorithm. 683 683 $1^{st}$ step: the initial profile is checked from the surface to the bottom. … … 702 702 (\ie\ until the mixed portion of the water column has \textit{exactly} the density of the water just below) 703 703 \citep{madec.delecluse.ea_JPO91}. 704 The associated algorithm is an iterative process used in the following way (\autoref{fig: npc}):704 The associated algorithm is an iterative process used in the following way (\autoref{fig:ZDF_npc}): 705 705 starting from the top of the ocean, the first instability is found. 706 706 Assume in the following that the instability is located between levels $k$ and $k+1$. … … 759 759 Note that the stability test is performed on both \textit{before} and \textit{now} values of $N^2$. 760 760 This removes a potential source of divergence of odd and even time step in 761 a leapfrog environment \citep{leclair_phd10} (see \autoref{sec: STP_mLF}).761 a leapfrog environment \citep{leclair_phd10} (see \autoref{sec:TD_mLF}). 762 762 763 763 % ------------------------------------------------------------------------------------------------------------- … … 772 772 with statically unstable density profiles. 773 773 In such a case, the term corresponding to the destruction of turbulent kinetic energy through stratification in 774 \autoref{eq: zdftke_e} or \autoref{eq:zdfgls_e} becomes a source term, since $N^2$ is negative.774 \autoref{eq:ZDF_tke_e} or \autoref{eq:ZDF_gls_e} becomes a source term, since $N^2$ is negative. 775 775 It results in large values of $A_T^{vT}$ and $A_T^{vT}$, and also of the four neighboring values at 776 776 velocity points $A_u^{vm} {and}\;A_v^{vm}$ (up to $1\;m^2s^{-1}$). … … 814 814 Diapycnal mixing of S and T are described by diapycnal diffusion coefficients 815 815 \begin{align*} 816 % \label{eq: zdfddm_Kz}816 % \label{eq:ZDF_ddm_Kz} 817 817 &A^{vT} = A_o^{vT}+A_f^{vT}+A_d^{vT} \\ 818 818 &A^{vS} = A_o^{vS}+A_f^{vS}+A_d^{vS} … … 826 826 (1981): 827 827 \begin{align} 828 \label{eq: zdfddm_f}828 \label{eq:ZDF_ddm_f} 829 829 A_f^{vS} &= 830 830 \begin{cases} … … 832 832 0 &\text{otherwise} 833 833 \end{cases} 834 \\ \label{eq: zdfddm_f_T}834 \\ \label{eq:ZDF_ddm_f_T} 835 835 A_f^{vT} &= 0.7 \ A_f^{vS} / R_\rho 836 836 \end{align} … … 841 841 \includegraphics[width=\textwidth]{Fig_zdfddm} 842 842 \caption{ 843 \protect\label{fig: zdfddm}843 \protect\label{fig:ZDF_ddm} 844 844 From \citet{merryfield.holloway.ea_JPO99} : 845 845 (a) Diapycnal diffusivities $A_f^{vT}$ and $A_f^{vS}$ for temperature and salt in regions of salt fingering. … … 854 854 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 855 855 856 The factor 0.7 in \autoref{eq: zdfddm_f_T} reflects the measured ratio $\alpha F_T /\beta F_S \approx 0.7$ of856 The factor 0.7 in \autoref{eq:ZDF_ddm_f_T} reflects the measured ratio $\alpha F_T /\beta F_S \approx 0.7$ of 857 857 buoyancy flux of heat to buoyancy flux of salt (\eg, \citet{mcdougall.taylor_JMR84}). 858 858 Following \citet{merryfield.holloway.ea_JPO99}, we adopt $R_c = 1.6$, $n = 6$, and $A^{\ast v} = 10^{-4}~m^2.s^{-1}$. … … 861 861 Federov (1988) is used: 862 862 \begin{align} 863 % \label{eq: zdfddm_d}863 % \label{eq:ZDF_ddm_d} 864 864 A_d^{vT} &= 865 865 \begin{cases} … … 869 869 \end{cases} 870 870 \nonumber \\ 871 \label{eq: zdfddm_d_S}871 \label{eq:ZDF_ddm_d_S} 872 872 A_d^{vS} &= 873 873 \begin{cases} … … 878 878 \end{align} 879 879 880 The dependencies of \autoref{eq: zdfddm_f} to \autoref{eq:zdfddm_d_S} on $R_\rho$ are illustrated in881 \autoref{fig: zdfddm}.880 The dependencies of \autoref{eq:ZDF_ddm_f} to \autoref{eq:ZDF_ddm_d_S} on $R_\rho$ are illustrated in 881 \autoref{fig:ZDF_ddm}. 882 882 Implementing this requires computing $R_\rho$ at each grid point on every time step. 883 883 This is done in \mdl{eosbn2} at the same time as $N^2$ is computed. … … 891 891 \label{sec:ZDF_drg} 892 892 893 %--------------------------------------------nam bfr--------------------------------------------------------893 %--------------------------------------------namdrg-------------------------------------------------------- 894 894 % 895 895 \nlst{namdrg} … … 910 910 For the bottom boundary layer, one has: 911 911 \[ 912 % \label{eq: zdfbfr_flux}912 % \label{eq:ZDF_bfr_flux} 913 913 A^{vm} \left( \partial {\textbf U}_h / \partial z \right) = {{\cal F}}_h^{\textbf U} 914 914 \] … … 926 926 To illustrate this, consider the equation for $u$ at $k$, the last ocean level: 927 927 \begin{equation} 928 \label{eq: zdfdrg_flux2}928 \label{eq:ZDF_drg_flux2} 929 929 \frac{\partial u_k}{\partial t} = \frac{1}{e_{3u}} \left[ \frac{A_{uw}^{vm}}{e_{3uw}} \delta_{k+1/2}\;[u] - {\cal F}^u_h \right] \approx - \frac{{\cal F}^u_{h}}{e_{3u}} 930 930 \end{equation} … … 946 946 These coefficients are computed in \mdl{zdfdrg} and generally take the form $c_b^{\textbf U}$ where: 947 947 \begin{equation} 948 \label{eq: zdfbfr_bdef}948 \label{eq:ZDF_bfr_bdef} 949 949 \frac{\partial {\textbf U_h}}{\partial t} = 950 950 - \frac{{\cal F}^{\textbf U}_{h}}{e_{3u}} = \frac{c_b^{\textbf U}}{e_{3u}} \;{\textbf U}_h^b … … 963 963 the friction is proportional to the interior velocity (\ie\ the velocity of the first/last model level): 964 964 \[ 965 % \label{eq: zdfbfr_linear}965 % \label{eq:ZDF_bfr_linear} 966 966 {\cal F}_h^\textbf{U} = \frac{A^{vm}}{e_3} \; \frac{\partial \textbf{U}_h}{\partial k} = r \; \textbf{U}_h^b 967 967 \] … … 978 978 It can be changed by specifying \np{rn\_Uc0} (namelist parameter). 979 979 980 For the linear friction case the drag coefficient used in the general expression \autoref{eq: zdfbfr_bdef} is:981 \[ 982 % \label{eq: zdfbfr_linbfr_b}980 For the linear friction case the drag coefficient used in the general expression \autoref{eq:ZDF_bfr_bdef} is: 981 \[ 982 % \label{eq:ZDF_bfr_linbfr_b} 983 983 c_b^T = - r 984 984 \] … … 1002 1002 The non-linear bottom friction parameterisation assumes that the top/bottom friction is quadratic: 1003 1003 \[ 1004 % \label{eq: zdfdrg_nonlinear}1004 % \label{eq:ZDF_drg_nonlinear} 1005 1005 {\cal F}_h^\textbf{U} = \frac{A^{vm}}{e_3 }\frac{\partial \textbf {U}_h 1006 1006 }{\partial k}=C_D \;\sqrt {u_b ^2+v_b ^2+e_b } \;\; \textbf {U}_h^b … … 1018 1018 For the non-linear friction case the term computed in \mdl{zdfdrg} is: 1019 1019 \[ 1020 % \label{eq: zdfdrg_nonlinbfr}1020 % \label{eq:ZDF_drg_nonlinbfr} 1021 1021 c_b^T = - \; C_D\;\left[ \left(\bar{u_b}^{i}\right)^2 + \left(\bar{v_b}^{j}\right)^2 + e_b \right]^{1/2} 1022 1022 \] … … 1077 1077 1078 1078 Since this is conditionally stable, some care needs to exercised over the choice of parameters to ensure that the implementation of explicit top/bottom friction does not induce numerical instability. 1079 For the purposes of stability analysis, an approximation to \autoref{eq: zdfdrg_flux2} is:1079 For the purposes of stability analysis, an approximation to \autoref{eq:ZDF_drg_flux2} is: 1080 1080 \begin{equation} 1081 \label{eq: Eqn_drgstab}1081 \label{eq:ZDF_Eqn_drgstab} 1082 1082 \begin{split} 1083 1083 \Delta u &= -\frac{{{\cal F}_h}^u}{e_{3u}}\;2 \rdt \\ … … 1090 1090 |\Delta u| < \;|u| 1091 1091 \] 1092 \noindent which, using \autoref{eq: Eqn_drgstab}, gives:1092 \noindent which, using \autoref{eq:ZDF_Eqn_drgstab}, gives: 1093 1093 \[ 1094 1094 r\frac{2\rdt}{e_{3u}} < 1 \qquad \Rightarrow \qquad r < \frac{e_{3u}}{2\rdt}\\ … … 1133 1133 At the top (below an ice shelf cavity): 1134 1134 \[ 1135 % \label{eq: dynzdf_drg_top}1135 % \label{eq:ZDF_dynZDF__drg_top} 1136 1136 \left.{\left( {\frac{A^{vm} }{e_3 }\ \frac{\partial \textbf{U}_h}{\partial k}} \right)} \right|_{t} 1137 1137 = c_{t}^{\textbf{U}}\textbf{u}^{n+1}_{t} … … 1140 1140 At the bottom (above the sea floor): 1141 1141 \[ 1142 % \label{eq: dynzdf_drg_bot}1142 % \label{eq:ZDF_dynZDF__drg_bot} 1143 1143 \left.{\left( {\frac{A^{vm} }{e_3 }\ \frac{\partial \textbf{U}_h}{\partial k}} \right)} \right|_{b} 1144 1144 = c_{b}^{\textbf{U}}\textbf{u}^{n+1}_{b} … … 1183 1183 and the resulting diffusivity is obtained as 1184 1184 \[ 1185 % \label{eq: Kwave}1185 % \label{eq:ZDF_Kwave} 1186 1186 A^{vT}_{wave} = R_f \,\frac{ \epsilon }{ \rho \, N^2 } 1187 1187 \] … … 1242 1242 1243 1243 \begin{equation} 1244 \label{eq: Bv}1244 \label{eq:ZDF_Bv} 1245 1245 B_{v} = \alpha {A} {U}_{st} {exp(3kz)} 1246 1246 \end{equation} … … 1276 1276 criteria for a range of advection schemes. The values for the Leap-Frog with Robert 1277 1277 asselin filter time-stepping (as used in NEMO) are reproduced in 1278 \autoref{tab: zad_Aimp_CFLcrit}. Treating the vertical advection implicitly can avoid these1278 \autoref{tab:ZDF_zad_Aimp_CFLcrit}. Treating the vertical advection implicitly can avoid these 1279 1279 restrictions but at the cost of large dispersive errors and, possibly, large numerical 1280 1280 viscosity. The adaptive-implicit vertical advection option provides a targetted use of the … … 1296 1296 \end{tabular} 1297 1297 \caption{ 1298 \protect\label{tab: zad_Aimp_CFLcrit}1298 \protect\label{tab:ZDF_zad_Aimp_CFLcrit} 1299 1299 The advective CFL criteria for a range of spatial discretizations for the Leap-Frog with Robert Asselin filter time-stepping 1300 1300 ($\nu=0.1$) as given in \citep{lemarie.debreu.ea_OM15}. … … 1313 1313 1314 1314 \begin{equation} 1315 \label{eq: Eqn_zad_Aimp_Courant}1315 \label{eq:ZDF_Eqn_zad_Aimp_Courant} 1316 1316 \begin{split} 1317 1317 Cu &= {2 \rdt \over e^n_{3t_{ijk}}} \bigg (\big [ \texttt{Max}(w^n_{ijk},0.0) - \texttt{Min}(w^n_{ijk+1},0.0) \big ] \\ … … 1326 1326 1327 1327 \begin{align} 1328 \label{eq: Eqn_zad_Aimp_partition}1328 \label{eq:ZDF_Eqn_zad_Aimp_partition} 1329 1329 Cu_{min} &= 0.15 \nonumber \\ 1330 1330 Cu_{max} &= 0.3 \nonumber \\ … … 1343 1343 \includegraphics[width=\textwidth]{Fig_ZDF_zad_Aimp_coeff} 1344 1344 \caption{ 1345 \protect\label{fig: zad_Aimp_coeff}1345 \protect\label{fig:ZDF_zad_Aimp_coeff} 1346 1346 The value of the partitioning coefficient ($C\kern-0.14em f$) used to partition vertical velocities into parts to 1347 1347 be treated implicitly and explicitly for a range of typical Courant numbers (\forcode{ln_zad_Aimp=.true.}) … … 1355 1355 1356 1356 \begin{align} 1357 \label{eq: Eqn_zad_Aimp_partition2}1357 \label{eq:ZDF_Eqn_zad_Aimp_partition2} 1358 1358 w_{i_{ijk}} &= C\kern-0.14em f_{ijk} w_{n_{ijk}} \nonumber \\ 1359 w_{n_{ijk}} &= (1-C\kern-0.14em f_{ijk}) w_{n_{ijk}} 1359 w_{n_{ijk}} &= (1-C\kern-0.14em f_{ijk}) w_{n_{ijk}} 1360 1360 \end{align} 1361 1361 1362 1362 \noindent Note that the coefficient is such that the treatment is never fully implicit; 1363 the three cases from \autoref{eq: Eqn_zad_Aimp_partition} can be considered as:1363 the three cases from \autoref{eq:ZDF_Eqn_zad_Aimp_partition} can be considered as: 1364 1364 fully-explicit; mixed explicit/implicit and mostly-implicit. With the settings shown the 1365 coefficient ($C\kern-0.14em f$) varies as shown in \autoref{fig: zad_Aimp_coeff}. Note with these values1365 coefficient ($C\kern-0.14em f$) varies as shown in \autoref{fig:ZDF_zad_Aimp_coeff}. Note with these values 1366 1366 the $Cu_{cut}$ boundary between the mixed implicit-explicit treatment and 'mostly 1367 1367 implicit' is 0.45 which is just below the stability limited given in 1368 \autoref{tab: zad_Aimp_CFLcrit} for a 3rd order scheme.1368 \autoref{tab:ZDF_zad_Aimp_CFLcrit} for a 3rd order scheme. 1369 1369 1370 1370 The $w_i$ component is added to the implicit solvers for the vertical mixing in … … 1376 1376 vertical fluxes are then removed since they are added by the implicit solver later on. 1377 1377 1378 The adaptive-implicit vertical advection option is new to NEMO at v4.0 and has yet to be 1378 The adaptive-implicit vertical advection option is new to NEMO at v4.0 and has yet to be 1379 1379 used in a wide range of simulations. The following test simulation, however, does illustrate 1380 1380 the potential benefits and will hopefully encourage further testing and feedback from users: … … 1384 1384 \includegraphics[width=\textwidth]{Fig_ZDF_zad_Aimp_overflow_frames} 1385 1385 \caption{ 1386 \protect\label{fig: zad_Aimp_overflow_frames}1386 \protect\label{fig:ZDF_zad_Aimp_overflow_frames} 1387 1387 A time-series of temperature vertical cross-sections for the OVERFLOW test case. These results are for the default 1388 1388 settings with \forcode{nn_rdt=10.0} and without adaptive implicit vertical advection (\forcode{ln_zad_Aimp=.false.}). … … 1408 1408 \noindent which were chosen to provide a slightly more stable and less noisy solution. The 1409 1409 result when using the default value of \forcode{nn_rdt=10.} without adaptive-implicit 1410 vertical velocity is illustrated in \autoref{fig: zad_Aimp_overflow_frames}. The mass of1410 vertical velocity is illustrated in \autoref{fig:ZDF_zad_Aimp_overflow_frames}. The mass of 1411 1411 cold water, initially sitting on the shelf, moves down the slope and forms a 1412 1412 bottom-trapped, dense plume. Even with these extra physics choices the model is close to … … 1418 1418 1419 1419 The results with \forcode{ln_zad_Aimp=.true.} and a variety of model timesteps 1420 are shown in \autoref{fig: zad_Aimp_overflow_all_rdt} (together with the equivalent1420 are shown in \autoref{fig:ZDF_zad_Aimp_overflow_all_rdt} (together with the equivalent 1421 1421 frames from the base run). In this simple example the use of the adaptive-implicit 1422 1422 vertcal advection scheme has enabled a 12x increase in the model timestep without … … 1434 1434 \autoref{sec:MISC_opt} for activation details). 1435 1435 1436 \autoref{fig: zad_Aimp_maxCf} shows examples of the maximum partitioning coefficient for1436 \autoref{fig:ZDF_zad_Aimp_maxCf} shows examples of the maximum partitioning coefficient for 1437 1437 the various overflow tests. Note that the adaptive-implicit vertical advection scheme is 1438 1438 active even in the base run with \forcode{nn_rdt=10.0s} adding to the evidence that the … … 1441 1441 oscillatory nature of this measure appears to be linked to the progress of the plume front 1442 1442 as each cusp is associated with the location of the maximum shifting to the adjacent cell. 1443 This is illustrated in \autoref{fig: zad_Aimp_maxCf_loc} where the i- and k- locations of the1443 This is illustrated in \autoref{fig:ZDF_zad_Aimp_maxCf_loc} where the i- and k- locations of the 1444 1444 maximum have been overlaid for the base run case. 1445 1445 … … 1463 1463 \includegraphics[width=\textwidth]{Fig_ZDF_zad_Aimp_overflow_all_rdt} 1464 1464 \caption{ 1465 \protect\label{fig: zad_Aimp_overflow_all_rdt}1466 Sample temperature vertical cross-sections from mid- and end-run using different values for \forcode{nn_rdt} 1465 \protect\label{fig:ZDF_zad_Aimp_overflow_all_rdt} 1466 Sample temperature vertical cross-sections from mid- and end-run using different values for \forcode{nn_rdt} 1467 1467 and with or without adaptive implicit vertical advection. Without the adaptive implicit vertical advection only 1468 1468 the run with the shortest timestep is able to run to completion. Note also that the colour-scale has been … … 1476 1476 \includegraphics[width=\textwidth]{Fig_ZDF_zad_Aimp_maxCf} 1477 1477 \caption{ 1478 \protect\label{fig: zad_Aimp_maxCf}1478 \protect\label{fig:ZDF_zad_Aimp_maxCf} 1479 1479 The maximum partitioning coefficient during a series of test runs with increasing model timestep length. 1480 At the larger timesteps, the vertical velocity is treated mostly implicitly at some location throughout 1480 At the larger timesteps, the vertical velocity is treated mostly implicitly at some location throughout 1481 1481 the run. 1482 1482 } … … 1488 1488 \includegraphics[width=\textwidth]{Fig_ZDF_zad_Aimp_maxCf_loc} 1489 1489 \caption{ 1490 \protect\label{fig: zad_Aimp_maxCf_loc}1490 \protect\label{fig:ZDF_zad_Aimp_maxCf_loc} 1491 1491 The maximum partitioning coefficient for the \forcode{nn_rdt=10.0s} case overlaid with information on the gridcell i- and k- 1492 locations of the maximum value. 1492 locations of the maximum value. 1493 1493 } 1494 1494 \end{center}
Note: See TracChangeset
for help on using the changeset viewer.