MOM_CVMix_conv module reference
Interface to CVMix convection scheme.
Data Types
Control structure including parameters for CVMix convection. |
Functions/Subroutines
Initialized the CVMix convection mixing routine. |
|
Subroutine for calculating enhanced diffusivity/viscosity due to convection via CVMix |
|
Reads the parameter "USE_CVMix_CONVECTION" and returns state. This function allows other modules to know whether this parameterization will be used without needing to duplicate the log entry. |
Type Documentation
- type, public :: CVMix_conv_cs
Control structure including parameters for CVMix convection.
- Parameters
kd_conv_const
diffusivity constant used in convective regime [Z2 T-1 ~> m2 s-1]
kv_conv_const
viscosity constant used in convective regime [Z2 T-1 ~> m2 s-1]
bv_sqr_conv
Threshold for squared buoyancy frequency needed to trigger Brunt-Vaisala parameterization [T-2 ~> s-2]
min_thickness
Minimum thickness allowed [Z ~> m]
debug
If true, turn on debugging
id_N2
Diagnostics handles
id_kd_conv
Diagnostics handles
id_kv_conv
Diagnostics handles
Functions/Subroutine Documentation
- logical function CVMix_conv_init(Time, G, GV, US, param_file, diag, CS)
Initialized the CVMix convection mixing routine.
- Parameters
Time [in]
The current time.
G [in]
Grid structure.
GV [in]
Vertical grid structure.
US [in]
A dimensional unit scaling type
param_file [in]
Run-time parameter file handle
diag [inout]
Diagnostics control structure.
CS [inout]
CVMix convection control structure
prandtl_conv
Turbulent Prandtl number used in convective instabilities [nondim]
useEPBL
If True, use the ePBL boundary layer scheme.
Callees call graph
Text view
mom_cvmix_conv::cvmix_conv_init → mom_diag_mediator::register_diag_field
mom_cvmix_conv::cvmix_conv_init → mom_error_handler::mom_error
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::closeparameterblock
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::interface::get_param
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::interface::log_version
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::openparameterblock
Callers call graph
External calls
- cvmix_convection
CVMix_init_conv (cvmix_convection::cvmix_init_conv)
- subroutine calculate_CVMix_conv(h, tv, G, GV, US, CS, hbl, Kd, Kv, Kd_aux)
Subroutine for calculating enhanced diffusivity/viscosity due to convection via CVMix
- Parameters
G [in]
Grid structure.
GV [in]
Vertical grid structure.
US [in]
A dimensional unit scaling type
h [in]
Layer thickness [H ~> m or kg m-2].
tv [in]
Thermodynamics structure.
CS [in]
CVMix convection control structure
hbl [in]
Depth of ocean boundary layer [Z ~> m]
Kd [inout]
Diapycnal diffusivity at each interface that will be incremented here [H Z T-1 ~> m2 s-1 or kg m-1 s-1]
Kv [inout]
Viscosity at each interface that will be incremented here [H Z T-1 ~> m2 s-1 or Pa s]
Kd_aux [inout]
A second diapycnal diffusivity at each interface that will also be incremented here [H Z T-1 ~> m2 s-1 or kg m-1 s-1]
rho_lwr
Adiabatic Water Density [kg m-3], this is a dummy variable since here convection is always computed based on Brunt Vaisala.
rho_1d
water density in a column [kg m-3], this is also a dummy variable, same reason as above.
N2
Squared buoyancy frequency [s-2]
kv_col
Viscosities at interfaces in the column [m2 s-1]
kd_col
Diffusivities at interfaces in the column [m2 s-1]
iFaceHeight
Height of interfaces [Z ~> m]
cellHeight
Height of cell centers [Z ~> m]
kd_conv
Diffusivity added by convection for diagnostics [Z2 T-1 ~> m2 s-1]
kv_conv
Viscosity added by convection for diagnostics [Z2 T-1 ~> m2 s-1]
N2_3d
Squared buoyancy frequency for diagnostics [T-2 ~> s-2]
kOBL
level of ocean boundary layer extent
Callees call graph
Text view
mom_cvmix_conv::calculate_cvmix_conv → mom_checksums::interface::hchksum
mom_cvmix_conv::calculate_cvmix_conv → mom_diag_mediator::interface::post_data
mom_cvmix_conv::calculate_cvmix_conv → mom_eos::interface::calculate_density
mom_cvmix_conv::calculate_cvmix_conv → mom_interface_heights::interface::thickness_to_dz
Callers call graph
External calls
- cvmix_convection
CVMix_coeffs_conv (cvmix_convection::cvmix_coeffs_conv)
- cvmix_kpp
CVMix_kpp_compute_kOBL_depth (cvmix_kpp::cvmix_kpp_compute_kobl_depth)
- logical function CVMix_conv_is_used(param_file)
Reads the parameter "USE_CVMix_CONVECTION" and returns state. This function allows other modules to know whether this parameterization will be used without needing to duplicate the log entry.
- Parameters
param_file [in]
A structure to parse for run-time parameters