ROMS is a 4D modeling system. It is a 3-dimensional model (a 2D horizontal grid and a vertical grid) that can be run over a given amount of time, time being the 4th dimension. It is gridded into vertical levels that make up the water column and horizontal cells that make up the coordinates of the 2D cartesian plane of the model region.
Kernel Central to the ROMS framework are four models that form what is called the dynamical/numerical core or kernel: • Non-Linear Model kernel (NLM): NLROMS • Perturbation Tangent Linear Model kernel (TLM): TLROMS • Finite-amplitude tangent linear Representer Model kernel (RPM): RPROMS • Adjoint Model kernel (ADM): ADROMS
Vertical grid The vertical grid is a hybrid stretched grid. It is hybrid in that its stretching intervals fall somewhere between the two extremes of 1) the evenly-spaced sigma grid used by the
Princeton Ocean Model and 2) a true z-grid with a static depth interval . The vertical grid can be squeezed or stretched to increase or decrease the resolution for an area of interest, such as a
thermocline or bottom boundary layer. Grid stretching in the vertical direction follows bottom topography, allowing for the idealized flow of water over features such as seamounts. The numbering of the vertical grid goes from the bottom waters upward to the air-water interface: the bottom water level is level 1 and the topmost surface water level is the highest number (such as level 20). With a coupled sediment module, the numbering of the sediment seabed levels goes from the sediment-water interface downward: the topmost seabed level is level 1 and the deepest seabed level is the highest number.
Horizontal grid The horizontal grid is a structured grid, meaning that it has a rectangular 4-sided grid cell structure. The horizontal grid is also an orthogonal curvilinear grid, meaning that it maximizes ocean grid cells of interest and minimizes extra land grid cells. The horizontal grid is also a staggered grid or
Arakawa-C grid, where the velocities in the north-south and east-west directions are calculated at the edges of each grid cell, while the values for scalar variables such as density are calculated at the center of each grid cell, known as "rho-points."
Physics In both the vertical and horizontal directions, the default equations use centered, second-order
finite difference schemes. Higher order schemes are available if desired, for example using parabolic spline reconstruction. In general, the physical schemes used by ROMS are based on three governing equations: •
Continuity • Conservation of momentum (
Navier-Stokes) • Transport equations of tracer variables (such as salinity and temperature) Equations are coupled to solve for five unknowns at each location in the model grid using numerical solutions: • East-west velocity (u) • North-south velocity (v) • Vertical velocity (w) • Salinity • Temperature == Source code ==