Changeset 10406 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex
- Timestamp:
- 2018-12-18T11:25:09+01:00 (5 years ago)
- Location:
- NEMO/trunk/doc/latex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex
- Property svn:ignore
-
old new 3 3 *.blg 4 4 *.dvi 5 *.fdb _latexmk5 *.fdb* 6 6 *.fls 7 7 *.idx
-
- Property svn:ignore
-
NEMO/trunk/doc/latex/NEMO
- Property svn:ignore
-
old new 3 3 *.blg 4 4 *.dvi 5 *.fdb _latexmk5 *.fdb* 6 6 *.fls 7 7 *.idx
-
- Property svn:ignore
-
NEMO/trunk/doc/latex/NEMO/subfiles
- Property svn:ignore
-
old new 3 3 *.blg 4 4 *.dvi 5 *.fdb _latexmk5 *.fdb* 6 6 *.fls 7 7 *.idx
-
- Property svn:ignore
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex
r10354 r10406 27 27 The two active tracers are potential temperature and salinity. 28 28 Their prognostic equations can be summarized as follows: 29 \ begin{equation*}29 \[ 30 30 \text{NXT} = \text{ADV}+\text{LDF}+\text{ZDF}+\text{SBC} 31 31 \ (+\text{QSR})\ (+\text{BBC})\ (+\text{BBL})\ (+\text{DMP}) 32 \ end{equation*}32 \] 33 33 34 34 NXT stands for next, referring to the time-stepping. … … 76 76 \begin{equation} \label{eq:tra_adv} 77 77 ADV_\tau =-\frac{1}{b_t} \left( 78 \;\delta _i \left[ e_{2u}\,e_{3u} \; u\; \tau_u \right]79 +\delta _j \left[ e_{1v}\,e_{3v} \; v\; \tau_v \right] \; \right)80 -\frac{1}{e_{3t}} \;\delta _k \left[ w\; \tau_w \right]78 \;\delta_i \left[ e_{2u}\,e_{3u} \; u\; \tau_u \right] 79 +\delta_j \left[ e_{1v}\,e_{3v} \; v\; \tau_v \right] \; \right) 80 -\frac{1}{e_{3t}} \;\delta_k \left[ w\; \tau_w \right] 81 81 \end{equation} 82 82 where $\tau$ is either T or S, and $b_t= e_{1t}\,e_{2t}\,e_{3t}$ is the volume of $T$-cells. … … 125 125 the vertical boundary condition is applied at the fixed surface $z=0$ rather than on the moving surface $z=\eta$. 126 126 There is a non-zero advective flux which is set for all advection schemes as 127 $\left. {\tau 127 $\left. {\tau_w } \right|_{k=1/2} =T_{k=1} $, 128 128 $i.e.$ the product of surface velocity (at $z=0$) by the first level tracer value. 129 129 \item[non-linear free surface:] … … 194 194 For example, in the $i$-direction : 195 195 \begin{equation} \label{eq:tra_adv_cen2} 196 \tau 196 \tau_u^{cen2} =\overline T ^{i+1/2} 197 197 \end{equation} 198 198 … … 213 213 For example, in the $i$-direction: 214 214 \begin{equation} \label{eq:tra_adv_cen4} 215 \tau 216 =\overline{ T - \frac{1}{6}\,\delta 215 \tau_u^{cen4} 216 =\overline{ T - \frac{1}{6}\,\delta_i \left[ \delta_{i+1/2}[T] \,\right] }^{\,i+1/2} 217 217 \end{equation} 218 218 In the vertical direction (\np{nn\_cen\_v}\forcode{ = 4}), … … 238 238 239 239 At a $T$-grid cell adjacent to a boundary (coastline, bottom and surface), 240 an additional hypothesis must be made to evaluate $\tau 240 an additional hypothesis must be made to evaluate $\tau_u^{cen4}$. 241 241 This hypothesis usually reduces the order of the scheme. 242 242 Here we choose to set the gradient of $T$ across the boundary to zero. … … 260 260 \begin{equation} \label{eq:tra_adv_fct} 261 261 \begin{split} 262 \tau 262 \tau_u^{ups}&= \begin{cases} 263 263 T_{i+1} & \text{if $\ u_{i+1/2} < 0$} \hfill \\ 264 264 T_i & \text{if $\ u_{i+1/2} \geq 0$} \hfill \\ 265 265 \end{cases} \\ 266 266 \\ 267 \tau _u^{fct}&=\tau _u^{ups} +c_u \;\left( {\tau _u^{cen} -\tau_u^{ups} } \right)267 \tau_u^{fct}&=\tau_u^{ups} +c_u \;\left( {\tau_u^{cen} -\tau_u^{ups} } \right) 268 268 \end{split} 269 269 \end{equation} … … 287 287 288 288 For stability reasons (see \autoref{chap:STP}), 289 $\tau 290 $\tau 289 $\tau_u^{cen}$ is evaluated in (\autoref{eq:tra_adv_fct}) using the \textit{now} tracer while 290 $\tau_u^{ups}$ is evaluated using the \textit{before} tracer. 291 291 In other words, the advective part of the scheme is time stepped with a leap-frog scheme 292 292 while a forward scheme is used for the diffusive part. … … 306 306 For example, in the $i$-direction : 307 307 \begin{equation} \label{eq:tra_adv_mus} 308 \tau 309 &\tau 308 \tau_u^{mus} = \left\{ \begin{aligned} 309 &\tau_i &+ \frac{1}{2} \;\left( 1-\frac{u_{i+1/2} \;\rdt}{e_{1u}} \right) 310 310 &\ \widetilde{\partial _i \tau} & \quad \text{if }\;u_{i+1/2} \geqslant 0 \\ 311 &\tau 311 &\tau_{i+1/2} &+\frac{1}{2}\;\left( 1+\frac{u_{i+1/2} \;\rdt}{e_{1u} } \right) 312 312 &\ \widetilde{\partial_{i+1/2} \tau } & \text{if }\;u_{i+1/2} <0 313 313 \end{aligned} \right. … … 317 317 318 318 The time stepping is performed using a forward scheme, 319 that is the \textit{before} tracer field is used to evaluate $\tau 319 that is the \textit{before} tracer field is used to evaluate $\tau_u^{mus}$. 320 320 321 321 For an ocean grid point adjacent to land and where the ocean velocity is directed toward land, … … 339 339 For example, in the $i$-direction: 340 340 \begin{equation} \label{eq:tra_adv_ubs} 341 \tau 341 \tau_u^{ubs} =\overline T ^{i+1/2}-\;\frac{1}{6} \left\{ 342 342 \begin{aligned} 343 343 &\tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ … … 345 345 \end{aligned} \right. 346 346 \end{equation} 347 where $\tau "_i =\delta _i \left[ {\delta_{i+1/2} \left[ \tau \right]} \right]$.347 where $\tau "_i =\delta_i \left[ {\delta_{i+1/2} \left[ \tau \right]} \right]$. 348 348 349 349 This results in a dissipatively dominant (i.e. hyper-diffusive) truncation error … … 374 374 Note that it is straightforward to rewrite \autoref{eq:tra_adv_ubs} as follows: 375 375 \begin{equation} \label{eq:traadv_ubs2} 376 \tau _u^{ubs} = \tau_u^{cen4} + \frac{1}{12} \left\{376 \tau_u^{ubs} = \tau_u^{cen4} + \frac{1}{12} \left\{ 377 377 \begin{aligned} 378 378 & + \tau"_i & \quad \text{if }\ u_{i+1/2} \geqslant 0 \\ … … 382 382 or equivalently 383 383 \begin{equation} \label{eq:traadv_ubs2b} 384 u_{i+1/2} \ \tau 385 =u_{i+1/2} \ \overline{ T - \frac{1}{6}\,\delta 384 u_{i+1/2} \ \tau_u^{ubs} 385 =u_{i+1/2} \ \overline{ T - \frac{1}{6}\,\delta_i\left[ \delta_{i+1/2}[T] \,\right] }^{\,i+1/2} 386 386 - \frac{1}{2} |u|_{i+1/2} \;\frac{1}{6} \;\delta_{i+1/2}[\tau"_i] 387 387 \end{equation} … … 521 521 \begin{equation} \label{eq:tra_ldf_lap} 522 522 D_t^{lT} =\frac{1}{b_t} \left( \; 523 \delta _{i}\left[ A_u^{lT} \; \frac{e_{2u}\,e_{3u}}{e_{1u}} \;\delta_{i+1/2} [T] \right]524 + \delta _{j}\left[ A_v^{lT} \; \frac{e_{1v}\,e_{3v}}{e_{2v}} \;\delta_{j+1/2} [T] \right] \;\right)523 \delta_{i}\left[ A_u^{lT} \; \frac{e_{2u}\,e_{3u}}{e_{1u}} \;\delta_{i+1/2} [T] \right] 524 + \delta_{j}\left[ A_v^{lT} \; \frac{e_{1v}\,e_{3v}}{e_{2v}} \;\delta_{j+1/2} [T] \right] \;\right) 525 525 \end{equation} 526 526 where $b_t$=$e_{1t}\,e_{2t}\,e_{3t}$ is the volume of $T$-cells and … … 728 728 \begin{equation} \label{eq:tra_sbc} 729 729 \begin{aligned} 730 &F^T = \frac{ 1 }{\rho 731 & F^S =\frac{ 1 }{\rho 730 &F^T = \frac{ 1 }{\rho_o \;C_p \,\left. e_{3t} \right|_{k=1} } &\overline{ Q_{ns} }^t & \\ 731 & F^S =\frac{ 1 }{\rho_o \, \left. e_{3t} \right|_{k=1} } &\overline{ \textit{sfx} }^t & \\ 732 732 \end{aligned} 733 733 \end{equation} … … 743 743 \begin{equation} \label{eq:tra_sbc_lin} 744 744 \begin{aligned} 745 &F^T = \frac{ 1 }{\rho 745 &F^T = \frac{ 1 }{\rho_o \;C_p \,\left. e_{3t} \right|_{k=1} } 746 746 &\overline{ \left( Q_{ns} - \textit{emp}\;C_p\,\left. T \right|_{k=1} \right) }^t & \\ 747 747 % 748 & F^S =\frac{ 1 }{\rho 748 & F^S =\frac{ 1 }{\rho_o \,\left. e_{3t} \right|_{k=1} } 749 749 &\overline{ \left( \;\textit{sfx} - \textit{emp} \;\left. S \right|_{k=1} \right) }^t & \\ 750 750 \end{aligned} … … 1410 1410 A linear interpolation is used to estimate $\widetilde{T}_k^{i+1}$, 1411 1411 the tracer value at the depth of the shallower tracer point of the two adjacent bottom $T$-points. 1412 The horizontal difference is then given by: $\delta 1412 The horizontal difference is then given by: $\delta_{i+1/2} T_k= \widetilde{T}_k^{\,i+1} -T_k^{\,i}$ and 1413 1413 the average by: $\overline{T}_k^{\,i+1/2}= ( \widetilde{T}_k^{\,i+1/2} - T_k^{\,i} ) / 2$. 1414 1414 } … … 1416 1416 \end{figure} 1417 1417 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1418 \ begin{equation*}1418 \[ 1419 1419 \widetilde{T}= \left\{ \begin{aligned} 1420 &T^{\,i+1} -\frac{ \left( e_{3w}^{i+1} -e_{3w}^i \right)}{ e_{3w}^{i+1} }\;\delta 1420 &T^{\,i+1} -\frac{ \left( e_{3w}^{i+1} -e_{3w}^i \right)}{ e_{3w}^{i+1} }\;\delta_k T^{i+1} 1421 1421 && \quad\text{if $\ e_{3w}^{i+1} \geq e_{3w}^i$ } \\ 1422 1422 \\ 1423 &T^{\,i} \ \ \ \,+\frac{ \left( e_{3w}^{i+1} -e_{3w}^i \right) }{e_{3w}^i }\;\delta 1423 &T^{\,i} \ \ \ \,+\frac{ \left( e_{3w}^{i+1} -e_{3w}^i \right) }{e_{3w}^i }\;\delta_k T^{i+1} 1424 1424 && \quad\text{if $\ e_{3w}^{i+1} < e_{3w}^i$ } 1425 1425 \end{aligned} \right. 1426 \ end{equation*}1426 \] 1427 1427 and the resulting forms for the horizontal difference and the horizontal average value of $T$ at a $U$-point are: 1428 1428 \begin{equation} \label{eq:zps_hde} 1429 1429 \begin{aligned} 1430 \delta 1430 \delta_{i+1/2} T= \begin{cases} 1431 1431 \ \ \ \widetilde {T}\quad\ -T^i & \ \ \quad\quad\text{if $\ e_{3w}^{i+1} \geq e_{3w}^i$ } \\ 1432 1432 \\
Note: See TracChangeset
for help on using the changeset viewer.