Kelvin_initialization module reference
Configures the model for the Kelvin wave experiment.
Kelvin = coastally-trapped Kelvin waves from the ROMS examples. Initialize with level surfaces and drive the wave in at the west, radiate out at the east.
Data Types
Control structure for Kelvin wave open boundaries. |
Functions/Subroutines
Add Kelvin wave to OBC registry. |
|
Clean up the Kelvin wave OBC from registry. |
|
This subroutine sets up the Kelvin topography and land mask |
|
This subroutine sets the properties of flow at open boundary conditions. |
Type Documentation
- type, public :: Kelvin_OBC_CS
Control structure for Kelvin wave open boundaries.
- Parameters
mode
Vertical mode
coast_angle
Angle of coastline [rad]
coast_offset1
Longshore distance to coastal angle [L ~> m]
coast_offset2
Offshore distance to coastal angle [L ~> m]
H0
Bottom depth [Z ~> m]
F_0
Coriolis parameter [T-1 ~> s-1]
rho_range
Density range [R ~> kg m-3]
rho_0
Mean density [R ~> kg m-3]
wave_period
Period of the mode-0 waves [T ~> s]
ssh_amp
Amplitude of the sea surface height forcing for mode-0 waves [Z ~> m]
inflow_amp
Amplitude of the boundary velocity forcing for internal waves [L T-1 ~> m s-1]
OBC_nudging_time
The timescale with which the inflowing open boundary velocities are nudged toward their intended values with the Kelvin wave test case [T ~> s], or a negative value to retain the value that is set when the OBC segments are initialized.
indexing_bugs
If true, retain several horizontal indexing bugs that were in the original version of Kelvin_set_OBC_data.
Functions/Subroutine Documentation
- logical function register_Kelvin_OBC(param_file, CS, US, OBC_Reg)
Add Kelvin wave to OBC registry.
- Parameters
param_file [in]
parameter file.
CS
Kelvin wave control structure.
US [in]
A dimensional unit scaling type
OBC_Reg
OBC registry.
mdl
This subroutine's name.
casename
This case's name.
Callees call graph
Text view
kelvin_initialization::register_kelvin_obc → mom_error_handler::mom_error
kelvin_initialization::register_kelvin_obc → mom_file_parser::interface::get_param
kelvin_initialization::register_kelvin_obc → mom_file_parser::interface::log_version
kelvin_initialization::register_kelvin_obc → mom_open_boundary::register_obc
Callers call graph
- subroutine Kelvin_OBC_end(CS)
Clean up the Kelvin wave OBC from registry.
- Parameters
CS
Kelvin wave control structure.
Callers call graph
- subroutine Kelvin_initialize_topography(D, G, param_file, max_depth, US)
This subroutine sets up the Kelvin topography and land mask
- Parameters
G [in]
The dynamic horizontal grid type
D [out]
Ocean bottom depth [Z ~> m]
param_file [in]
Parameter file structure
max_depth [in]
Maximum model depth [Z ~> m]
US [in]
A dimensional unit scaling type
Callees call graph
Callers call graph
- subroutine Kelvin_set_OBC_data(OBC, CS, G, GV, US, h, Time)
This subroutine sets the properties of flow at open boundary conditions.
- Parameters
OBC
This open boundary condition type specifies whether, where, and what open boundary conditions are used.
CS
Kelvin wave control structure.
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
US [in]
A dimensional unit scaling type
h [in]
layer thickness [H ~> m or kg m-2].
Time [in]
model time.