Changeset 10442 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex
- Timestamp:
- 2018-12-21T15:18:38+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex
r10414 r10442 26 26 %The lateral ocean boundary conditions contiguous to coastlines are Neumann conditions for heat and salt (no flux across boundaries) and Dirichlet conditions for momentum (ranging from free-slip to "strong" no-slip). They are handled automatically by the mask system (see \autoref{subsec:DOM_msk}). 27 27 28 %OPA allows land and topography grid points in the computational domain due to the presence of continents or islands, and includes the use of a full or partial step representation of bottom topography. The computation is performed over the whole domain, i.e.we do not try to restrict the computation to ocean-only points. This choice has two motivations. Firstly, working on ocean only grid points overloads the code and harms the code readability. Secondly, and more importantly, it drastically reduces the vector portion of the computation, leading to a dramatic increase of CPU time requirement on vector computers. The current section describes how the masking affects the computation of the various terms of the equations with respect to the boundary condition at solid walls. The process of defining which areas are to be masked is described in \autoref{subsec:DOM_msk}.28 %OPA allows land and topography grid points in the computational domain due to the presence of continents or islands, and includes the use of a full or partial step representation of bottom topography. The computation is performed over the whole domain, \ie we do not try to restrict the computation to ocean-only points. This choice has two motivations. Firstly, working on ocean only grid points overloads the code and harms the code readability. Secondly, and more importantly, it drastically reduces the vector portion of the computation, leading to a dramatic increase of CPU time requirement on vector computers. The current section describes how the masking affects the computation of the various terms of the equations with respect to the boundary condition at solid walls. The process of defining which areas are to be masked is described in \autoref{subsec:DOM_msk}. 29 29 30 30 Options are defined through the \ngn{namlbc} namelist variables. … … 40 40 Since most of the boundary conditions consist of a zero flux across the solid boundaries, 41 41 they can be simply applied by multiplying variables by the correct mask arrays, 42 $i.e.$the mask array of the grid point where the flux is evaluated.42 \ie the mask array of the grid point where the flux is evaluated. 43 43 For example, the heat flux in the \textbf{i}-direction is evaluated at $u$-points. 44 44 Evaluating this quantity as, … … 103 103 \item[free-slip boundary condition (\np{rn\_shlat}\forcode{ = 0}):] the tangential velocity at 104 104 the coastline is equal to the offshore velocity, 105 $i.e.$the normal derivative of the tangential velocity is zero at the coast,105 \ie the normal derivative of the tangential velocity is zero at the coast, 106 106 so the vorticity: mask$_{f}$ array is set to zero inside the land and just at the coast 107 107 (\autoref{fig:LBC_shlat}-a). … … 129 129 130 130 \item["partial" free-slip boundary condition (0$<$\np{rn\_shlat}$<$2):] the tangential velocity at 131 the coastline is smaller than the offshore velocity, $i.e.$there is a lateral friction but131 the coastline is smaller than the offshore velocity, \ie there is a lateral friction but 132 132 not strong enough to make the tangential velocity at the coast vanish (\autoref{fig:LBC_shlat}-c). 133 133 This can be selected by providing a value of mask$_{f}$ strictly inbetween $0$ and $2$. … … 165 165 Each time such a boundary condition is needed, it is set by a call to routine \mdl{lbclnk}. 166 166 The computation of momentum and tracer trends proceeds from $i=2$ to $i=jpi-1$ and from $j=2$ to $j=jpj-1$, 167 $i.e.$in the model interior.167 \ie in the model interior. 168 168 To choose a lateral model boundary condition is to specify the first and last rows and columns of 169 169 the model variables. … … 242 242 are organized by explicit statements (message passing method). 243 243 244 A big advantage is that the method does not need many modifications of the initial FORTRANcode.244 A big advantage is that the method does not need many modifications of the initial \fortran code. 245 245 From the modeller's point of view, each sub domain running on a processor is identical to the "mono-domain" code. 246 246 In addition, the programmer manages the communications between subdomains, … … 267 267 After a computation, a communication phase starts: 268 268 each processor sends to its neighbouring processors the update values of the points corresponding to 269 the interior overlapping area to its neighbouring sub-domain ( $i.e.$the innermost of the two overlapping rows).269 the interior overlapping area to its neighbouring sub-domain (\ie the innermost of the two overlapping rows). 270 270 The communication is done through the Message Passing Interface (MPI). 271 271 The data exchanges between processors are required at the very place where 272 272 lateral domain boundary conditions are set in the mono-domain computation: 273 273 the \rou{lbc\_lnk} routine (found in \mdl{lbclnk} module) which manages such conditions is interfaced with 274 routines found in \mdl{lib\_mpp} module when running on an MPP computer ( $i.e.$when \key{mpp\_mpi} defined).274 routines found in \mdl{lib\_mpp} module when running on an MPP computer (\ie when \key{mpp\_mpi} defined). 275 275 It has to be pointed out that when using the MPP version of the model, 276 276 the east-west cyclic boundary condition is done implicitly, … … 355 355 Note that this is a problem for the meshmask file which requires to be defined over the whole domain. 356 356 Therefore, user should not eliminate land processors when creating a meshmask file 357 ( $i.e.$when setting a non-zero value to \np{nn\_msh}).357 (\ie when setting a non-zero value to \np{nn\_msh}). 358 358 359 359 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 518 518 Note that the sea-surface height gradient in \autoref{eq:bdy_fla1} is a spatial gradient across the model boundary, 519 519 so that $\eta_{e}$ is defined on the $T$ points with $nbr=1$ and $\eta$ is defined on the $T$ points with $nbr=2$. 520 $U$ and $U_{e}$ are defined on the $U$ or $V$ points with $nbr=1$, $i.e.$between the two $T$ grid points.520 $U$ and $U_{e}$ are defined on the $U$ or $V$ points with $nbr=1$, \ie between the two $T$ grid points. 521 521 522 522 %---------------------------------------------- … … 594 594 595 595 These restrictions mean that data files used with previous versions of the model may not work with version 3.4. 596 A 596 A\fortran utility {\it bdy\_reorder} exists in the TOOLS directory which 597 597 will re-order the data in old BDY data files. 598 598 … … 641 641 \biblio 642 642 643 \pindex 644 643 645 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.