MOM_PressureForce module reference

A thin wrapper for Boussinesq/non-Boussinesq forms of the pressure force calculation.

Data Types

PressureForce_CS

Pressure force control structure

Functions/Subroutines

PressureForce

A thin layer between the model and the Boussinesq and non-Boussinesq pressure force routines.

PressureForce_init

Initialize the pressure force control structure

Detailed Description

This thin module provides a branch to two forms of the horizontal accelerations due to pressure gradients. The two options currently available are a Montgomery potential form (used in traditional isopycnal layer models), and the analytic finite volume form.

Type Documentation

type, public :: PressureForce_CS

Pressure force control structure

Parameters
  • Analytic_FV_PGF

    If true, use the analytic finite volume form (Adcroft et al., Ocean Mod. 2008) of the PGF. Control structure for the analytically integrated finite volume pressure force

  • PressureForce_FV

    Control structure for the Montgomery potential form of pressure force

Functions/Subroutine Documentation

subroutine PressureForce(h, tv, PFu, PFv, G, GV, US, CS, ALE_CSp, ADp, p_atm, pbce, eta)

A thin layer between the model and the Boussinesq and non-Boussinesq pressure force routines.

Parameters
  • G [in]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • h [in]

    Layer thicknesses [H ~> m or kg m-2]

  • tv [in]

    A structure pointing to various thermodynamic variables

  • PFu [out]

    Zonal pressure force acceleration [L T-2 ~> m s-2]

  • PFv [out]

    Meridional pressure force acceleration [L T-2 ~> m s-2]

  • CS [inout]

    Pressure force control structure

  • ALE_CSp

    ALE control structure

  • ADp

    Acceleration diagnostic pointers

  • p_atm

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

  • pbce [out]

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

  • eta [out]

    The bottom mass used to calculate PFu and PFv, [H ~> m or kg m-2], with any tidal contributions.

Callees call graph
Callees of mom_pressureforce::pressureforce calls cluster_mom_pressureforce MOM_PressureForce cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_pressureforce::pressureforce PressureForce mom_pressureforce_fv::pressureforce_fv_bouss PressureForce_FV_Bouss mom_pressureforce::pressureforce->mom_pressureforce_fv::pressureforce_fv_bouss mom_pressureforce_fv::pressureforce_fv_nonbouss PressureForce_FV_nonBouss mom_pressureforce::pressureforce->mom_pressureforce_fv::pressureforce_fv_nonbouss mom_pressureforce_mont::pressureforce_mont_bouss PressureForce_Mont_Bouss mom_pressureforce::pressureforce->mom_pressureforce_mont::pressureforce_mont_bouss mom_pressureforce_mont::pressureforce_mont_nonbouss PressureForce_Mont_nonBouss mom_pressureforce::pressureforce->mom_pressureforce_mont::pressureforce_mont_nonbouss
Text view
Callers call graph
Callers of mom_pressureforce::pressureforce calls cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_pressureforce MOM_PressureForce mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_pressureforce::pressureforce PressureForce mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_pressureforce::pressureforce mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_pressureforce::pressureforce mom_dynamics_unsplit::step_mom_dyn_unsplit step_MOM_dyn_unsplit mom_dynamics_unsplit::step_mom_dyn_unsplit->mom_pressureforce::pressureforce mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 step_MOM_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2->mom_pressureforce::pressureforce
Text view
subroutine PressureForce_init(Time, G, GV, US, param_file, diag, CS, ADp, SAL_CSp, tides_CSp)

Initialize the pressure force 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]

    Pressure force control structure

  • ADp

    Acceleration diagnostic pointers

  • SAL_CSp [in]

    SAL control structure

  • tides_CSp [in]

    Tide control structure

Callees call graph
Callees of mom_pressureforce::pressureforce_init calls cluster_mom_file_parser MOM_file_parser cluster_mom_pressureforce MOM_PressureForce cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_pressureforce_mont MOM_PressureForce_Mont mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_version log_version (interface) mom_pressureforce::pressureforce_init PressureForce_init mom_pressureforce::pressureforce_init->mom_file_parser::interface::get_param mom_pressureforce::pressureforce_init->mom_file_parser::interface::log_version mom_pressureforce_fv::pressureforce_fv_init PressureForce_FV_init mom_pressureforce::pressureforce_init->mom_pressureforce_fv::pressureforce_fv_init mom_pressureforce_mont::pressureforce_mont_init PressureForce_Mont_init mom_pressureforce::pressureforce_init->mom_pressureforce_mont::pressureforce_mont_init
Text view
Callers call graph
Callers of mom_pressureforce::pressureforce_init calls cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_pressureforce MOM_PressureForce mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_pressureforce::pressureforce_init PressureForce_init mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_pressureforce::pressureforce_init mom_dynamics_split_rk2b::initialize_dyn_split_rk2b initialize_dyn_split_RK2b mom_dynamics_split_rk2b::initialize_dyn_split_rk2b->mom_pressureforce::pressureforce_init mom_dynamics_unsplit::initialize_dyn_unsplit initialize_dyn_unsplit mom_dynamics_unsplit::initialize_dyn_unsplit->mom_pressureforce::pressureforce_init mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 initialize_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2->mom_pressureforce::pressureforce_init
Text view
API generated with Flint · Rendered from reStructuredText