Changeset 6289 for trunk/DOC/TexFiles/Chapters/Chap_TRA.tex
- Timestamp:
- 2016-02-05T00:47:05+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/TexFiles/Chapters/Chap_TRA.tex
r6140 r6289 36 36 (BBL) parametrisation, and an internal damping (DMP) term. The terms QSR, 37 37 BBC, BBL and DMP are optional. The external forcings and parameterisations 38 require complex inputs and complex calculations ( e.g.bulk formulae, estimation38 require complex inputs and complex calculations ($e.g.$ bulk formulae, estimation 39 39 of mixing coefficients) that are carried out in the SBC, LDF and ZDF modules and 40 40 described in chapters \S\ref{SBC}, \S\ref{LDF} and \S\ref{ZDF}, respectively. 41 Note that \mdl{tranpc}, the non-penetrative convection module, 41 Note that \mdl{tranpc}, the non-penetrative convection module, although 42 42 located in the NEMO/OPA/TRA directory as it directly modifies the tracer fields, 43 43 is described with the model vertical physics (ZDF) together with other available … … 45 45 46 46 In the present chapter we also describe the diagnostic equations used to compute 47 the sea-water properties (density, Brunt-V ais\"{a}l\"{a} frequency, specific heat and47 the sea-water properties (density, Brunt-V\"{a}is\"{a}l\"{a} frequency, specific heat and 48 48 freezing point with associated modules \mdl{eosbn2} and \mdl{phycst}). 49 49 … … 54 54 found in the \textit{traTTT} or \textit{traTTT\_xxx} module, in the NEMO/OPA/TRA directory. 55 55 56 The user has the option of extracting each tendency term on the rhsof the tracer57 equation for output (\np{ln\_tra\_trd} or \np{ln\_tra\_mxl}~=~true), as described in Chap.~\ref{ MISC}.56 The user has the option of extracting each tendency term on the RHS of the tracer 57 equation for output (\np{ln\_tra\_trd} or \np{ln\_tra\_mxl}~=~true), as described in Chap.~\ref{DIA}. 58 58 59 59 $\ $\newline % force a new ligne … … 68 68 %------------------------------------------------------------------------------------------------------------- 69 69 70 The advection tendency of a tracer in flux form is the divergence of the advective 71 fluxes. Its discrete expression is given by : 70 When considered ($i.e.$ when \np{ln\_traadv\_NONE} is not set to \textit{true}), 71 the advection tendency of a tracer is expressed in flux form, 72 $i.e.$ as the divergence of the advective fluxes. Its discrete expression is given by : 72 73 \begin{equation} \label{Eq_tra_adv} 73 74 ADV_\tau =-\frac{1}{b_t} \left( … … 171 172 % 2nd and 4th order centred schemes 172 173 % ------------------------------------------------------------------------------------------------------------- 173 \subsection [ centred schemes (CEN) (\np{ln\_traadv\_cen})]174 { centred schemes (CEN) (\np{ln\_traadv\_cen}=true)}174 \subsection [Centred schemes (CEN) (\np{ln\_traadv\_cen})] 175 {Centred schemes (CEN) (\np{ln\_traadv\_cen}=true)} 175 176 \label{TRA_adv_cen} 176 177 … … 278 279 but on the latter, a split-explicit time stepping is used, with a number of sub-timestep equals 279 280 to \np{nn\_fct\_zts}. This option can be useful when the size of the timestep is limited 280 by vertical advection \citep{Lemarie_OM2015 )}. Note that in this case, a similar split-explicit281 by vertical advection \citep{Lemarie_OM2015}. Note that in this case, a similar split-explicit 281 282 time stepping should be used on vertical advection of momentum to insure a better stability 282 283 (see \S\ref{DYN_zad}). … … 405 406 Estimated Streaming Terms (QUICKEST) scheme proposed by \citet{Leonard1979} 406 407 is used when \np{ln\_traadv\_qck}~=~\textit{true}. 407 QUICKEST implementation can be found in the \mdl{traadv\_ mus} module.408 QUICKEST implementation can be found in the \mdl{traadv\_qck} module. 408 409 409 410 QUICKEST is the third order Godunov scheme which is associated with the ULTIMATE QUICKEST … … 415 416 direction where the control of artificial diapycnal fluxes is of paramount importance. 416 417 Therefore the vertical flux is evaluated using the CEN2 scheme. 417 This no longer guarantees the positivity of the scheme. The use of TVD in the vertical 418 direction (as for the UBS case) should be implemented to restore this property. 418 This no longer guarantees the positivity of the scheme. 419 The use of FCT in the vertical direction (as for the UBS case) should be implemented 420 to restore this property. 419 421 420 422 %%%gmcomment : Cross term are missing in the current implementation.... … … 431 433 %------------------------------------------------------------------------------------------------------------- 432 434 433 Options are defined through the \ngn{namtra\_ldf} namelist variables. 434 The options available for lateral diffusion are a laplacian (rotated or not) 435 or a biharmonic operator, the latter being more scale-selective (more 436 diffusive at small scales). The specification of eddy diffusivity 437 coefficients (either constant or variable in space and time) as well as the 438 computation of the slope along which the operators act, are performed in the 439 \mdl{ldftra} and \mdl{ldfslp} modules, respectively. This is described in Chap.~\ref{LDF}. 435 Options are defined through the \ngn{namtra\_ldf} namelist variables. 436 They are regrouped in four items, allowing to specify 437 $(i)$ the type of operator used (none, laplacian, bilaplacian), 438 $(ii)$ the direction along which the operator acts (iso-level, horizontal, iso-neutral), 439 $(iii)$ some specific options related to the rotated operators ($i.e.$ non-iso-level operator), and 440 $(iv)$ the specification of eddy diffusivity coefficient (either constant or variable in space and time). 441 Item $(iv)$ will be described in Chap.\ref{LDF} . 442 The direction along which the operators act is defined through the slope between this direction and the iso-level surfaces. 443 The slope is computed in the \mdl{ldfslp} module and will also be described in Chap.~\ref{LDF}. 444 440 445 The lateral diffusion of tracers is evaluated using a forward scheme, 441 446 $i.e.$ the tracers appearing in its expression are the \textit{before} tracers in time, 442 except for the pure vertical component that appears when a rotation tensor 443 is used. This latter term is solved implicitly together with the 444 vertical diffusion term (see \S\ref{STP}). 445 446 % ------------------------------------------------------------------------------------------------------------- 447 % Iso-level laplacian operator 448 % ------------------------------------------------------------------------------------------------------------- 449 \subsection [Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap})] 450 {Iso-level laplacian operator (lap) (\np{ln\_traldf\_lap}=true) } 451 \label{TRA_ldf_lap} 452 453 A laplacian diffusion operator ($i.e.$ a harmonic operator) acting along the model 454 surfaces is given by: 447 except for the pure vertical component that appears when a rotation tensor is used. 448 This latter component is solved implicitly together with the vertical diffusion term (see \S\ref{STP}). 449 When \np{ln\_traldf\_msc}~=~\textit{true}, a Method of Stabilizing Correction is used in which 450 the pure vertical component is split into an explicit and an implicit part \citep{Lemarie_OM2012}. 451 452 % ------------------------------------------------------------------------------------------------------------- 453 % Type of operator 454 % ------------------------------------------------------------------------------------------------------------- 455 \subsection [Type of operator (\np{ln\_traldf\_NONE}, \np{ln\_traldf\_lap}, \np{ln\_traldf\_blp})] 456 {Type of operator (\np{ln\_traldf\_NONE}, \np{ln\_traldf\_lap}, or \np{ln\_traldf\_blp} = true) } 457 \label{TRA_ldf_op} 458 459 Three operator options are proposed and, one and only one of them must be selected: 460 \begin{description} 461 \item [\np{ln\_traldf\_NONE}] = true : no operator selected, the lateral diffusive tendency will not be 462 applied to the tracer equation. This option can be used when the selected advection scheme 463 is diffusive enough (MUSCL scheme for example). 464 \item [ \np{ln\_traldf\_lap}] = true : a laplacian operator is selected. This harmonic operator 465 takes the following expression: $\mathpzc{L}(T)=\nabla \cdot A_{ht}\;\nabla T $, 466 where the gradient operates along the selected direction (see \S\ref{TRA_ldf_dir}), 467 and $A_{ht}$ is the eddy diffusivity coefficient expressed in $m^2/s$ (see Chap.~\ref{LDF}). 468 \item [\np{ln\_traldf\_blp}] = true : a bilaplacian operator is selected. This biharmonic operator 469 takes the following expression: 470 $\mathpzc{B}=- \mathpzc{L}\left(\mathpzc{L}(T) \right) = -\nabla \cdot b\nabla \left( {\nabla \cdot b\nabla T} \right)$ 471 where the gradient operats along the selected direction, 472 and $b^2=B_{ht}$ is the eddy diffusivity coefficient expressed in $m^4/s$ (see Chap.~\ref{LDF}). 473 In the code, the bilaplacian operator is obtained by calling the laplacian twice. 474 \end{description} 475 476 Both laplacian and bilaplacian operators ensure the total tracer variance decrease. 477 Their primary role is to provide strong dissipation at the smallest scale supported 478 by the grid while minimizing the impact on the larger scale features. 479 The main difference between the two operators is the scale selectiveness. 480 The bilaplacian damping time ($i.e.$ its spin down time) scales like $\lambda^{-4}$ 481 for disturbances of wavelength $\lambda$ (so that short waves damped more rapidelly than long ones), 482 whereas the laplacian damping time scales only like $\lambda^{-2}$. 483 484 485 % ------------------------------------------------------------------------------------------------------------- 486 % Direction of action 487 % ------------------------------------------------------------------------------------------------------------- 488 \subsection [Direction of action (\np{ln\_traldf\_lev}, \np{ln\_traldf\_hor}, \np{ln\_traldf\_iso}, \np{ln\_traldf\_triad})] 489 {Direction of action (\np{ln\_traldf\_lev}, \textit{...\_hor}, \textit{...\_iso}, or \textit{...\_triad} = true) } 490 \label{TRA_ldf_dir} 491 492 The choice of a direction of action determines the form of operator used. 493 The operator is a simple (re-entrant) laplacian acting in the (\textbf{i},\textbf{j}) plane 494 when iso-level option is used (\np{ln\_traldf\_lev}~=~\textit{true}) 495 or when a horizontal ($i.e.$ geopotential) operator is demanded in \textit{z}-coordinate 496 (\np{ln\_traldf\_hor} and \np{ln\_zco} equal \textit{true}). 497 The associated code can be found in the \mdl{traldf\_lap\_blp} module. 498 The operator is a rotated (re-entrant) laplacian when the direction along which it acts 499 does not coincide with the iso-level surfaces, 500 that is when standard or triad iso-neutral option is used (\np{ln\_traldf\_iso} or 501 \np{ln\_traldf\_triad} equals \textit{true}, see \mdl{traldf\_iso} or \mdl{traldf\_triad} module, resp.), 502 or when a horizontal ($i.e.$ geopotential) operator is demanded in \textit{s}-coordinate 503 (\np{ln\_traldf\_hor} and \np{ln\_sco} equal \textit{true}) 504 \footnote{In this case, the standard iso-neutral operator will be automatically selected}. 505 In that case, a rotation is applied to the gradient(s) that appears in the operator 506 so that diffusive fluxes acts on the three spatial direction. 507 508 The resulting discret form of the three operators (one iso-level and two rotated one) 509 is given in the next two sub-sections. 510 511 512 % ------------------------------------------------------------------------------------------------------------- 513 % iso-level operator 514 % ------------------------------------------------------------------------------------------------------------- 515 \subsection [Iso-level (bi-)laplacian operator ( \np{ln\_traldf\_iso})] 516 {Iso-level (bi-)laplacian operator ( \np{ln\_traldf\_iso}) } 517 \label{TRA_ldf_lev} 518 519 The laplacian diffusion operator acting along the model (\textit{i,j})-surfaces is given by: 455 520 \begin{equation} \label{Eq_tra_ldf_lap} 456 D_ T^{lT} =\frac{1}{b_tT} \left( \;521 D_t^{lT} =\frac{1}{b_t} \left( \; 457 522 \delta _{i}\left[ A_u^{lT} \; \frac{e_{2u}\,e_{3u}}{e_{1u}} \;\delta _{i+1/2} [T] \right] 458 523 + \delta _{j}\left[ A_v^{lT} \; \frac{e_{1v}\,e_{3v}}{e_{2v}} \;\delta _{j+1/2} [T] \right] \;\right) 459 524 \end{equation} 460 where $b_t$=$e_{1t}\,e_{2t}\,e_{3t}$ is the volume of $T$-cells. 461 It is implemented in the \mdl{traadv\_lap} module. 462 463 This lateral operator is computed in \mdl{traldf\_lap}. It is a \emph{horizontal} 464 operator ($i.e.$ acting along geopotential surfaces) in the $z$-coordinate with 465 or without partial steps, but is simply an iso-level operator in the $s$-coordinate. 466 It is thus used when, in addition to \np{ln\_traldf\_lap}=true, we have 467 \np{ln\_traldf\_level}=true or \np{ln\_traldf\_hor}=\np{ln\_zco}=true. 525 where $b_t$=$e_{1t}\,e_{2t}\,e_{3t}$ is the volume of $T$-cells 526 and where zero diffusive fluxes is assumed across solid boundaries, 527 first (and third in bilaplacian case) horizontal tracer derivative are masked. 528 It is implemented in the \rou{traldf\_lap} subroutine found in the \mdl{traldf\_lap} module. 529 The module also contains \rou{traldf\_blp}, the subroutine calling twice \rou{traldf\_lap} 530 in order to compute the iso-level bilaplacian operator. 531 532 It is a \emph{horizontal} operator ($i.e.$ acting along geopotential surfaces) in the $z$-coordinate 533 with or without partial steps, but is simply an iso-level operator in the $s$-coordinate. 534 It is thus used when, in addition to \np{ln\_traldf\_lap} or \np{ln\_traldf\_blp}~=~\textit{true}, 535 we have \np{ln\_traldf\_lev}~=~\textit{true} or \np{ln\_traldf\_hor}~=~\np{ln\_zco}~=~\textit{true}. 468 536 In both cases, it significantly contributes to diapycnal mixing. 469 It is therefore n ot recommended.537 It is therefore never recommended, even when using it in the bilaplacian case. 470 538 471 539 Note that in the partial step $z$-coordinate (\np{ln\_zps}=true), tracers in horizontally … … 475 543 described in \S\ref{TRA_zpshde}. 476 544 477 % ------------------------------------------------------------------------------------------------------------- 478 % Rotated laplacian operator 479 % ------------------------------------------------------------------------------------------------------------- 480 \subsection [Rotated laplacian operator (iso) (\np{ln\_traldf\_lap})] 481 {Rotated laplacian operator (iso) (\np{ln\_traldf\_lap}=true)} 545 546 % ------------------------------------------------------------------------------------------------------------- 547 % Rotated laplacian operator 548 % ------------------------------------------------------------------------------------------------------------- 549 \subsection [Standard and triad rotated (bi-)laplacian operator (\mdl{traldf\_iso}, \mdl{traldf\_triad})] 550 {Standard and triad (bi-)laplacian operator (\mdl{traldf\_iso}, \mdl{traldf\_triad}))} 551 \label{TRA_ldf_iso_triad} 552 553 %&& Standard rotated (bi-)laplacian operator 554 %&& ---------------------------------------------- 555 \subsubsection [Standard rotated (bi-)laplacian operator (\mdl{traldf\_iso})] 556 {Standard rotated (bi-)laplacian operator (\mdl{traldf\_iso})} 482 557 \label{TRA_ldf_iso} 483 484 If the Griffies trad scheme is not employed 485 (\np{ln\_traldf\_grif}=true; see App.\ref{sec:triad}) the general form of the second order lateral tracer subgrid scale physics 486 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form in $z$- and 487 $s$-coordinates: 558 The general form of the second order lateral tracer subgrid scale physics 559 (\ref{Eq_PE_zdf}) takes the following semi-discrete space form in $z$- and $s$-coordinates: 488 560 \begin{equation} \label{Eq_tra_ldf_iso} 489 561 \begin{split} … … 527 599 of the tracer variance. Nevertheless the treatment performed on the slopes 528 600 (see \S\ref{LDF}) allows the model to run safely without any additional 529 background horizontal diffusion \citep{Guilyardi_al_CD01}. An alternative scheme 530 developed by \cite{Griffies_al_JPO98} which ensures tracer variance decreases 601 background horizontal diffusion \citep{Guilyardi_al_CD01}. 602 603 Note that in the partial step $z$-coordinate (\np{ln\_zps}=true), the horizontal derivatives 604 at the bottom level in \eqref{Eq_tra_ldf_iso} require a specific treatment. 605 They are calculated in module zpshde, described in \S\ref{TRA_zpshde}. 606 607 %&& Triad rotated (bi-)laplacian operator 608 %&& ------------------------------------------- 609 \subsubsection [Triad rotated (bi-)laplacian operator (\np{ln\_traldf\_triad})] 610 {Triad rotated (bi-)laplacian operator (\np{ln\_traldf\_triad})} 611 \label{TRA_ldf_triad} 612 613 If the Griffies triad scheme is employed (\np{ln\_traldf\_triad}=true ; see App.\ref{sec:triad}) 614 615 An alternative scheme developed by \cite{Griffies_al_JPO98} which ensures tracer variance decreases 531 616 is also available in \NEMO (\np{ln\_traldf\_grif}=true). A complete description of 532 617 the algorithm is given in App.\ref{sec:triad}. 533 534 Note that in the partial step $z$-coordinate (\np{ln\_zps}=true), the horizontal535 derivatives at the bottom level in \eqref{Eq_tra_ldf_iso} require a specific536 treatment. They are calculated in module zpshde, described in \S\ref{TRA_zpshde}.537 538 % -------------------------------------------------------------------------------------------------------------539 % Iso-level bilaplacian operator540 % -------------------------------------------------------------------------------------------------------------541 \subsection [Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap})]542 {Iso-level bilaplacian operator (bilap) (\np{ln\_traldf\_bilap}=true)}543 \label{TRA_ldf_bilap}544 618 545 619 The lateral fourth order bilaplacian operator on tracers is obtained by 546 620 applying (\ref{Eq_tra_ldf_lap}) twice. The operator requires an additional assumption 547 621 on boundary conditions: both first and third derivative terms normal to the 548 coast are set to zero. It is used when, in addition to \np{ln\_traldf\_bilap}=true, 549 we have \np{ln\_traldf\_level}=true, or both \np{ln\_traldf\_hor}=true and 550 \np{ln\_zco}=false. In both cases, it can contribute diapycnal mixing, 551 although less than in the laplacian case. It is therefore not recommended. 552 553 Note that in the code, the bilaplacian routine does not call the laplacian 554 routine twice but is rather a separate routine that can be found in the 555 \mdl{traldf\_bilap} module. This is due to the fact that we introduce the 556 eddy diffusivity coefficient, A, in the operator as: 557 $\nabla \cdot \nabla \left( {A\nabla \cdot \nabla T} \right)$, 558 instead of 559 $-\nabla \cdot a\nabla \left( {\nabla \cdot a\nabla T} \right)$ 560 where $a=\sqrt{|A|}$ and $A<0$. This was a mistake: both formulations 561 ensure the total variance decrease, but the former requires a larger 562 number of code-lines. 563 564 % ------------------------------------------------------------------------------------------------------------- 565 % Rotated bilaplacian operator 566 % ------------------------------------------------------------------------------------------------------------- 567 \subsection [Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap})] 568 {Rotated bilaplacian operator (bilapg) (\np{ln\_traldf\_bilap}=true)} 569 \label{TRA_ldf_bilapg} 622 coast are set to zero. 570 623 571 624 The lateral fourth order operator formulation on tracers is obtained by 572 625 applying (\ref{Eq_tra_ldf_iso}) twice. It requires an additional assumption 573 626 on boundary conditions: first and third derivative terms normal to the 574 coast, normal to the bottom and normal to the surface are set to zero. It can be found in the 575 \mdl{traldf\_bilapg}. 576 577 It is used when, in addition to \np{ln\_traldf\_bilap}=true, we have 578 \np{ln\_traldf\_iso}= .true, or both \np{ln\_traldf\_hor}=true and \np{ln\_zco}=true. 579 This rotated bilaplacian operator has never been seriously 580 tested. There are no guarantees that it is either free of bugs or correctly formulated. 581 Moreover, the stability range of such an operator will be probably quite 582 narrow, requiring a significantly smaller time-step than the one used with an 583 unrotated operator. 627 coast, normal to the bottom and normal to the surface are set to zero. 628 629 %&& Option for the rotated operators 630 %&& ---------------------------------------------- 631 \subsubsection [Option for the rotated operators] 632 {Option for the rotated operators} 633 \label{TRA_ldf_options} 634 635 \np{ln\_traldf\_msc} = Method of Stabilizing Correction (both operators) 636 637 \np{rn\_slpmax} = slope limit (both operators) 638 639 \np{ln\_triad\_iso} = pure horizontal mixing in ML (triad only) 640 641 \np{rn\_sw\_triad} =1 switching triad ; =0 all 4 triads used (triad only) 642 643 \np{ln\_botmix\_triad} = lateral mixing on bottom (triad only) 584 644 585 645 % ================================================================ … … 593 653 %-------------------------------------------------------------------------------------------------------------- 594 654 595 Options are defined through the 655 Options are defined through the \ngn{namzdf} namelist variables. 596 656 The formulation of the vertical subgrid scale tracer physics is the same 597 657 for all the vertical coordinates, and is based on a laplacian operator. … … 651 711 the thickness of the top model layer. 652 712 653 Due to interactions and mass exchange of water ($F_{mass}$) with other Earth system components ($i.e.$ atmosphere, sea-ice, land), 654 the change in the heat and salt content of the surface layer of the ocean is due both 655 to the heat and salt fluxes crossing the sea surface (not linked with $F_{mass}$) 656 and to the heat and salt content of the mass exchange. 657 \sgacomment{ the following does not apply to the release to which this documentation is 658 attached and so should not be included .... 659 In a forthcoming release, these two parts, computed in the surface module (SBC), will be included directly 660 in $Q_{ns}$, the surface heat flux and $F_{salt}$, the surface salt flux. 661 The specification of these fluxes is further detailed in the SBC chapter (see \S\ref{SBC}). 662 This change will provide a forcing formulation which is the same for any tracer (including temperature and salinity). 663 664 In the current version, the situation is a little bit more complicated. } 713 Due to interactions and mass exchange of water ($F_{mass}$) with other Earth system components 714 ($i.e.$ atmosphere, sea-ice, land), the change in the heat and salt content of the surface layer 715 of the ocean is due both to the heat and salt fluxes crossing the sea surface (not linked with $F_{mass}$) 716 and to the heat and salt content of the mass exchange. They are both included directly in $Q_{ns}$, 717 the surface heat flux, and $F_{salt}$, the surface salt flux (see \S\ref{SBC} for further details). 718 By doing this, the forcing formulation is the same for any tracer (including temperature and salinity). 665 719 666 720 The surface module (\mdl{sbcmod}, see \S\ref{SBC}) provides the following … … 669 723 $\bullet$ $Q_{ns}$, the non-solar part of the net surface heat flux that crosses the sea surface 670 724 (i.e. the difference between the total surface heat flux and the fraction of the short wave flux that 671 penetrates into the water column, see \S\ref{TRA_qsr}) 672 673 $\bullet$ \textit{emp}, the mass flux exchanged with the atmosphere (evaporation minus precipitation) 674 675 $\bullet$ $\textit{emp}_S$, an equivalent mass flux taking into account the effect of ice-ocean mass exchange 676 677 $\bullet$ \textit{rnf}, the mass flux associated with runoff (see \S\ref{SBC_rnf} for further detail of how it acts on temperature and salinity tendencies) 678 679 The $\textit{emp}_S$ field is not simply the budget of evaporation-precipitation+freezing-melting because 680 the sea-ice is not currently embedded in the ocean but levitates above it. There is no mass 681 exchanged between the sea-ice and the ocean. Instead we only take into account the salt 682 flux associated with the non-zero salinity of sea-ice, and the concentration/dilution effect 683 due to the freezing/melting (F/M) process. These two parts of the forcing are then converted into 684 an equivalent mass flux given by $\textit{emp}_S - \textit{emp}$. As a result of this mess, 685 the surface boundary condition on temperature and salinity is applied as follows: 686 687 In the nonlinear free surface case (\key{vvl} is defined): 725 penetrates into the water column, see \S\ref{TRA_qsr}) plus the heat content associated with 726 of the mass exchange with the atmosphere and lands. 727 728 $\bullet$ $\textit{sfx}$, the salt flux resulting from ice-ocean mass exchange (freezing, melting, ridging...) 729 730 $\bullet$ \textit{emp}, the mass flux exchanged with the atmosphere (evaporation minus precipitation) 731 and possibly with the sea-ice and ice-shelves. 732 733 $\bullet$ \textit{rnf}, the mass flux associated with runoff 734 (see \S\ref{SBC_rnf} for further detail of how it acts on temperature and salinity tendencies) 735 736 The surface boundary condition on temperature and salinity is applied as follows: 688 737 \begin{equation} \label{Eq_tra_sbc} 738 \begin{aligned} 739 &F^T = \frac{ 1 }{\rho _o \;C_p \,\left. e_{3t} \right|_{k=1} } &\overline{ Q_{ns} }^t & \\ 740 & F^S =\frac{ 1 }{\rho _o \, \left. e_{3t} \right|_{k=1} } &\overline{ \textit{sfx} }^t & \\ 741 \end{aligned} 742 \end{equation} 743 where $\overline{x }^t$ means that $x$ is averaged over two consecutive time steps 744 ($t-\rdt/2$ and $t+\rdt/2$). Such time averaging prevents the 745 divergence of odd and even time step (see \S\ref{STP}). 746 747 In the linear free surface case (\np{ln\_linssh}~=~\textit{true}), 748 an additional term has to be added on both temperature and salinity. 749 On temperature, this term remove the heat content associated with mass exchange 750 that has been added to $Q_{ns}$. On salinity, this term mimics the concentration/dilution effect that 751 would have resulted from a change in the volume of the first level. 752 The resulting surface boundary condition is applied as follows: 753 \begin{equation} \label{Eq_tra_sbc_lin} 689 754 \begin{aligned} 690 755 &F^T = \frac{ 1 }{\rho _o \;C_p \,\left. e_{3t} \right|_{k=1} } … … 692 757 % 693 758 & F^S =\frac{ 1 }{\rho _o \,\left. e_{3t} \right|_{k=1} } 694 &\overline{ \left( (\textit{emp}_S - \textit{emp})\;\left. S \right|_{k=1} \right) }^t & \\759 &\overline{ \left( \;\textit{sfx} - \textit{emp} \;\left. S \right|_{k=1} \right) }^t & \\ 695 760 \end{aligned} 696 761 \end{equation} 697 698 In the linear free surface case (\key{vvl} not defined): 699 \begin{equation} \label{Eq_tra_sbc_lin} 700 \begin{aligned} 701 &F^T = \frac{ 1 }{\rho _o \;C_p \,\left. e_{3t} \right|_{k=1} } &\overline{ Q_{ns} }^t & \\ 702 % 703 & F^S =\frac{ 1 }{\rho _o \,\left. e_{3t} \right|_{k=1} } 704 &\overline{ \left( \textit{emp}_S\;\left. S \right|_{k=1} \right) }^t & \\ 705 \end{aligned} 706 \end{equation} 707 where $\overline{x }^t$ means that $x$ is averaged over two consecutive time steps 708 ($t-\rdt/2$ and $t+\rdt/2$). Such time averaging prevents the 709 divergence of odd and even time step (see \S\ref{STP}). 710 711 The two set of equations, \eqref{Eq_tra_sbc} and \eqref{Eq_tra_sbc_lin}, are obtained 712 by assuming that the temperature of precipitation and evaporation are equal to 713 the ocean surface temperature and that their salinity is zero. Therefore, the heat content 714 of the \textit{emp} budget must be added to the temperature equation in the variable volume case, 715 while it does not appear in the constant volume case. Similarly, the \textit{emp} budget affects 716 the ocean surface salinity in the constant volume case (through the concentration dilution effect) 717 while it does not appears explicitly in the variable volume case since salinity change will be 718 induced by volume change. In both constant and variable volume cases, surface salinity 719 will change with ice-ocean salt flux and F/M flux (both contained in $\textit{emp}_S - \textit{emp}$) without mass exchanges. 720 721 Note that the concentration/dilution effect due to F/M is computed using 722 a constant ice salinity as well as a constant ocean salinity. 723 This approximation suppresses the correlation between \textit{SSS} 724 and F/M flux, allowing the ice-ocean salt exchanges to be conservative. 725 Indeed, if this approximation is not made, even if the F/M budget is zero 726 on average over the whole ocean domain and over the seasonal cycle, 727 the associated salt flux is not zero, since sea-surface salinity and F/M flux are 728 intrinsically correlated (high \textit{SSS} are found where freezing is 729 strong whilst low \textit{SSS} is usually associated with high melting areas). 730 731 Even using this approximation, an exact conservation of heat and salt content 732 is only achieved in the variable volume case. In the constant volume case, 733 there is a small imbalance associated with the product $(\partial_t\eta - \textit{emp}) * \textit{SSS}$. 734 Nevertheless, the salt content variation is quite small and will not induce 735 a long term drift as there is no physical reason for $(\partial_t\eta - \textit{emp})$ 736 and \textit{SSS} to be correlated \citep{Roullet_Madec_JGR00}. 737 Note that, while quite small, the imbalance in the constant volume case is larger 762 Note that an exact conservation of heat and salt content is only achieved with non-linear free surface. 763 In the linear free surface case, there is a small imbalance. The imbalance is larger 738 764 than the imbalance associated with the Asselin time filter \citep{Leclair_Madec_OM09}. 739 This is the reason why the modified filter is not applied in the constant volume case.765 This is the reason why the modified filter is not applied in the linear free surface case (see \S\ref{STP}). 740 766 741 767 % ------------------------------------------------------------------------------------------------------------- … … 849 875 \label{TRA_bbc} 850 876 %--------------------------------------------nambbc-------------------------------------------------------- 851 \namdisplay{nam tra_bbc}877 \namdisplay{nambbc} 852 878 %-------------------------------------------------------------------------------------------------------------- 853 879 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 1093 1119 \subsection[DMP\_TOOLS]{Generating resto.nc using DMP\_TOOLS} 1094 1120 1095 DMP\_TOOLS can be used to generate a netcdf file containing the restoration coefficient $\gamma$. Note that in order to maintain bit comparison with previous NEMO versions DMP\_TOOLS must be compiled and run on the same machine as the NEMO model. A mesh\_mask.nc file for the model configuration is required as an input. This can be generated by carrying out a short model run with the namelist parameter \np{nn\_msh} set to 1. The namelist parameter \np{ln\_tradmp} will also need to be set to .false. for this to work. The \nl{nam\_dmp\_create} namelist in the DMP\_TOOLS directory is used to specify options for the restoration coefficient. 1121 DMP\_TOOLS can be used to generate a netcdf file containing the restoration coefficient $\gamma$. 1122 Note that in order to maintain bit comparison with previous NEMO versions DMP\_TOOLS must be compiled 1123 and run on the same machine as the NEMO model. A mesh\_mask.nc file for the model configuration is required as an input. 1124 This can be generated by carrying out a short model run with the namelist parameter \np{nn\_msh} set to 1. 1125 The namelist parameter \np{ln\_tradmp} will also need to be set to .false. for this to work. 1126 The \nl{nam\_dmp\_create} namelist in the DMP\_TOOLS directory is used to specify options for the restoration coefficient. 1096 1127 1097 1128 %--------------------------------------------nam_dmp_create------------------------------------------------- 1098 \nam display{nam_dmp_create}1129 \namtools{namelist_dmp} 1099 1130 %------------------------------------------------------------------------------------------------------- 1100 1131 1101 1132 \np{cp\_cfg}, \np{cp\_cpz}, \np{jp\_cfg} and \np{jperio} specify the model configuration being used and should be the same as specified in \nl{namcfg}. The variable \nl{lzoom} is used to specify that the damping is being used as in case \textit{a} above to provide boundary conditions to a zoom configuration. In the case of the arctic or antarctic zoom configurations this includes some specific treatment. Otherwise damping is applied to the 6 grid points along the ocean boundaries. The open boundaries are specified by the variables \np{lzoom\_n}, \np{lzoom\_e}, \np{lzoom\_s}, \np{lzoom\_w} in the \nl{nam\_zoom\_dmp} name list. 1102 1133 1103 The remaining switch namelist variables determine the spatial variation of the restoration coefficient in non-zoom configurations. \np{ln\_full\_field} specifies that newtonian damping should be applied to the whole model domain. \np{ln\_med\_red\_seas} specifies grid specific restoration coefficients in the Mediterranean Sea for the ORCA4, ORCA2 and ORCA05 configurations. If \np{ln\_old\_31\_lev\_code} is set then the depth variation of the coeffients will be specified as a function of the model number. This option is included to allow backwards compatability of the ORCA2 reference configurations with previous model versions. \np{ln\_coast} specifies that the restoration coefficient should be reduced near to coastlines. This option only has an effect if \np{ln\_full\_field} is true. \np{ln\_zero\_top\_layer} specifies that the restoration coefficient should be zero in the surface layer. Finally \np{ln\_custom} specifies that the custom module will be called. This module is contained in the file custom.F90 and can be edited by users. For example damping could be applied in a specific region. 1104 1105 The restoration coefficient can be set to zero in equatorial regions by specifying a positive value of \np{nn\_hdmp}. Equatorward of this latitude the restoration coefficient will be zero with a smooth transition to the full values of a 10$^{\circ}$ latitud band. This is often used because of the short adjustment time scale in the equatorial region \citep{Reverdin1991, Fujio1991, Marti_PhD92}. The time scale associated with the damping depends on the depth as a hyperbolic tangent, with \np{rn\_surf} as surface value, \np{rn\_bot} as bottom value and a transition depth of \np{rn\_dep}. 1134 The remaining switch namelist variables determine the spatial variation of the restoration coefficient in non-zoom configurations. 1135 \np{ln\_full\_field} specifies that newtonian damping should be applied to the whole model domain. 1136 \np{ln\_med\_red\_seas} specifies grid specific restoration coefficients in the Mediterranean Sea 1137 for the ORCA4, ORCA2 and ORCA05 configurations. 1138 If \np{ln\_old\_31\_lev\_code} is set then the depth variation of the coeffients will be specified as 1139 a function of the model number. This option is included to allow backwards compatability of the ORCA2 reference 1140 configurations with previous model versions. 1141 \np{ln\_coast} specifies that the restoration coefficient should be reduced near to coastlines. 1142 This option only has an effect if \np{ln\_full\_field} is true. 1143 \np{ln\_zero\_top\_layer} specifies that the restoration coefficient should be zero in the surface layer. 1144 Finally \np{ln\_custom} specifies that the custom module will be called. 1145 This module is contained in the file custom.F90 and can be edited by users. For example damping could be applied in a specific region. 1146 1147 The restoration coefficient can be set to zero in equatorial regions by specifying a positive value of \np{nn\_hdmp}. 1148 Equatorward of this latitude the restoration coefficient will be zero with a smooth transition to 1149 the full values of a 10$^{\circ}$ latitud band. 1150 This is often used because of the short adjustment time scale in the equatorial region 1151 \citep{Reverdin1991, Fujio1991, Marti_PhD92}. The time scale associated with the damping depends on the depth as a 1152 hyperbolic tangent, with \np{rn\_surf} as surface value, \np{rn\_bot} as bottom value and a transition depth of \np{rn\_dep}. 1106 1153 1107 1154 % ================================================================ … … 1271 1318 1272 1319 % ------------------------------------------------------------------------------------------------------------- 1273 % Brunt-V ais\"{a}l\"{a} Frequency1274 % ------------------------------------------------------------------------------------------------------------- 1275 \subsection{Brunt-V ais\"{a}l\"{a} Frequency (\np{nn\_eos} = 0, 1 or 2)}1320 % Brunt-V\"{a}is\"{a}l\"{a} Frequency 1321 % ------------------------------------------------------------------------------------------------------------- 1322 \subsection{Brunt-V\"{a}is\"{a}l\"{a} Frequency (\np{nn\_eos} = 0, 1 or 2)} 1276 1323 \label{TRA_bn2} 1277 1324 1278 An accurate computation of the ocean stability (i.e. of $N$, the brunt-V ais\"{a}l\"{a}1325 An accurate computation of the ocean stability (i.e. of $N$, the brunt-V\"{a}is\"{a}l\"{a} 1279 1326 frequency) is of paramount importance as determine the ocean stratification and 1280 1327 is used in several ocean parameterisations (namely TKE, GLS, Richardson number dependent … … 1332 1379 \label{TRA_zpshde} 1333 1380 1334 \gmcomment{STEVEN: to be consistent with earlier discussion of differencing and averaging operators, I've changed "derivative" to "difference" and "mean" to "average"} 1381 \gmcomment{STEVEN: to be consistent with earlier discussion of differencing and averaging operators, 1382 I've changed "derivative" to "difference" and "mean" to "average"} 1335 1383 1336 1384 With partial bottom cells (\np{ln\_zps}=true), in general, tracers in horizontally
Note: See TracChangeset
for help on using the changeset viewer.