Difference between revisions of "Equations of Motion"

From WikiROMS
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
The primitive equations in Cartesian coordinates are shown here. The momentum balance in the <math>x</math>- and <math>y</math>-directions are:
The primitive equations in Cartesian coordinates are shown here. The momentum balance in the <math>x</math>- and <math>y</math>-directions are:


<math display="block">\frac{\partial u}{\partial t} + \vec{v} \cdot \nabla u - fv = - \frac{\partial \phi}{\partial x} - {\partial \over \partial z} \left( \overline{u'w'} - \nu {\partial u \over \partial z} \right)+ {\cal F}_u + {\cal D}_u </math>
{| class="eqno"
|<math display="block">\frac{\partial u}{\partial t} + \vec{v} \cdot \nabla u - fv = - \frac{\partial \phi}{\partial x} - {\partial \over \partial z} \left( \overline{u'w'} - \nu {\partial u \over \partial z} \right)+ {\cal F}_u + {\cal D}_u </math><!--\eqno{(1)}-->
|(1)
|}


<math display="block">\frac{\partial v}{\partial t} + \vec{v} \cdot \nabla v + fu = - \frac{\partial \phi}{\partial y} - {\partial \over \partial z} \left( \overline{v'w'} - \nu {\partial v \over \partial z} \right) + {\cal F}_v + {\cal D}_v </math>
{| class="eqno"
|<math display="block">\frac{\partial v}{\partial t} + \vec{v} \cdot \nabla v + fu = - \frac{\partial \phi}{\partial y} - {\partial \over \partial z} \left( \overline{v'w'} - \nu {\partial v \over \partial z} \right) + {\cal F}_v + {\cal D}_v </math><!--\eqno{(2)}-->
|(2)
|}


The time evolution of a scalar concentration field, <math>C(x,y,z,t)</math> (e.g. salinity, temperature, or nutrients), is governed by the advective-diffusive equation:
The time evolution of a scalar concentration field, <math>C(x,y,z,t)</math> (e.g. salinity, temperature, or nutrients), is governed by the advective-diffusive equation:


<math display="block">\frac{\partial C}{\partial t} + \vec{v} \cdot \nabla C = -{\partial \over \partial z} \left( \overline{C'w'} - \nu_\theta {\partial C \over \partial z} \right) + {\cal F}_C + {\cal D}_C </math> <!--\eqno{(3)}-->
{| class="eqno"
 
|<math display="block">\frac{\partial C}{\partial t} + \vec{v} \cdot \nabla C = -{\partial \over \partial z} \left( \overline{C'w'} - \nu_\theta {\partial C \over \partial z} \right) + {\cal F}_C + {\cal D}_C </math> <!--\eqno{(3)}-->
|(3)
|}
The equation of state is given by:
The equation of state is given by:


<math display="block">\rho = \rho(T,S,P) </math><!--\eqno{(4)}-->
{| class="eqno"
|<math display="block">\rho = \rho(T,S,P) </math><!--\eqno{(4)}-->
|(4)
|}


In the Boussinesq approximation, density variations are neglected in the momentum equations except in their
In the Boussinesq approximation, density variations are neglected in the momentum equations except in their
Line 21: Line 32:
force:
force:


<math display="block">\frac{\partial \phi}{\partial z} = -\frac{\rho g}{\rho_o} </math><!--\eqno{(5)}-->
{| class="eqno"
|<math display="block">\frac{\partial \phi}{\partial z} = -\frac{\rho g}{\rho_o} </math><!--\eqno{(5)}-->
|(5)
|}


The final equation expresses the continuity equation
The final equation expresses the continuity equation
for an incompressible fluid:
for an incompressible fluid:


<math display="block">\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} + \frac{\partial w}{\partial z} = 0 </math><!--\eqno{(6)}-->
{| class="eqno"
|<math display="block">\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} + \frac{\partial w}{\partial z} = 0 </math><!--\eqno{(6)}-->
|(6)
|}


