Difference between revisions of "Numerical Solution Technique"

From WikiROMS
Jump to navigationJump to search
Line 1: Line 1:
<div class="title">Numerical Solution Technique</div>
<div class="title">Numerical Solution Technique</div>


==Horizontal and Vertical Discretization==
==Horizontal Discretization==
 
In the horizontal, the ROMS governing equations are discretized over a boundary-fitted, orthogonal curvilinear coordinates (<span class="red">&xi;</span>, <span class="red">&eta;</span>) grid. The general formulation of the curvilinear coordinates system allows Cartesian, polar and spherical coordinates applications. The transformation of any of these coordinates to ROMS (<span class="red">&xi;</span>, <span class="red">&eta;</span>) grid is specified in the metric terms ([[Variables#pm |pm]], [[Variables#pn |pn]]). The state variables are staggered using an Arakawa C-grid, as illustrated below.


[[Image:staggered_grid_rho_cells.png|ROMS staggered rho grid]]
[[Image:staggered_grid_rho_cells.png|ROMS staggered rho grid]]
The free-surface ([[Variables#zeta |zeta]]), density ([[Variables#rho |&rho;]]), and active/passive tracers ([[Variables#t |t]]) are located at the center of the cell whereas the horizontal velocity ([[Variables#u |u]], [[Variables#v |v]]) are located at the (west/east, south/north) edges of the cell.
Coastal boundaries can also be specified as a finite-discretized grid via land/sea masking arrays ([[Variables#rmask |rmask]], [[Variables#umask |umask]], and [[Variables#vmask |vmask]]).
==Vertical Discretization==


The ROMS governing equations are discretized over variable topography using a stretched, terrain-following, vertical coordinate.  As a result, each grid cell may have different level thickness ([[Variables#Hz |Hz]]) and volume. The model state variables are vertically staggered so that horizontal momentum ([[Variables#u |u]], [[Variables#v |v]]), density, and tracers (active and passive) are located at the center of the grid cell. The vertical velocity ([[Variables#W |&omega;]], [[Variables#wvel |w]]) and vertical mixing variables ([[Variables#Akt |Akt]], [[Variables#Akv |Akv]], etc) are located at the bottom and top faces of cell. See diagram below.
The ROMS governing equations are discretized over variable topography using a stretched, terrain-following, vertical coordinate.  As a result, each grid cell may have different level thickness ([[Variables#Hz |Hz]]) and volume. The model state variables are vertically staggered so that horizontal momentum ([[Variables#u |u]], [[Variables#v |v]]), density, and tracers (active and passive) are located at the center of the grid cell. The vertical velocity ([[Variables#W |&omega;]], [[Variables#wvel |w]]) and vertical mixing variables ([[Variables#Akt |Akt]], [[Variables#Akv |Akv]], etc) are located at the bottom and top faces of cell. See diagram below.

Revision as of 22:21, 7 March 2008

Numerical Solution Technique

Horizontal Discretization

In the horizontal, the ROMS governing equations are discretized over a boundary-fitted, orthogonal curvilinear coordinates (ξ, η) grid. The general formulation of the curvilinear coordinates system allows Cartesian, polar and spherical coordinates applications. The transformation of any of these coordinates to ROMS (ξ, η) grid is specified in the metric terms (pm, pn). The state variables are staggered using an Arakawa C-grid, as illustrated below.

ROMS staggered rho grid

The free-surface (zeta), density (ρ), and active/passive tracers (t) are located at the center of the cell whereas the horizontal velocity (u, v) are located at the (west/east, south/north) edges of the cell.

Coastal boundaries can also be specified as a finite-discretized grid via land/sea masking arrays (rmask, umask, and vmask).

Vertical Discretization

The ROMS governing equations are discretized over variable topography using a stretched, terrain-following, vertical coordinate. As a result, each grid cell may have different level thickness (Hz) and volume. The model state variables are vertically staggered so that horizontal momentum (u, v), density, and tracers (active and passive) are located at the center of the grid cell. The vertical velocity (ω, w) and vertical mixing variables (Akt, Akv, etc) are located at the bottom and top faces of cell. See diagram below.

Vieste-Dubrovnik Transect
ROMS vertical grid

The total thickness of the water column is ζ(i,j)+h(i,j) . The bathymetry (h) is usually time invariant whereas the free-surface (ζ) evolves in time. However, in sediment applications h changes with time when SED_MORPH is activated. At input and output, the bathymetry is always a positive quantity. However, the depths z_r(i,j,k) and z_w(i,j,k) of every grid cell are negative quantities in ROMS.

Time-Stepping

Horizontal and Vertical Advection

Pressure Gradient