Model help:ROMS

From CSDMS
Revision as of 11:51, 22 July 2011 by Happyfei (talk | contribs)
The CSDMS Help System

ROMS

ROMS is a community model shared by a large user group around the world, with applications ranging from the study of entire ocean basins to coastal sub-regions.

Model introduction

ROMS incorporates advanced features and high-order numerics, allowing efficient and robust resolution of mesoscale dynamics in the oceanic and coastal domains. The model solves the free surface, hydrostatic, primitive equations of the fluid dynamics over variable topography using stretched; terrain-following coordinates in the vertical and orthogonal, curvilinear coordinates in the horizontal. This allows enhancement of the spatial resolution in the regions of interest.

Model parameters

Parameter Description Unit
Input directory Path to input directory -
Input File name Name of input file -
Site prefix Site prefix for input/output files -
Case prefix Case prefix for input/output files -
ROMS application title - -
C-preprocessing flag - -
Variable information filename - -
Runinterval timestep multiplied by timestep size (In cases where input is read from a file rather than GUI second
Parameter Description Unit
Number of nested grids - -
Number of nodes in I-direction number of I-direction interior rho-points -
Number of nodes in J-direction number of J-direction interior rho-points -
Number of vertical levels - -
Number of sediment bed layers - -
Number of active tracers usually 2; e.g., temperature and salinity -
Number of inactive passive tracers - -
Number of cohesive (mud) sediment tracers - -
Number of non-cohesive (sand) sediment tracers - -
Number of titles in I-direction used for parallel mode -
Number of titles in J-direction used for parallel mode -
Parameter Description Unit
Number of timesteps - -
Timestep size - seconds
Number of barotropic steps - -
Starting perturbation or iteration - -
Ending perturbation or iteration - -
Max number of 4DVar outer loop iterations - -
Max number of 4DVar inner loop iterations - -
Number of stochastic optimals interval divisions - -
Number of eigenvalues for GST analysis - -
Number of eigenvectors for GST analysis - -
Parameter Description Unit
Model restart flag - -
Switch to recycle restart records True (T) or False (F) -
Number of time-steps between restart records - -
Number of time-steps between stations records - -
Number of time-steps between floats records - -
Number of time-steps between info diagnostics - -
Switch to create (T) or append (F) files True (T) or False (F) -
Number of time-steps between history records - -
Number of time-steps between creation of new history file - -
Starting averages timestep - -
Number of time-steps between averages records - -
Number of time-steps between creation of new averages file - -
Starting diagnostics timestep - -
Number of time-steps between diagnostics records - -
Number of time-steps between creation of new diagnostics file - -
Number to recycle TLM time records True (T) or False (F) -
Number of time-steps between creation of new TLM file - -
Switch to recycle ADM time records True (T) or False (F) -
Number of time-steps between ADM records - -
Number of time-steps between creation of new ADM file - -
Number of time-steps between 4DVAR adjustment of SFF Number of time-steps between 4DVAR adjustment of surface forcing flux -
Number of time-steps between 4DVAR adjustment of OBF Number of time-steps between 4DVAR adjustment of open boundary fields -
Switch for GST restart Generalized Stability Theory restart switch (T or F) -
Maximum number of iterations for GST Maximum number of iterations for Generalized Stability Theory -
Checking point interval for GST Checking point interval for Generalized Stability Theory -
Parameter Description Unit
Relative accuracy of Ritz values in GST Relative accuracy of Ritz values in Generalized Stability Theory -
Harmonic horiz. diffusion coeff. for tracers (I-dir, NLM) Harmonic horizontal diffusion coefficient for tracers in NONLINEAR model in I-direction m2/s
Harmonic horiz. diffusion coeff. for tracers (J-dir, NLM) Harmonic horizontal diffusion coefficient for tracers in NONLINEAR model in J-direction m2/s
Biharmonic horiz. diffusion for tracers (I-dir, NLM) Biharmonic horizontal diffusion coefficient for tracers in NONLINEAR model in I-direction m4/s
Biharmonic horiz. diffusion for tracers (J-dir, NLM) Biharmonic horizontal diffusion coefficient for tracers in NONLINEAR model in J-direction m4/s
Harmonic horiz. diffusion coeff. for tracers (I-dir, ADJ) Harmonic horizontal diffusion coefficient for tracers in ADJOINT model in the I-direction m2/s
Harmonic horiz. diffusion coeff. for tracers (J-dir, ADJ) Harmonic horizontal diffusion coefficient for tracers in ADJOINT model in the I-direction m2/s
Biharmonic horiz. diffusion for tracers (I-dir, ADJ) Biharmonic horizontal diffusion coefficient for tracers in ADJOINT model in I-direction m4/s
Biharmonic horiz. diffusion for tracers (J-dir, NLM) Biharmonic horizontal diffusion coefficient for tracers in ADJOINT model in J-direction m4/s
Harmonic horiz. viscosity coeff. (NLM) Harmonic horizontal viscosity coefficient in NONLINEAR model m2/s
Biharmonic horiz. viscosity coeff. (NLM) Biharmonic horizontal viscosity coefficient in NONLINEAR model m4/s
Harmonic horiz. viscosity coeff. (ADJ) Harmonic horizontal viscosity coefficient in ADJOINT model m2/s
Biharmonic horiz. viscosity coeff. (ADJ) Biharmonic horizontal viscosity coefficient in ADJOINT model m4/s
Background vert. mixing coeff. for active tracers (NLM) Background vertical mixing coefficient for active tracers in NOLINEAR model m2/s
Background vert. mixing coeff. for passive tracers (NLM) Background vertical mixing coefficient for passive tracers in NOLINEAR model m2/s
Background vert. mixing coeff. for active tracers (ADI) Background vertical mixing coefficient for active tracers in ADJOINT model -
Background vert. mixing coeff. for passive tracers (ADI) Background vertical mixing coefficient for passive tracers in ADJOINT model -
Background vert. mixing coeff. for momentum (NLM) Background vertical mixing coefficient for momentum in NOLINEAR model m2/s
Background vert. mixing coeff. for momentum (ADJ) Background vertical mixing coefficient for momentum in ADJOINT model -
Parameter Description Unit
Turbulent closure parameter 1 - m2/s
Turbulent closure parameter 2 - m2/s
Turbulent closure parameter 3 - m2/s
Turbulent closure parameter 3 - m4/s
K-epsilon parameter for GLS K-epsilon parameter (Generic Length Scale closure) -
Turbulent kinetic energy exponent for GLS Turbulent kinetic energy exponent (Generic Length Scale closure) -
Turbulent length scale exponent for GLS Turbulent length scale exponent (Generic Length Scale closure) -
Min value of specific turbulent energy for GLS Min value of specific turbulent energy (Generic Length Scale closure) -
Min value of dissipation for GLS Min value of dissipation (Generic Length Scale closure) -
Stability coefficient (GLS, closure indep.) Stability coefficient (Generic Length Scale closure) -
Shear production coefficient (GLS, closure indep.) Shear production coefficient (Generic Length Scale closure) -
Dissipation coefficient (GLS, closure indep.) Dissipation coefficient (Generic Length Scale closure) -
Buoyancy production coefficient, minus (GLS, closure indep) Buoyancy production coefficient, minus (Generic Length Scale closure) -
Buoyancy production coefficient, plus (GLS, closure indep.) Buoyancy production coefficient, plus (Generic Length Scale closure) -
Constant Schmidt number for turb.KE diffusivity (GLS, closure indep.) Constant schmidt number for turbulent kinetic energy diffusivity (Generic Length Scale closure) -
Constant Schmidt number for turb. "psi" field (GLS, closure indep.) Constant schmidt number for turbulent generic statistical field, "psi" (Generic Length Scale closure) -
Charnok surface roughness - -
Roughness from wave amplitude - -
Roughness from wave dissipation - -
Graig and Banner wave breaking coefficient - -
Parameter Description Unit
Momentum stress constant 1 constant used in momentum stress computation m/s
Momentum stress constant 2 constant used in momentum stress computation -
Momentum stress constant 3 constant used in momentum stress computation m
Momentum stress constant 4 constant used in momentum stress computation m
Height of measurement for air humidity (bulk flux) Height of atmospheric measurement for air humidity (bulk flux) m
Height of measurement for air temperature (bulk flux) Height of atmospheric measurement for air temperature (bulk flux) m
Height of measurement for winds (bulk flux) Height of atmospheric measurement for winds (bulk flux) m
Min depth for wetting and drying - m
Jerlov water type for shortwave radiation depth scale Jerlov water type used to set vertical depth scale for shortwave radiation depth scale -
Deepest level to apply surf. momentum stress as a body force - -
Shallowest level to apply surf. momentum stress as a body force - -
Mean water density - kg/m3
Brunt-Vaisala frequency - 1/s2
Time-stamp for model initialization - days
Reference time origin for tidal forcing - days
Model reference time for output NetCDF units attribute - yyyymmdd.dd
Nudging/relaxation time scale 1 - days
Nudging/relaxation time scale 2 - days
Nudging/relaxation time scale 3 - days
Nudging/relaxation time scale 4 - days
Nudging/relaxation time scale 5 - days
Factor between passive and active open BCs Factor between passive (outflow) and active (inflow) open boundary conditions -
Linear equation of state density parameter - kg/m3
Linear equation of state temperature parameter - Celsius
Linear equation of state salinity parameter - PSU
Linear equation of state temperature coeff. - 1/Celsius
Linear equation of state salinity coeff. - 1/PSU
Slipperiness parameter: 1.0 (free slip) or -1.0 (no slip) - -
Switch to use point sources/sinks for temperature True (T) or False (F) -
Switch to use point sources/sinks for salinity True (T) or False (F) -
Switch to use point sources/sinks for intert tracer 1 True (T) or False (F) -
Parameter Description Unit
Choice of vertical transformation equation Choice of vertical transformation equation for terrain-following coordinates (1 or 2) -
Choice of vertical stretching function Choice of vertical stretching function for terrain-following coordinates (1,2 or 3) -
Surface control parameter for terrain-following coords Surface control/stretching parameter for terrain-following coords -
Bottom control parameter for terrain-following coords Bottom control/stretching parameter for terrain-following coords -
Width of surface or bottom layer which requires higher-res stretch - m
Parameter Description Unit
Model name Name of the model -
Author name name of the model author -

Uses ports

This will be something that the CSDMS facility will add

Provides ports

This will be something that the CSDMS facility will add

Main equations

1) Equations of motion a) Momentum balance in the x-directions, respectively

