You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/omega/doc/design/OmegaV1GoverningEqns.md
+33-11Lines changed: 33 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,9 +200,27 @@ Omega-1 will be non-Boussinesq, which means that density is not assumed to be co
200
200
201
201
For non-Boussinesq layered equations we begin by defining the pressure-thickness of layer $k$ as
202
202
203
-
$$ (sigma-int-to-surf)
203
+
$$
204
+
h_k(x,y,t)
205
+
\equiv \int_{s_k^{bot}}^{s_k^{top}} \rho g dz = \int_{\sigma_k^{top}}^{\sigma_k^{bot}} dp.
206
+
$$ (def-h)
207
+
208
+
The letter $h$ is used because this is the familiar variable for thickness in Boussinesq primitive equations. In the Boussinesq case $h$ is volume divided by area, so that the thickness equation describes conservation of volume. Here for the non-Boussinesq case, $h_k$ is mass per unit area, multiplied by $g$. Since horizontal cell area and $g$ remain constant, the thickness equation describes conservation of mass.
209
+
210
+
Throughout this derivation we can write all equations equivalently in $z$-coordinates (depth), or in $p$-coordinates (pressure). From the hydrostatic equation, any quantity $\varphi$ may be integrated in $z$ or $p$ as
204
211
205
-
where $\eta$ is the sea surface height and $p^{surf}$ is the surface pressure. Note that the negative sign means that pressure increases with depth, so positive $p$ points downward, so that the $top$ and $bot$ extents of the integration limits are flipped in [](#depth-pressure-integral-conversion).
where we can convert from an interfacial depth surface to a pressure surface with
218
+
219
+
$$
220
+
\sigma(x,y) = - \int_{s(x,y)}^{\eta(x,y)} \rho g dz + p^{surf}(x,y)
221
+
$$ (def-sigma)
222
+
223
+
where $\eta$ is the sea surface height and $p^{surf}$ is the surface pressure. Note that the negative sign means that pressure increases with depth. This means that positive $p$ points downward, so that the $top$ and $bot$ extents of the integration limits are flipped in [](#depth-pressure-integral-conversion).
206
224
207
225
For any three-dimensional quantity $\varphi(x,y,z,t)$, the pressure-thickness-averaged quantity in layer $k$ is
208
226
@@ -218,7 +236,8 @@ Our derivation has not made any assumptions about density, and may be used for b
218
236
$$
219
237
h_k^{Bouss}(x,y,t)
220
238
\equiv \int_{s_k^{bot}}^{s_k^{top}} dz.
221
-
$$
239
+
$$ (def-h-bouss)
240
+
222
241
The definition of the thickness-weighted average remains the same as in [](#def-thickness-pressure-average), but in a Boussinesq fluid the variations in density are assumed to be small, so that $\rho(x,y,z,t)\sim\rho_0$ where $\rho_0$ is a constant.
where subscripts $i$, $e$, and $v$ indicate cell, edge, and vertex locations ($i$ was chosen for cell because $c$ and $e$ look similar). Here square brackets $[\cdot]_e$ and $[\cdot]_v$ are quantities that are interpolated to edge and vertex locations. The interpolation is typically centered, but may vary by method, particularly for advection schemes. For vector quantities, $u_e$ denotes the normal component at the center of the edge, while $u_e^\perp$ denotes the tangential component. In the discrete system, the normal component $u_e$ points positively from the lower cell index to the higher cell index, while the tangential component $u_e^\perp$ points positively $90^o$ to the left of $u_e$ (for unit vectors, ${\mathbf n}_e^\perp = {\mathbf k}\times {\mathbf n}_e$).
@@ -372,7 +393,7 @@ Table 1. Definition of variables
|$\Phi$ | geopotential| | cell | mrp todo define here |
388
410
389
-
## Operator Formulation
390
-
See
411
+
### Operator Formulation
412
+
The horizontal operator stencils remain the same as those given in [Omega-0 design document](OmegaV0ShallowWater.md#operator-formulation).
391
413
392
414
## Verification and Testing
393
415
@@ -414,7 +436,7 @@ See [Petersen et al. 2015](http://www.sciencedirect.com/science/article/pii/S146
414
436
This is a 3D domain with a seamount in the center, where temperature and salinity are stratified in the vertical and constant in the horizontal. The test is simply that an initial velocity field of zero remains zero. For z-level layers the velocity trivially remains zero because the horizontal pressure gradient is zero. For tilted layers, this is a test of the pressure gradient error and the velocity is never exactly zero. This is a common test for sigma-coordinate models like ROMS because the bottom layers are extremely tilted along the seamount, but it is a good test for any model with tilted layers. Omega will use slightly tilted layers in p-star mode (pressure layers oscillating with SSH) and severely tilted layers below ice shelves, just like MPAS-Ocean. See [Ezer et al. 2002](https://www.sciencedirect.com/science/article/pii/S1463500302000033), [Haidvogel et al. 1993](https://journals.ametsoc.org/view/journals/phoc/23/11/1520-0485_1993_023_2373_nsofaa_2_0_co_2.xml), [Shchepetkin and McWilliams 2003](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2001JC001047), and previous MPAS-Ocean [confluence page](https://acme-climate.atlassian.net/wiki/spaces/OCNICE/blog/2015/11/19/40501447/MPAS-O+Sigma+coordinate+test+sea+mount).
415
437
416
438
### Cosine Bell on the Sphere
417
-
This test uses a fixed horizontal velocity field to test horizontal tracer advection. It is repeated from Omega-0 and is important to conduct again as we convert Omega to a layered primitive-equation model. See `cosine_bell` case in both compass and polaris.
439
+
This test uses a fixed horizontal velocity field to test horizontal tracer advection. It is repeated from [Omega-0 design document](OmegaV0ShallowWater) and is important to conduct again as we convert Omega to a layered primitive-equation model. See `cosine_bell` case in both compass and polaris.
418
440
419
441
### Merry-Go-Round
420
442
This is an exact test for horizontal and vertical tracer advection. A fixed velocity field is provided, and a tracer distribution is advected around a vertical plane. See the `merry_go_round` test in compass, and the results on the [merry-go-round pull request](https://github.com/MPAS-Dev/compass/pull/108) and [compass port pull request](https://github.com/MPAS-Dev/compass/pull/452).
0 commit comments