SCM_CVMix_tests module reference
Initial conditions and forcing for the single column model (SCM) CVMix test set.
Data Types
Container for surface forcing parameters |
Functions/Subroutines
Initializes temperature and salinity for the SCM CVMix test example |
|
Initializes surface forcing for the CVMix test case suite |
|
Type Documentation
- type SCM_CVMix_tests_CS
Container for surface forcing parameters
- Parameters
UseWindStress
True to use wind stress
UseHeatFlux
True to use heat flux
UseEvaporation
True to use evaporation
UseDiurnalSW
True to use diurnal sw radiation
tau_x
(Constant) Wind stress, X [R L Z T-2 ~> Pa]
tau_y
(Constant) Wind stress, Y [R L Z T-2 ~> Pa]
surf_HF
(Constant) Heat flux [C Z T-1 ~> m degC s-1]
surf_evap
(Constant) Evaporation rate [Z T-1 ~> m s-1]
Max_sw
maximum of diurnal sw radiation [C Z T-1 ~> degC m s-1]
Rho0
reference density [R ~> kg m-3]
rho_restore
The density that is used to convert piston velocities into salt or heat fluxes [R ~> kg m-3]
Functions/Subroutine Documentation
- subroutine SCM_CVMix_tests_TS_init(T, S, h, G, GV, US, param_file, just_read)
Initializes temperature and salinity for the SCM CVMix test example
- Parameters
G [in]
Grid structure
GV [in]
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]
Input parameter structure
just_read [in]
If present and true, this call will only read parameters without changing T & S.
UpperLayerTempMLD
Upper layer Temp MLD thickness [Z ~> m].
UpperLayerSaltMLD
Upper layer Salt MLD thickness [Z ~> m].
UpperLayerTemp
Upper layer temperature (SST if thickness 0) [C ~> degC]
UpperLayerSalt
Upper layer salinity (SSS if thickness 0) [S ~> ppt]
LowerLayerTemp
Temp at top of lower layer [C ~> degC]
LowerLayerSalt
Salt at top of lower layer [S ~> ppt]
LowerLayerdTdz
Temp gradient in lower layer [C Z-1 ~> degC m-1].
LowerLayerdSdz
Salt gradient in lower layer [S Z-1 ~> ppt m-1].
LowerLayerMinTemp
Minimum temperature in lower layer [C ~> degC]
Callees call graph
Callers call graph
- subroutine SCM_CVMix_tests_surface_forcing_init(Time, G, param_file, CS)
Initializes surface forcing for the CVMix test case suite
- Parameters
Time [in]
Model time
G [in]
Grid structure
param_file [in]
Input parameter structure
CS
Parameter container
US
A dimensional unit scaling type
Callees call graph
Callers call graph
subroutine SCM_CVMix_tests_wind_forcing(sfc_state, forces, day, G, US, CS)
- Parameters
sfc_state [in]
Surface state structure
forces [inout]
A structure with the driving mechanical forces
day [in]
Time in days
G [inout]
Grid structure
US [in]
A dimensional unit scaling type
CS
Container for SCM parameters
Callees call graph
Callers call graph
subroutine SCM_CVMix_tests_buoyancy_forcing(sfc_state, fluxes, day, G, US, CS)
- Parameters
sfc_state [in]
Surface state structure
fluxes [inout]
Surface fluxes structure
day [in]
Current model time
G [inout]
Grid structure
US [in]
A dimensional unit scaling type
CS
Container for SCM parameters
Callers call graph
External calls
- time_manager_mod
time_type_to_real (time_manager_mod::time_type_to_real)