[math]\displaystyle{ {frac{\partial u}{\partial t}} + \vec{v} \nabla u - fv = -{\frac{\partial \phi}{\partial x}} + F_{u} + D_{u} }[/math] (1)

b) Momentum balance in the y-directions, respectively

[math]\displaystyle{ {frac{\partial v}{\partial t}} + \vec{v} \nabla u - fv = -{\frac{\partial \phi}{\partial y}} + F_{v} + D_{v} }[/math] (2)

c) Advective-diffusive equations for temperature

[math]\displaystyle{ {\frac{\partial T}{\partial t}} + \vec{v} \nabla T = F_{T} + D_{T} }[/math] (3)

d) Advective-diffusive equations for salinity

[math]\displaystyle{ {\frac{\partial S}{\partial t}} + \vec{v} \nabla S = F_{S} + D_{S} }[/math] (4)

e) Equation of state

[math]\displaystyle{ \rho = \rho \left (T,S,P \right ) }[/math] (5)

f) Vertical momentum equation

[math]\displaystyle{ {\frac{\partial \rho}{\partial z}} = {\frac{- \rho g}{\rho_{o}}} }[/math] (6)

g) continuity equation for an incompressible fluid

[math]\displaystyle{ {\frac{\partial u}{\partial x}} + {\frac{\partial v}{\partial y}} + {\frac{\partial w}{\partial z}} = 0 }[/math] (7)

