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. |
Detailed Description
Interface to CVMix convection scheme.
Type Documentation
- type mom_cvmix_conv/cvmix_conv_cs
Control structure including parameters for CVMix convection.
- Type fields:
% id_n2 ::
integerDiagnostics handles.% id_kd_conv ::
integerDiagnostics handles.% id_kv_conv ::
integerDiagnostics handles.% kd_conv_const ::
realdiffusivity constant used in convective regime [Z2 T-1 ~> m2 s-1]% kv_conv_const ::
realviscosity constant used in convective regime [Z2 T-1 ~> m2 s-1]% bv_sqr_conv ::
realThreshold for squared buoyancy frequency needed to trigger Brunt-Vaisala parameterization [T-2 ~> s-2].% min_thickness ::
realMinimum thickness allowed [Z ~> m].% debug ::
logicalIf true, turn on debugging.% diag ::
type(diag_ctrl), pointerPointer to diagnostics control structure.
Function/Subroutine Documentation
- function mom_cvmix_conv/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 ::
param_file[in] Run-time parameter file handlediag ::
diag[inout] Diagnostics control structure.cs :: [inout] CVMix convection control structure
- Call to:
- subroutine mom_cvmix_conv/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 ::
h[in] Layer thickness [H ~> m or kg m-2].tv ::
tv[in] Thermodynamics structure.cs :: [in] CVMix convection control structure
hbl ::
hbl[in] Depth of ocean boundary layer [Z ~> m]kd :: [inout] Diapycnal diffusivity at each interface
kv :: [inout] Viscosity at each interface that will be
kd_aux :: [inout] A second diapycnal diffusivity at each
- Called from:
mom_diabatic_driver::diabatic_alemom_diabatic_driver::diabatic_ale_legacymom_diabatic_driver::layered_diabatic
- function mom_cvmix_conv/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 ::
param_file[in] A structure to parse for run-time parameters- Call to:
mdl- Called from: