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/PGrad.md
+74-46Lines changed: 74 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,11 @@
3
3
4
4
5
5
## 1 Overview
6
-
The pressure gradient will be responsible for computing the horizontal gradients of both the pressure and geopotential terms for the non-Boussinesq primative equations implemented in Omega.
7
-
In the non-Boussinesq model, the vertical coordinate will be pressure as opposed to height.
6
+
The pressure gradient will be responsible for computing the horizontal gradients of both the pressure and geopotential terms for the non-Boussinesq primitive equations implemented in Omega.
7
+
In the non-Boussinesq model, the conserved quantity is mass rather than volume.
8
+
In Omega the prognostic variable $\tilde{h}$ is a pseudo thickness, rather than geometric thickness in m as in a Boussinesq model.
9
+
Some non-Boussinesq models are written in pressure coordinates (e.g. [de Szoeke and Samelson 2002](https://journals.ametsoc.org/view/journals/phoc/32/7/1520-0485_2002_032_2194_tdbtba_2.0.co_2.xml).
10
+
However, Omega is written in general vertical coordinates and can reference either pressure $p$ or distance $z$ in the vertical.
8
11
In a pure pressure coordinate the pressure gradient term disappears (since the pressure does not vary along lines of constant pressure), just as how the geopotential term disappears in a pure z coordinate model.
9
12
However, similar to MPAS-Ocean's support for tilted height coordinates, Omega will allow for tilted pressure coordinates.
10
13
This means that Omega will need to compute both the pressure and geopotential gradients.
@@ -18,66 +21,99 @@ This will allow for the use of a $p^\star$ coordinate, which functions similarly
18
21
19
22
### 2.2 Requirement: Initial support for a simple centered pressure gradient
20
23
21
-
For initial global cases without ice shelf cavities, the pressure and geopotential gradients will be computed with a simple centered difference approximation. In later versions of Omega, one ore more high-order pressure gradients will be implemented and will replace the centered approach in production runs.
24
+
For initial global cases without ice shelf cavities, the pressure and geopotential gradients will be computed with a simple centered difference approximation. In later versions of Omega, one or more high-order pressure gradients will be implemented and will replace the centered approach in production runs.
22
25
However, the centered pressure gradient will remain an option for use in idealized testing.
23
26
24
27
### 2.3 Requirement: Flexibility to support a high-order pressure gradient
25
28
The centered pressure gradient will be insufficient for future versions of Omega that include ice shelf cavities and high resolution shelf breaks.
26
29
The pressure gradient framework should be flexible enough to support a high-order pressure gradient in the future.
30
+
The high order pressure gradient will be similar to [Adcroft et al. 2008](https://doi.org/10.1016/j.ocemod.2008.02.001).
27
31
28
32
### 2.4 Requirement: Flexibility to support tidal forcing and sea level change
29
33
In later versions of Omega, the pressure gradient will need to be able to include tidal forcing in the geopotential term.
30
34
These tidal forcings include both the tidal potential and the self attraction and loading terms.
31
-
Additionally, other changes to the geoid
35
+
Additionally, other long-term changes to the geoid can be included in the geopotential.
32
36
33
-
### 2.5 Requirement: Pressure gradient for barotropic mode
37
+
### 2.5 Disired: Pressure gradient for barotropic mode
34
38
35
39
For split barotropic-baroclinic timestepping, the pressure gradient should provide the bottom pressure gradient tendency in the barotropic mode.
40
+
This will be added in a future version when split time stepping is implemented.
36
41
37
42
### Desired:
38
43
39
44
## 3 Algorithmic Formulation
40
-
The non-Boussinesq momentum equation is
41
-
$$ \frac{D \mathbf{u}_h}{D t } + f\boldsymbol{k}\times \mathbf{u}_h + \left(v\nabla_A p + \nabla_A \phi \right) = \boldsymbol{\mathcal{F}}. $$
45
+
### 3.1 Centered Pressure Gradient
46
+
In the layered non-Boussinesq [momentum equation](OmegaV1GoverningEqns.md#discrete-momentum) solved in Omega, the pressure gradient tendency term for edge $e$ and level $k$, $T^p_{e,k}$, includes the gradient of the pressure and the gradient of the geopotential,
42
47
43
-
where $\mathbf{u}_h$ is the horizontal velocity, $f$ is the Coriolis parameter, $v = \frac{1}{\rho}$ is the specific volume, $\rho = \rho(T,S,p)$ is the density, $p$ is the hydrostatic pressure, $\phi$ is the geopotential, and $\boldsymbol{\mathcal{F}}$ are the dissipative terms.
44
-
The operator $\nabla_A$ is the gradient along a constant surface, $A$, and the total derivative is
where the second term is necessary to account for tilted layers that occur when using a general vertical coordinate.
53
+
In this equation, $\alpha_{i,k}$ is the specific volume for cell $i$ at the mid-point of level $k$, $p_{i,k}$ is the pressure, and $\Phi_{i,k}$ is the geopotential.
54
+
The discrete gradient operator at an edge is:
47
55
48
-
where $\omega$ is the cross coordinate flow.
49
-
In the layered non-Boussinesq equations, the prognostic variable is the pressure thickness $h_k$, so that the geometric thickness (in meters) is a diagnostic variable defined as:
where $d_e$ is the distance between cell centers, $CE(e)$ are the cells on edge $e$, and $n_{e,i}$ is the sign of the edge normal with respect to cell $i$.
61
+
The horizontal averaging operator is:
52
62
53
-
The pressure at vertical cell interfaces is the found by summing the pressure thicknesses:
When split baroclinic-barotropic time stepping is implemented in the future, the barotropic pressure gradient will be calculated by the pressure gradient class.
80
+
The barotropic pressure gradient is found by depth integrating the pressure gradient.
where $d_e$ is the distance between cell centers, $CE(e)$ are the cells on edge $e$, and $n_{e,i}$ is the sign of the edge normal with respect to cell $i$.
68
-
Therefore the centered pressure gradient will be calculated as:
87
+
where $p_b$ is the bottom pressure.
88
+
The bottom pressure is the sum of the atmospheric surface pressure, $p_s$, and the pressure contribution of the water column:
where the height of the water column is represented by $H$.
110
+
The $1/\rho_0\widetilde{H}$ factor comes vertically integrating the material derivative and expressing the resulting barotropic momentum equation in non-conservative form.
The public `computePressureGrad` method will rely on private methods for each specific pressure gradient option (centered and high order).
188
+
Note that the functors called by `computePressureGrad` are responsible for computing the sum of the pressure gradient and geopotential gradient accumulated in the `Tend` output array.
0 commit comments