For the moment, the effects of forcing
For the moment, the effects of forcing
Line 35: Line 52:
{| border="1" cellspacing="0" cellpadding="5" align="center"
{| border="1" cellspacing="0" cellpadding="5" align="center"
| <math>{\cal D}_u, {\cal D}_v, {\cal D}_C</math>
| <math>{\cal D}_u, {\cal D}_v, {\cal D}_C</math>
|style="width: 350px;"| diffusive terms
|style="width: 350px;"| horizontal diffusive terms
|-
|-
| <math>{\cal F}_u, {\cal F}_v, {\cal F}_C</math>
| <math>{\cal F}_u, {\cal F}_v, {\cal F}_C</math>
Line 84: Line 101:
| <math>\zeta(x,y,t)</math>
| <math>\zeta(x,y,t)</math>
| the surface elevation
| the surface elevation
|-
|}
|}


These equations are closed by parameterizing the Reynolds stresses and turbulent tracer fluxes as:
In the ocean, vertical mixing due to molecular viscosity is extremely weak compared to the turbulent mixing, so the terms involving <math>\nu</math> and <math>\nu_\theta</math> can be neglected.
<math display="block">\overline{u'w'} = -K_M {\partial u \over \partial z};\qquad
 
To close these equations, parameterizations of the Reynolds stresses and turbulent tracer fluxes are introduced as functions of the other variables and vertical turbulent eddy viscosity and eddy diffusivity coefficients, <math>K_M</math> and <math>K_C</math>, respectively.
 
{| class="eqno"
|<math display="block">\overline{u'w'} = -K_M {\partial u \over \partial z};\qquad
\overline{v'w'} = -K_M {\partial v \over \partial z};\qquad
\overline{v'w'} = -K_M {\partial v \over \partial z};\qquad
\overline{C'w'} = -K_C {\partial C \over \partial z}. </math> <!--\eqno{(7)}-->
\overline{C'w'} = -K_C {\partial C \over \partial z}. </math> <!--\eqno{(7)}-->
An overbar represents a time average and a prime represents a
|(7)
fluctuation about the mean.
|}
 
An overbar represents a time average and a prime represents a fluctuation about the mean.
 
Details on ROMS options for computing <math>K_M</math> and <math>K_C</math> are described in [[Vertical Mixing Parameterizations]].


==Vertical Boundary Conditions==
==Vertical Boundary Conditions==
Line 98: Line 122:


:top (<math>z = \zeta(x,y,t))</math>:
:top (<math>z = \zeta(x,y,t))</math>:
<math display="block">\begin{align}&K_m \, \frac{\partial u}{\partial z} = \tau^x_s (x,y,t) \\
 
{| class="eqno"
|<math display="block">\begin{align}&K_m \, \frac{\partial u}{\partial z} = \tau^x_s (x,y,t) \\
&K_m \, \frac{\partial v}{\partial z} = \tau_s^y(x,y,t) \\
&K_m \, \frac{\partial v}{\partial z} = \tau_s^y(x,y,t) \\
&K_C \, \frac{\partial C}{\partial z} = {Q_C \over \rho_o c_P} \\
&K_C \, \frac{\partial C}{\partial z} = {Q_C \over \rho_o c_P} \\
&w = {\partial \zeta \over \partial t} \end{align}</math> <!--\eqno{(8)}-->
&w = {\partial \zeta \over \partial t} \end{align}</math> <!--\eqno{(8)}-->
|(8)
|}


:and bottom (<math>z = -h(x,y)</math>):
:and bottom (<math>z = -h(x,y)</math>):
<math display="block">\begin{align}&K_m \, \frac{\partial u}{\partial z} = \tau_b^x (x,y,t) \\
 
