Download Kate`s Draft Manual

Transcript
Contents
1 Introduction
1
2 Getting started
2.1 myroms.org . . . . . . . . . . . . . . . .
2.2 Prerequisites . . . . . . . . . . . . . . .
2.3 Acquiring the ROMS code . . . . . . . .
2.4 Compiling ROMS . . . . . . . . . . . . .
2.4.1 Environment Variables for make
2.4.2 Providing the Environment . . .
2.4.3 Build scripts . . . . . . . . . . .
2.5 Running ROMS . . . . . . . . . . . . . .
2.6 Warnings and bugs . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3 Ocean Model Formulation
3.1 Equations of motion . . . . . . . . .
3.2 Vertical boundary conditions . . . .
3.3 Horizontal boundary conditions . . .
3.4 Terrain-following coordinate system
3.5 Horizontal curvilinear coordinates . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
8
. 8
. 9
. 10
. 10
. 11
4 Numerical Solution Technique
4.1 Vertical and horizontal discretization . . . . . . . . . . . . .
4.1.1 Horizontal grid . . . . . . . . . . . . . . . . . . . . .
4.1.2 Vertical grid . . . . . . . . . . . . . . . . . . . . . .
4.2 Masking of land areas . . . . . . . . . . . . . . . . . . . . .
4.2.1 Velocity . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2 Temperature, salinity and surface elevation . . . . .
4.2.3 Wetting and drying . . . . . . . . . . . . . . . . . .
4.3 Time-stepping overview . . . . . . . . . . . . . . . . . . . .
4.4 Conservation properties . . . . . . . . . . . . . . . . . . . .
4.5 Depth-integrated equations . . . . . . . . . . . . . . . . . .
4.6 Density in the mode coupling . . . . . . . . . . . . . . . . .
4.7 Time stepping: internal velocity modes and tracers . . . . .
4.8 Advection schemes . . . . . . . . . . . . . . . . . . . . . . .
4.8.1 Second-order Centered . . . . . . . . . . . . . . . . .
4.8.2 Fourth-order Centered . . . . . . . . . . . . . . . . .
4.8.3 Fourth-order Akima . . . . . . . . . . . . . . . . . .
4.8.4 Third-order Upwind . . . . . . . . . . . . . . . . . .
4.9 Determination of the vertical velocity and density fields . .
4.10 Horizontal mixing . . . . . . . . . . . . . . . . . . . . . . . .
4.10.1 Deviatory stress tensor . . . . . . . . . . . . . . . . .
4.10.2 Transverse stress tensor . . . . . . . . . . . . . . . .
4.10.3 Rotated Transverse Stress Tensor . . . . . . . . . . .
4.10.4 Biharmonic . . . . . . . . . . . . . . . . . . . . . . .
4.11 Vertical mixing schemes . . . . . . . . . . . . . . . . . . . .
4.11.1 Mellor-Yamada . . . . . . . . . . . . . . . . . . . . .
4.11.2 The Large, McWilliams and Doney parameterization
4.12 Timestepping vertical viscosity and diffusion . . . . . . . . .
4.13 Open boundary conditions . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
3
3
3
3
4
4
5
6
6
7
13
13
13
13
14
14
14
15
15
17
18
20
22
22
23
23
24
24
25
25
25
27
27
28
28
29
30
33
35