SCM_CVMix_tests module reference

Initial conditions and forcing for the single column model (SCM) CVMix test set.

Data Types

SCM_CVMix_tests_CS

Container for surface forcing parameters

Functions/Subroutines

SCM_CVMix_tests_TS_init

Initializes temperature and salinity for the SCM CVMix test example

SCM_CVMix_tests_surface_forcing_init

Initializes surface forcing for the CVMix test case suite

SCM_CVMix_tests_wind_forcing

SCM_CVMix_tests_buoyancy_forcing

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
Callees of scm_cvmix_tests::scm_cvmix_tests_ts_init calls cluster_mom_file_parser MOM_file_parser cluster_scm_cvmix_tests SCM_CVMix_tests mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_version log_version (interface) scm_cvmix_tests::scm_cvmix_tests_ts_init SCM_CVMix_tests_TS_init scm_cvmix_tests::scm_cvmix_tests_ts_init->mom_file_parser::interface::get_param scm_cvmix_tests::scm_cvmix_tests_ts_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of scm_cvmix_tests::scm_cvmix_tests_ts_init calls cluster_mom_state_initialization MOM_state_initialization cluster_scm_cvmix_tests SCM_CVMix_tests mom_state_initialization::mom_initialize_state MOM_initialize_state scm_cvmix_tests::scm_cvmix_tests_ts_init SCM_CVMix_tests_TS_init mom_state_initialization::mom_initialize_state->scm_cvmix_tests::scm_cvmix_tests_ts_init
Text view
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
Callees of scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init calls cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_scm_cvmix_tests SCM_CVMix_tests mom_error_handler::mom_error MOM_error mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_version log_version (interface) scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init SCM_CVMix_tests_surface_forcing_init scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init->mom_error_handler::mom_error scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init->mom_file_parser::interface::get_param scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init calls cluster_mom_surface_forcing MOM_surface_forcing cluster_scm_cvmix_tests SCM_CVMix_tests mom_surface_forcing::surface_forcing_init surface_forcing_init scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init SCM_CVMix_tests_surface_forcing_init mom_surface_forcing::surface_forcing_init->scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init
Text view

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
Callees of scm_cvmix_tests::scm_cvmix_tests_wind_forcing calls cluster_mom_domain_infra MOM_domain_infra cluster_scm_cvmix_tests SCM_CVMix_tests mom_domain_infra::interface::pass_vector pass_vector (interface) scm_cvmix_tests::scm_cvmix_tests_wind_forcing SCM_CVMix_tests_wind_forcing scm_cvmix_tests::scm_cvmix_tests_wind_forcing->mom_domain_infra::interface::pass_vector
Text view
Callers call graph
Callers of scm_cvmix_tests::scm_cvmix_tests_wind_forcing calls cluster_mom_surface_forcing MOM_surface_forcing cluster_scm_cvmix_tests SCM_CVMix_tests mom_surface_forcing::set_forcing set_forcing scm_cvmix_tests::scm_cvmix_tests_wind_forcing SCM_CVMix_tests_wind_forcing mom_surface_forcing::set_forcing->scm_cvmix_tests::scm_cvmix_tests_wind_forcing
Text view

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
Callers of scm_cvmix_tests::scm_cvmix_tests_buoyancy_forcing calls cluster_mom_surface_forcing MOM_surface_forcing cluster_scm_cvmix_tests SCM_CVMix_tests mom_surface_forcing::set_forcing set_forcing scm_cvmix_tests::scm_cvmix_tests_buoyancy_forcing SCM_CVMix_tests_buoyancy_forcing mom_surface_forcing::set_forcing->scm_cvmix_tests::scm_cvmix_tests_buoyancy_forcing
Text view

External calls

time_manager_mod
  • time_type_to_real (time_manager_mod::time_type_to_real)

API generated with Flint · Rendered from reStructuredText