MOM_PressureForce_Mont module reference
Provides the Montgomery potential form of pressure gradient
Data Types
Control structure for the Montgomery potential form of pressure gradient |
Functions/Subroutines
Non-Boussinesq Montgomery-potential form of pressure gradient |
|
Boussinesq Montgomery-potential form of pressure gradient |
|
Determines the partial derivative of the acceleration due to pressure forces with the free surface height. |
|
Determines the partial derivative of the acceleration due to pressure forces with the column mass. |
|
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
Text view
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::pressureforce_mont_nonbouss → mom_pressureforce_mont::set_pbce_nonbouss
mom_pressureforce_mont::pressureforce_mont_nonbouss → mom_self_attr_load::calc_sal
mom_pressureforce_mont::pressureforce_mont_nonbouss → mom_tidal_forcing::calc_tidal_forcing
Callers call graph
- 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
Text view
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::pressureforce_mont_bouss → mom_pressureforce_mont::set_pbce_bouss
mom_pressureforce_mont::pressureforce_mont_bouss → mom_self_attr_load::calc_sal
mom_pressureforce_mont::pressureforce_mont_bouss → mom_tidal_forcing::calc_tidal_forcing
Callers call graph
- 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
- 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
- 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
Text view
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