MOM6
|
Initialization for the "sloshing" internal waves configuration.
The module configures the model for the non-rotating sloshing test case.
Functions/Subroutines | |
subroutine, public | sloshing_initialize_topography (D, G, param_file, max_depth) |
Initialization of topography. More... | |
subroutine, public | sloshing_initialize_thickness (h, G, GV, US, param_file, just_read_params) |
Initialization of thicknesses This routine is called when THICKNESS_CONFIG is set to 'sloshing'. More... | |
subroutine, public | sloshing_initialize_temperature_salinity (T, S, h, G, GV, param_file, eqn_of_state, just_read_params) |
Initialization of temperature and salinity. More... | |
subroutine, public sloshing_initialization::sloshing_initialize_temperature_salinity | ( | real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(out) | T, |
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(out) | S, | ||
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(in) | h, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(param_file_type), intent(in) | param_file, | ||
type(eos_type), pointer | eqn_of_state, | ||
logical, intent(in), optional | just_read_params | ||
) |
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).
[in] | g | Ocean grid structure. |
[in] | gv | The ocean's vertical grid structure. |
[out] | t | Potential temperature [degC]. |
[out] | s | Salinity [ppt]. |
[in] | h | Layer thickness [H ~> m or kg m-2]. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
eqn_of_state | Equation of state structure. | |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 181 of file sloshing_initialization.F90.
Referenced by mom_state_initialization::mom_initialize_state().
subroutine, public sloshing_initialization::sloshing_initialize_thickness | ( | real, dimension( g %isd: g %ied, g %jsd: g %jed, gv %ke), intent(out) | h, |
type(ocean_grid_type), intent(in) | G, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(unit_scale_type), intent(in) | US, | ||
type(param_file_type), intent(in) | param_file, | ||
logical, intent(in), optional | just_read_params | ||
) |
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.
[in] | g | The ocean's grid structure. |
[in] | gv | The ocean's vertical grid structure. |
[in] | us | A dimensional unit scaling type |
[out] | h | The thickness that is being initialized [H ~> m or kg m-2]. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 57 of file sloshing_initialization.F90.
subroutine, public sloshing_initialization::sloshing_initialize_topography | ( | real, dimension(g%isd:g%ied,g%jsd:g%jed), intent(out) | D, |
type(dyn_horgrid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
real, intent(in) | max_depth | ||
) |
Initialization of topography.
[in] | g | The dynamic horizontal grid type |
[out] | d | Ocean bottom depth in the units of depth_max |
[in] | param_file | Parameter file structure |
[in] | max_depth | Maximum ocean depth in arbitrary units |
Definition at line 32 of file sloshing_initialization.F90.
Referenced by mom_fixed_initialization::mom_initialize_topography().