sloshing_initialization module reference
Initialization for the "sloshing" internal waves configuration.
Functions/Subroutines
Initialization of topography. |
|
Initialization of thicknesses This routine is called when THICKNESS_CONFIG is set to 'sloshing' |
|
Initialization of temperature and salinity |
Detailed Description
The module configures the model for the non-rotating sloshing test case.
Functions/Subroutine Documentation
- subroutine sloshing_initialize_topography(D, G, param_file, max_depth)
Initialization of topography.
- 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 ocean depth [Z ~> m]
Callers call graph
- subroutine sloshing_initialize_thickness(h, depth_tot, G, GV, US, param_file, just_read)
Initialization of thicknesses This routine is called when THICKNESS_CONFIG is set to 'sloshing'
This routine initializes layer positions to set off a sloshing motion in the zonal direction in a rectangular basin. All layers have initially the same thickness but all interfaces (except bottom and sea surface) are displaced according to a half-period cosine, with maximum value on the left and minimum value on the right. This sets off a regular sloshing motion.
- Parameters
G [in]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
US [in]
A dimensional unit scaling type
h [out]
The thickness that is being initialized [Z ~> m]
depth_tot [in]
The nominal total depth of the ocean [Z ~> m]
param_file [in]
A structure to parse for model parameter values.
just_read [in]
If true, this call will only read parameters without changing h.
mdl
This module's name.
Callees call graph
Callers call graph
- subroutine sloshing_initialize_temperature_salinity(T, S, h, G, GV, US, param_file, just_read)
Initialization of temperature and salinity
This subroutine initializes linear profiles for T and S according to reference surface layer salinity and temperature and a specified range. Note that the linear distribution is set up with respect to the layer number, not the physical position).
- Parameters
G [in]
Ocean grid structure.
GV [in]
The ocean's vertical grid structure.
T [out]
Potential temperature [C ~> degC].
S [out]
Salinity [S ~> ppt].
h [in]
Layer thickness [Z ~> m].
US [in]
A dimensional unit scaling type
param_file [in]
A structure to parse for model parameter values.
just_read [in]
If true, this call will only read parameters without changing T & S.