2) Vertical boundary conditions a) top boundary condition ( z = ζ (x,y,t ))

[math]\displaystyle{ K_{m} {\frac{\partial u}{\partial z}} = \tau_{S}^x \left (x,y,t \right ) }[/math] (8)
[math]\displaystyle{ K_{m} {\frac{\partial v}{\partial z}} = \tau_{S}^y \left (x,y,t \right ) }[/math] (9)
[math]\displaystyle{ K_{T} {\frac{\partial T}{\partial z}} = {\frac{Q_{T}}{\rho_{O} c_{P}}} + {\frac{1}{\rho_{O} c_{P}}}{\frac{d Q_{T}}{dT}} \left ( T - T_{ref} \right ) }[/math] (10)
[math]\displaystyle{ K_{S} {\frac{\partial S}{\partial z}} = \left (E - P \right ) S }[/math] (11)
[math]\displaystyle{ w = {\frac{\partial \zeta}{\partial t}} }[/math] (12)

b) bottom boundary condition (z = -h(x,y))

[math]\displaystyle{ K_{m}{\frac{\partial u}{\partial z}} = \tau _{b}^x \left (x,y,t \right ) }[/math] (13)
[math]\displaystyle{ K_{m}{\frac{\partial v}{\partial z}} = \tau _{b}^y \left (x,y,t \right ) }[/math] (14)
[math]\displaystyle{ K_{T}{\frac{\partial T}{\partial z}} = 0 }[/math] (15)
[math]\displaystyle{ K_{S}{\frac{\partial S}{\partial z}} = 0 }[/math] (16)
[math]\displaystyle{ -w + \vec{v} \nabla h = 0 }[/math] (17)

Notes

Any notes, comments, you want to share with the user

Numerical scheme


Examples

An example run with input parameters, BLD files, as well as a figure / movie of the output

Follow the next steps to include images / movies of simulations:

See also: Help:Images or Help:Movies

Developer(s)

Name of the module developer(s)

References

Key papers

Links

Any link, eg. to the model questionnaire, etc.