{| class="eqno"
|<math display="block">\begin{align}&K_m \, \frac{\partial u}{\partial z} = \tau_b^x (x,y,t) \\
&K_m \, \frac{\partial v}{\partial z} = \tau_b^y (x,y,t) \\
&K_m \, \frac{\partial v}{\partial z} = \tau_b^y (x,y,t) \\
&K_C \, \frac{\partial C}{\partial z} = 0 \\
&K_C \, \frac{\partial C}{\partial z} = 0 \\
&- w + \vec{v} \cdot \nabla h = 0 \end{align}</math> <!-- \eqno{(9)}-->
&- w + \vec{v} \cdot \nabla h = 0 \end{align}</math> <!-- \eqno{(9)}-->
|(9)
|}


The new variables above are:
The new variables above are:

Latest revision as of 17:05, 20 January 2022

Equations of Motion

The primitive equations in Cartesian coordinates are shown here. The momentum balance in the - and -directions are:

(1)
(2)

The time evolution of a scalar concentration field, (e.g. salinity, temperature, or nutrients), is governed by the advective-diffusive equation:

(3)

The equation of state is given by:

(4)

In the Boussinesq approximation, density variations are neglected in the momentum equations except in their contribution to the buoyancy force in the vertical momentum equation. Under the hydrostatic approximation, it is further assumed that the vertical pressure gradient balances the buoyancy force:

(5)

The final equation expresses the continuity equation for an incompressible fluid:

(6)

For the moment, the effects of forcing and horizontal dissipation will be represented by the schematic terms and , respectively. The horizontal and vertical mixing will be described more fully in Horizontal Mixing and Vertical Mixing Parameterizations. The variables used are shown here:

horizontal diffusive terms
forcing terms
Coriolis parameter
acceleration of gravity
bottom depth
molecular viscosity and diffusivity
vertical eddy viscosity and diffusivity
total pressure
dynamic pressure
total in situ density
salinity
time
potential temperature
the () components of vector velocity
horizontal coordinates
vertical coordinate
the surface elevation

In the ocean, vertical mixing due to molecular viscosity is extremely weak compared to the turbulent mixing, so the terms involving and can be neglected.

To close these equations, parameterizations of the Reynolds stresses and turbulent tracer fluxes are introduced as functions of the other variables and vertical turbulent eddy viscosity and eddy diffusivity coefficients, and , respectively.

(7)

An overbar represents a time average and a prime represents a fluctuation about the mean.

Details on ROMS options for computing and are described in Vertical Mixing Parameterizations.

Vertical Boundary Conditions

The vertical boundary conditions can be prescribed as follows:

top (:
(8)
and bottom ():
(9)

The new variables above are:

Variable Description
surface concentration flux
surface wind stress
bottom stress

The surface boundary condition variables are defined in the table above. Since is a strong function of the surface temperature, we usually choose to compute using the surface temperature and the atmospheric fields in an atmospheric bulk flux parameterization. This bulk flux routine also computes the wind stress from the winds.

On the variable bottom, , the horizontal velocity components are constrained to accommodate a prescribed bottom stress which is a choice of linear, quadratic, or a log layer, depending on the Options. The vertical scalar concentration fluxes may also be prescribed at the bottom, although they are usually set to zero.

Horizontal Boundary Conditions

As distributed, the model can easily be configured for a periodic channel, a doubly periodic domain, or a closed basin. Code is also included for open boundaries which may or may not work for your particular application. Appropriate boundary conditions are provided for , and , as described in Boundary Conditions.

The model domain is logically rectangular, but it is possible to mask out land areas on the boundary and in the interior. Boundary conditions on these masked regions are straightforward, with a choice of no-slip or free-slip walls.

If biharmonic friction is used, a higher order boundary condition must also be provided. The model currently has this built into the code where the biharmonic terms are calculated. The high order boundary conditions used for are on the eastern and western boundaries and on the northern and southern boundaries. The boundary conditions for and are similar. These boundary conditions were chosen because they preserve the property of no gain or loss of volume-integrated momentum or scalar concentration.