MOM_PressureForce_Mont module reference

Provides the Montgomery potential form of pressure gradient

Data Types

PressureForce_Mont_CS

Control structure for the Montgomery potential form of pressure gradient

Functions/Subroutines

PressureForce_Mont_nonBouss

Non-Boussinesq Montgomery-potential form of pressure gradient

PressureForce_Mont_Bouss

Boussinesq Montgomery-potential form of pressure gradient

Set_pbce_Bouss

Determines the partial derivative of the acceleration due to pressure forces with the free surface height.

Set_pbce_nonBouss

Determines the partial derivative of the acceleration due to pressure forces with the column mass.

PressureForce_Mont_init

Initialize the Montgomery-potential form of PGF control structure

Detailed Description

Provides the Boussunesq and non-Boussinesq forms of the horizontal accelerations due to pressure gradients using the Montgomery potential. A second-order accurate, centered scheme is used. If a split time stepping scheme is used, the vertical decomposition into barotropic and baroclinic contributions described by Hallberg (J Comp Phys 1997) is used. With a nonlinear equation of state, compressibility is added along the lines proposed by Sun et al. (JPO 1999), but with compressibility coefficients based on a fit to a user-provided reference profile.

Type Documentation

type, public :: PressureForce_Mont_CS

Control structure for the Montgomery potential form of pressure gradient

Parameters
  • initialized

    True if this control structure has been initialized.

  • calculate_SAL

    If true, calculate self-attraction and loading.

  • tides

    If true, apply tidal momentum forcing.

  • Rho0

    The density used in the Boussinesq approximation [R ~> kg m-3].

  • GFS_scale

    Ratio between gravity applied to top interface and the gravitational acceleration of the planet [nondim]. Usually this ratio is 1.

  • Time

    A pointer to the ocean model's clock.

  • diag

    A structure that is used to regulate the timing of diagnostic output.

  • PFu_bc

    Zonal accelerations due to pressure gradients deriving from density gradients within layers [L T-2 ~> m s-2].

  • id_PFu_bc

    Diagnostic IDs

  • id_PFv_bc

    Diagnostic IDs

  • id_e_sal

    Diagnostic IDs

  • id_e_tide

    Diagnostic IDs

  • id_e_tide_eq

    Diagnostic IDs

  • id_e_tide_sal

    Diagnostic IDs

  • SAL_CSp

    SAL control structure

  • tides_CSp

    The tidal forcing control structure

Functions/Subroutine Documentation

subroutine PressureForce_Mont_nonBouss(h, tv, PFu, PFv, G, GV, US, CS, p_atm, pbce, eta)

Non-Boussinesq Montgomery-potential form of pressure gradient

Determines the acceleration due to pressure forces in a non-Boussinesq fluid using the compressibility compensated (if appropriate) Montgomery-potential form described in Hallberg (Ocean Mod., 2005).

To work, the following fields must be set outside of the usual (is:ie,js:je) range before this subroutine is called: h(isB:ie+1,jsB:je+1), T(isB:ie+1,jsB:je+1), and S(isB:ie+1,jsB:je+1).

Parameters
  • G [in]

    Ocean grid structure.

  • GV [in]

    Vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • h [in]

    Layer thickness, [H ~> kg m-2].

  • tv [in]

    Thermodynamic variables.

  • PFu [out]

    Zonal acceleration due to pressure gradients (equal to -dM/dx) [L T-2 ~> m s-2].

  • PFv [out]

    Meridional acceleration due to pressure gradients (equal to -dM/dy) [L T-2 ~> m s-2].

  • CS [inout]

    Control structure for Montgomery potential PGF

  • p_atm

    The pressure at the ice-ocean or atmosphere-ocean [R L2 T-2 ~> Pa].

  • pbce [out]

    The baroclinic pressure anomaly in each layer due to free surface height anomalies, [L2 T-2 H-1 ~> m s-2 or m4 kg-1 s-2].

  • eta [out]

    The total column mass used to calculate PFu and PFv [H ~> kg m-2].

