Rossby_front_2d_initialization module reference
Initial conditions for the 2D Rossby front test
Functions/Subroutines
Initialization of thicknesses in 2D Rossby front test |
|
Initialization of temperature and salinity in the Rossby front test |
|
Initialization of u and v in the Rossby front test |
|
Pseudo coordinate across domain used by Hml() and dTdy() returns a coordinate from -PI/2 .. PI/2 squashed towards the center of the domain [radians]. |
|
Analytic prescription of mixed layer depth in 2d Rossby front test, in the same units as max_depth (usually [Z ~> m] or [H ~> m or kg m-2]) |
|
Analytic prescription of mixed layer temperature gradient in [C L-1 ~> degC m-1] in 2d Rossby front test |
Detailed Description
Description of the 2d Rossby front initial conditions
Consistent with a linear equation of state, the system has a constant stratification below the mixed layer, stratified in temperature only. Isotherms are flat below the mixed layer and vertical within. Salinity is constant. The mixed layer has a half sine form so that there are no mixed layer or temperature gradients at the side walls.
Below the mixed layer the potential temperature, \(\theta(z)\), is given by
where \(\theta_0\) and \(\Delta \theta\) are external model parameters.
The depth of the mixed layer, \(H_{ML}\) is
. The temperature in mixed layer is given by the reference temperature at \(z=h_{ML}\) so that
Functions/Subroutine Documentation
- subroutine Rossby_front_initialize_thickness(h, G, GV, US, param_file, just_read)
Initialization of thicknesses in 2D Rossby front test
- Parameters
G [in]
Grid structure
GV [in]
Vertical grid structure
US [in]
A dimensional unit scaling type
h [out]
The thickness that is being initialized [H ~> m or kg m-2]
param_file [in]
A structure indicating the open file to parse for model parameter values.
just_read [in]
If true, this call will only read parameters without changing h.
Callees call graph
Text view
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_error_handler::mom_error
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_error_handler::mom_mesg
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_file_parser::interface::log_version
rossby_front_2d_initialization::rossby_front_initialize_thickness → regrid_consts::coordinatemode
rossby_front_2d_initialization::rossby_front_initialize_thickness → rossby_front_2d_initialization::hml
Callers call graph
- subroutine Rossby_front_initialize_temperature_salinity(T, S, h, G, GV, US, param_file, just_read)
Initialization of temperature and salinity in the Rossby front test
- Parameters
G [in]
Grid structure
GV [in]
The ocean's vertical grid structure.
T [out]
Potential temperature [C ~> degC]
S [out]
Salinity [S ~> ppt]
h [in]
Thickness [H ~> m or kg m-2]
US [in]
A dimensional unit scaling type
param_file [in]
Parameter file handle
just_read [in]
If true, this call will only read parameters without changing T & S.
Callees call graph
Text view
rossby_front_2d_initialization::rossby_front_initialize_temperature_salinity → mom_error_handler::mom_error
rossby_front_2d_initialization::rossby_front_initialize_temperature_salinity → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_temperature_salinity → rossby_front_2d_initialization::hml
Callers call graph
- subroutine Rossby_front_initialize_velocity(u, v, h, G, GV, US, param_file, just_read)
Initialization of u and v in the Rossby front test
- Parameters
G [in]
Grid structure
GV [in]
Vertical grid structure
u [out]
i-component of velocity [L T-1 ~> m s-1]
v [out]
j-component of velocity [L T-1 ~> m s-1]
h [in]
Thickness [H ~> m or kg m-2]
US [in]
A dimensional unit scaling type
param_file [in]
A structure indicating the open file to parse for model parameter values.
just_read [in]
If present and true, this call will only read parameters without setting u & v.
Callees call graph
Text view
rossby_front_2d_initialization::rossby_front_initialize_velocity → mom_error_handler::mom_error
rossby_front_2d_initialization::rossby_front_initialize_velocity → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_velocity → rossby_front_2d_initialization::dtdy
rossby_front_2d_initialization::rossby_front_initialize_velocity → rossby_front_2d_initialization::hml
Callers call graph
- real function yPseudo(G, lat)
Pseudo coordinate across domain used by Hml() and dTdy() returns a coordinate from -PI/2 .. PI/2 squashed towards the center of the domain [radians].
- Parameters
G [in]
Grid structure
lat [in]
Latitude in arbitrary units, often [km]
- real function Hml(G, lat, max_depth)
Analytic prescription of mixed layer depth in 2d Rossby front test, in the same units as max_depth (usually [Z ~> m] or [H ~> m or kg m-2])
- Parameters
G [in]
Grid structure
lat [in]
Latitude in arbitrary units, often [km]
max_depth [in]
The maximum depth of the ocean [Z ~> m] or [H ~> m or kg m-2]
Callees call graph
Callers call graph
Text view
rossby_front_2d_initialization::rossby_front_initialize_temperature_salinity → rossby_front_2d_initialization::hml
rossby_front_2d_initialization::rossby_front_initialize_thickness → rossby_front_2d_initialization::hml
rossby_front_2d_initialization::rossby_front_initialize_velocity → rossby_front_2d_initialization::hml
- real function dTdy(G, dT, lat, US)
Analytic prescription of mixed layer temperature gradient in [C L-1 ~> degC m-1] in 2d Rossby front test
- Parameters
G [in]
Grid structure
dT [in]
Top to bottom temperature difference [C ~> degC]
lat [in]
Latitude in the same units as geoLat, often [km]
US [in]
A dimensional unit scaling type