Callees call graph
Callees of mom_pressureforce_mont::pressureforce_mont_nonbouss calls cluster_mom_density_integrals MOM_density_integrals cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_pressureforce_mont MOM_PressureForce_Mont cluster_mom_self_attr_load MOM_self_attr_load cluster_mom_tidal_forcing MOM_tidal_forcing mom_density_integrals::int_specific_vol_dp int_specific_vol_dp mom_diag_mediator::interface::post_data post_data (interface) mom_eos::interface::calculate_density calculate_density (interface) mom_eos::query_compressible query_compressible mom_error_handler::mom_error MOM_error mom_pressureforce_mont::pressureforce_mont_nonbouss PressureForce_Mont_nonBouss mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_density_integrals::int_specific_vol_dp mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_diag_mediator::interface::post_data mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_eos::interface::calculate_density mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_eos::query_compressible mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_error_handler::mom_error mom_pressureforce_mont::set_pbce_nonbouss Set_pbce_nonBouss mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_pressureforce_mont::set_pbce_nonbouss mom_self_attr_load::calc_sal calc_SAL mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_self_attr_load::calc_sal mom_tidal_forcing::calc_tidal_forcing calc_tidal_forcing mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_tidal_forcing::calc_tidal_forcing
Text view
Callers call graph
Callers of mom_pressureforce_mont::pressureforce_mont_nonbouss calls cluster_mom_pressureforce MOM_PressureForce cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce::pressureforce PressureForce mom_pressureforce_mont::pressureforce_mont_nonbouss PressureForce_Mont_nonBouss mom_pressureforce::pressureforce->mom_pressureforce_mont::pressureforce_mont_nonbouss
Text view
subroutine PressureForce_Mont_Bouss(h, tv, PFu, PFv, G, GV, US, CS, p_atm, pbce, eta)

Boussinesq Montgomery-potential form of pressure gradient

Determines the acceleration due to pressure forces.

To work, the following fields must be set outside of the usual (is:ie,js:je) range before this subroutine is called: h(isB:ie+1,jsB:je+1), T(isB:ie+1,jsB:je+1), and S(isB:ie+1,jsB:je+1).

Parameters
  • G [in]

    Ocean grid structure.

  • GV [in]

    Vertical grid structure.

  • US [in]

    A dimensional unit scaling type

  • h [in]

    Layer thickness [H ~> m].

  • tv [in]

    Thermodynamic variables.

  • PFu [out]

    Zonal acceleration due to pressure gradients (equal to -dM/dx) [L T-2 ~> m s-2].

  • PFv [out]

    Meridional acceleration due to pressure gradients (equal to -dM/dy) [L T-2 ~> m s-2].

  • CS [inout]

    Control structure for Montgomery potential PGF

  • p_atm

    The pressure at the ice-ocean or atmosphere-ocean [R L2 T-2 ~> Pa].

  • pbce [out]

    The baroclinic pressure anomaly in each layer due to free surface height anomalies [L2 T-2 H-1 ~> m s-2].

  • eta [out]

    Free surface height [H ~> m].

Callees call graph
Callees of mom_pressureforce_mont::pressureforce_mont_bouss calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_pressureforce_mont MOM_PressureForce_Mont cluster_mom_self_attr_load MOM_self_attr_load cluster_mom_tidal_forcing MOM_tidal_forcing mom_diag_mediator::interface::post_data post_data (interface) mom_eos::interface::calculate_density calculate_density (interface) mom_eos::query_compressible query_compressible mom_error_handler::mom_error MOM_error mom_pressureforce_mont::pressureforce_mont_bouss PressureForce_Mont_Bouss mom_pressureforce_mont::pressureforce_mont_bouss->mom_diag_mediator::interface::post_data mom_pressureforce_mont::pressureforce_mont_bouss->mom_eos::interface::calculate_density mom_pressureforce_mont::pressureforce_mont_bouss->mom_eos::query_compressible mom_pressureforce_mont::pressureforce_mont_bouss->mom_error_handler::mom_error mom_pressureforce_mont::set_pbce_bouss Set_pbce_Bouss mom_pressureforce_mont::pressureforce_mont_bouss->mom_pressureforce_mont::set_pbce_bouss mom_self_attr_load::calc_sal calc_SAL mom_pressureforce_mont::pressureforce_mont_bouss->mom_self_attr_load::calc_sal mom_tidal_forcing::calc_tidal_forcing calc_tidal_forcing mom_pressureforce_mont::pressureforce_mont_bouss->mom_tidal_forcing::calc_tidal_forcing
Text view
Callers call graph
Callers of mom_pressureforce_mont::pressureforce_mont_bouss calls cluster_mom_pressureforce MOM_PressureForce cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce::pressureforce PressureForce mom_pressureforce_mont::pressureforce_mont_bouss PressureForce_Mont_Bouss mom_pressureforce::pressureforce->mom_pressureforce_mont::pressureforce_mont_bouss
Text view
subroutine Set_pbce_Bouss(e, tv, G, GV, US, Rho0, GFS_scale, pbce, rho_star)

Determines the partial derivative of the acceleration due to pressure forces with the free surface height.

Parameters
  • G [in]

    Ocean grid structure

  • GV [in]

    Vertical grid structure

  • e [in]

    Interface height [Z ~> m].

  • tv [in]

    Thermodynamic variables

  • US [in]

    A dimensional unit scaling type

  • Rho0 [in]

    The "Boussinesq" ocean density [R ~> kg m-3].

  • GFS_scale [in]

    Ratio between gravity applied to top interface and the gravitational acceleration of the planet [nondim]. Usually this ratio is 1.

  • pbce [out]

    The baroclinic pressure anomaly in each layer due to free surface height anomalies [L2 T-2 H-1 ~> m s-2].

  • rho_star [in]

    The layer densities (maybe compressibility compensated), times g/rho_0 [L2 Z-1 T-2 ~> m s-2].

Callees call graph
Callees of mom_pressureforce_mont::set_pbce_bouss calls cluster_mom_eos MOM_EOS cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_eos::interface::calculate_density calculate_density (interface) mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_pressureforce_mont::set_pbce_bouss Set_pbce_Bouss mom_pressureforce_mont::set_pbce_bouss->mom_eos::interface::calculate_density mom_pressureforce_mont::set_pbce_bouss->mom_eos::interface::calculate_density_derivs
Text view
Callers call graph
Callers of mom_pressureforce_mont::set_pbce_bouss calls cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce_fv::pressureforce_fv_bouss PressureForce_FV_Bouss mom_pressureforce_mont::set_pbce_bouss Set_pbce_Bouss mom_pressureforce_fv::pressureforce_fv_bouss->mom_pressureforce_mont::set_pbce_bouss mom_pressureforce_mont::pressureforce_mont_bouss PressureForce_Mont_Bouss mom_pressureforce_mont::pressureforce_mont_bouss->mom_pressureforce_mont::set_pbce_bouss
Text view
subroutine Set_pbce_nonBouss(p, tv, G, GV, US, GFS_scale, pbce, alpha_star)

Determines the partial derivative of the acceleration due to pressure forces with the column mass.

Parameters
  • G [in]

    Ocean grid structure

  • GV [in]

    Vertical grid structure

  • p [in]

    Interface pressures [R L2 T-2 ~> Pa].

  • tv [in]

    Thermodynamic variables

  • US [in]

    A dimensional unit scaling type

  • GFS_scale [in]

    Ratio between gravity applied to top interface and the gravitational acceleration of the planet [nondim]. Usually this ratio is 1.

  • pbce [out]

    The baroclinic pressure anomaly in each layer due to free surface height anomalies [L2 H-1 T-2 ~> m4 kg-1 s-2].

  • alpha_star [in]

    The layer specific volumes (maybe compressibility compensated) [R-1 ~> m3 kg-1].

Callees call graph
Callees of mom_pressureforce_mont::set_pbce_nonbouss calls cluster_mom_eos MOM_EOS cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_eos::interface::calculate_density calculate_density (interface) mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_pressureforce_mont::set_pbce_nonbouss Set_pbce_nonBouss mom_pressureforce_mont::set_pbce_nonbouss->mom_eos::interface::calculate_density mom_pressureforce_mont::set_pbce_nonbouss->mom_eos::interface::calculate_density_derivs
Text view
Callers call graph
Callers of mom_pressureforce_mont::set_pbce_nonbouss calls cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce_fv::pressureforce_fv_nonbouss PressureForce_FV_nonBouss mom_pressureforce_mont::set_pbce_nonbouss Set_pbce_nonBouss mom_pressureforce_fv::pressureforce_fv_nonbouss->mom_pressureforce_mont::set_pbce_nonbouss mom_pressureforce_mont::pressureforce_mont_nonbouss PressureForce_Mont_nonBouss mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_pressureforce_mont::set_pbce_nonbouss
Text view
subroutine PressureForce_Mont_init(Time, G, GV, US, param_file, diag, CS, SAL_CSp, tides_CSp)

Initialize the Montgomery-potential form of PGF control structure

Parameters
  • Time [in]

    Current model time

  • G [in]

    ocean grid structure

  • GV [in]

    Vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    Parameter file handles

  • diag [inout]

    Diagnostics control structure

  • CS [inout]

    Montgomery PGF control structure

  • SAL_CSp [in]

    SAL control structure

  • tides_CSp [in]

    Tides control structure

Callees call graph
Callees of mom_pressureforce_mont::pressureforce_mont_init calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_file_parser MOM_file_parser cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_diag_mediator::register_diag_field register_diag_field mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_param log_param (interface) mom_file_parser::interface::log_version log_version (interface) mom_pressureforce_mont::pressureforce_mont_init PressureForce_Mont_init mom_pressureforce_mont::pressureforce_mont_init->mom_diag_mediator::register_diag_field mom_pressureforce_mont::pressureforce_mont_init->mom_file_parser::interface::get_param mom_pressureforce_mont::pressureforce_mont_init->mom_file_parser::interface::log_param mom_pressureforce_mont::pressureforce_mont_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of mom_pressureforce_mont::pressureforce_mont_init calls cluster_mom_pressureforce MOM_PressureForce cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce::pressureforce_init PressureForce_init mom_pressureforce_mont::pressureforce_mont_init PressureForce_Mont_init mom_pressureforce::pressureforce_init->mom_pressureforce_mont::pressureforce_mont_init
Text view
API generated with Flint · Rendered from reStructuredText