MOM_self_attr_load module reference
Data Types
The control structure for the MOM_self_attr_load module |
Functions/Subroutines
This subroutine calculates seawater self-attraction and loading based on either sea surface height (SSH) or bottom pressure anomaly. Note that the SAL calculation applies to all motions across the spectrum. Tidal-specific methods that assume periodicity, i.e. iterative and read-in SAL, are stored in MOM_tidal_forcing module. The input field can be either SSH [Z ~> m] or total bottom pressure [R L2 T-2 ~> Pa]. If total bottom pressure is used, bottom pressure anomaly is first calculated by subtracting a reference bottom pressure from an input file. The output field is expressed as geopotential height anomaly, and therefore has the unit of [Z ~> m]. |
|
This subroutine returns eta_prop member of SAL_CS type, which is the non-dimensional partial derivative of the local geopotential height with the input sea surface height due to the scalar approximation of self-attraction and loading. |
|
This subroutine calculates coefficients of the spherical harmonic modes for self-attraction and loading. The algorithm is based on the SAL implementation in MPAS-ocean, which was modified by Kristin Barton from routine written by K. Quinn (March 2010) and modified by M. Schindelegger (May 2017). |
|
This subroutine initializes the self-attraction and loading control structure. |
|
This subroutine deallocates memory associated with the SAL module. |
Detailed Description
Self attraction and loading
This module contains methods to calculate self-attraction and loading (SAL) as a function of sea surface height or bottom pressure anomaly. SAL is primarily used for fast evolving processes like tides or storm surges, but the effect applies to all motions.
If SAL_SCALAR_APPROX is true, a scalar approximation is applied ([1]) and the SAL is simply a fraction (set by SAL_SCALAR_VALUE, usually around 10% for global tides) of local SSH. For tides, the scalar approximation can also be used to iterate the SAL to convergence [see USE_PREVIOUS_TIDES in MOM_tidal_forcing, [8]].
If SAL_HARMONICS is true, a more accurate online spherical harmonic transforms are used to calculate SAL. Subroutines in module MOM_spherical_harmonics are called and the degree of spherical harmonic transforms is set by SAL_HARMONICS_DEGREE. The algorithm is based on SAL calculation in Model for Prediction Across Scales (MPAS)-Ocean developed by Los Alamos National Laboratory and University of Michigan [[9] and [15]].
References:
Accad, Y. and Pekeris, C.L., 1978. Solution of the tidal equations for the M2 and S2 tides in the world oceans from a knowledge of the tidal potential alone. Philosophical Transactions of the Royal Society of London. Series A, Mathematical and Physical Sciences, 290(1368), pp.235-266. https://doi.org/10.1098/rsta.1978.0083
Arbic, B.K., Garner, S.T., Hallberg, R.W. and Simmons, H.L., 2004. The accuracy of surface elevations in forward global barotropic and baroclinic tide models. Deep Sea Research Part II: Topical Studies in Oceanography, 51(25-26), pp.3069-3101. https://doi.org/10.1016/j.dsr2.2004.09.014
Barton, K.N., Pal, N., Brus, S.R., Petersen, M.R., Arbic, B.K., Engwirda, D., Roberts, A.F., Westerink, J.J., Wirasaet, D. and Schindelegger, M., 2022. Global Barotropic Tide Modeling Using Inline Self‐Attraction and Loading in MPAS‐Ocean. Journal of Advances in Modeling Earth Systems, 14(11), p.e2022MS003207. https://doi.org/10.1029/2022MS003207
Brus, S.R., Barton, K.N., Pal, N., Roberts, A.F., Engwirda, D., Petersen, M.R., Arbic, B.K., Wirasaet, D., Westerink, J.J. and Schindelegger, M., 2023. Scalable self attraction and loading calculations for unstructured ocean tide models. Ocean Modelling, p.102160. https://doi.org/10.1016/j.ocemod.2023.102160
Type Documentation
- type, public :: SAL_CS
The control structure for the MOM_self_attr_load module
- Parameters
use_sal_scalar
If true, use the scalar approximation to calculate SAL.
use_sal_sht
If true, use online spherical harmonics to calculate SAL
use_tidal_sal_prev
If true, read the tidal SAL from the previous iteration of the tides to facilitate convergence.
use_bpa
If true, use bottom pressure anomaly instead of SSH to calculate SAL.
eta_prop
The partial derivative of eta_sal with the local value of eta [nondim].
linear_scaling
Dimensional coefficients for scalar SAL [nondim] or [Z T2 L-2 R-1 ~> m Pa-1]
sht
Spherical harmonic transforms (SHT) control structure
sal_sht_Nd
Maximum degree for spherical harmonic transforms [nondim]
pbot_ref
Reference bottom pressure [R L2 T-2 ~> Pa]
Love_scaling
Dimensional coefficients for harmonic SAL, which are functions of Love numbers [nondim] or [Z T2 L-2 R-1 ~> m Pa-1], depending on the value of use_ppa.
Snm_Re
Real SHT coefficient for SHT SAL [Z ~> m]
Snm_Im
Imaginary SHT coefficient for SHT SAL [Z ~> m]
Functions/Subroutine Documentation
- subroutine calc_SAL(eta, eta_sal, G, CS, tmp_scale)
This subroutine calculates seawater self-attraction and loading based on either sea surface height (SSH) or bottom pressure anomaly. Note that the SAL calculation applies to all motions across the spectrum. Tidal-specific methods that assume periodicity, i.e. iterative and read-in SAL, are stored in MOM_tidal_forcing module. The input field can be either SSH [Z ~> m] or total bottom pressure [R L2 T-2 ~> Pa]. If total bottom pressure is used, bottom pressure anomaly is first calculated by subtracting a reference bottom pressure from an input file. The output field is expressed as geopotential height anomaly, and therefore has the unit of [Z ~> m].
- Parameters
G [in]
The ocean's grid structure.
eta [in]
The sea surface height anomaly from a time-mean geoid or total bottom pressure [Z ~> m] or [R L2 T-2 ~> Pa].
eta_sal [out]
The geopotential height anomaly from self-attraction and loading [Z ~> m].
CS [inout]
The control structure returned by a previous call to SAL_init.
tmp_scale [in]
A rescaling factor to temporarily convert eta to MKS units in reproducing sumes [m Z-1 ~> 1]
Callees call graph
Text view
mom_self_attr_load::calc_sal → mom_cpu_clock_infra::cpu_clock_begin
mom_self_attr_load::calc_sal → mom_cpu_clock_infra::cpu_clock_end
mom_self_attr_load::calc_sal → mom_domain_infra::interface::pass_var
mom_self_attr_load::calc_sal → mom_spherical_harmonics::order2index
mom_self_attr_load::calc_sal → mom_spherical_harmonics::spherical_harmonics_forward
mom_self_attr_load::calc_sal → mom_spherical_harmonics::spherical_harmonics_inverse
Callers call graph
Text view
mom_pressureforce_fv::pressureforce_fv_bouss → mom_self_attr_load::calc_sal
mom_pressureforce_fv::pressureforce_fv_nonbouss → mom_self_attr_load::calc_sal
mom_pressureforce_mont::pressureforce_mont_bouss → mom_self_attr_load::calc_sal
mom_pressureforce_mont::pressureforce_mont_nonbouss → mom_self_attr_load::calc_sal
- subroutine scalar_SAL_sensitivity(CS, deta_sal_deta)
This subroutine returns eta_prop member of SAL_CS type, which is the non-dimensional partial derivative of the local geopotential height with the input sea surface height due to the scalar approximation of self-attraction and loading.
- Parameters
CS [in]
The control structure returned by a previous call to SAL_init.
deta_sal_deta [out]
The partial derivative of eta_sal with the local value of eta [nondim].
- subroutine calc_love_scaling(rhoW, rhoE, grav, CS)
This subroutine calculates coefficients of the spherical harmonic modes for self-attraction and loading. The algorithm is based on the SAL implementation in MPAS-ocean, which was modified by Kristin Barton from routine written by K. Quinn (March 2010) and modified by M. Schindelegger (May 2017).
- Parameters
rhoW [in]
The average density of sea water [R ~> kg m-3]
rhoE [in]
The average density of Earth [R ~> kg m-3]
grav [in]
The gravitational acceleration [L2 Z-1 T-2 ~> m s-2]
CS [inout]
The control structure returned by a previous call to SAL_init.
Callees call graph
- subroutine SAL_init(h, tv, G, GV, US, param_file, CS, restart_CS)
This subroutine initializes the self-attraction and loading control structure.
- Parameters
G [in]
The ocean's grid structure.
GV [in]
Vertical grid structure
US [in]
A dimensional unit scaling type
param_file [in]
A structure to parse for run-time parameters.
CS [inout]
Self-attraction and loading control structure
tv [in]
A structure pointing to various thermodynamic variables.
h [in]
Layer thicknesses [H ~> m or kg m-2]
restart_CS [in]
MOM restart control structure
Callees call graph
Text view
mom_self_attr_load::sal_init → mom_cpu_clock_infra::cpu_clock_id
mom_self_attr_load::sal_init → mom_domain_infra::interface::pass_var
mom_self_attr_load::sal_init → mom_file_parser::interface::get_param
mom_self_attr_load::sal_init → mom_file_parser::interface::log_param
mom_self_attr_load::sal_init → mom_file_parser::interface::log_version
mom_self_attr_load::sal_init → mom_interface_heights::find_col_mass
mom_self_attr_load::sal_init → mom_io::interface::mom_read_data
mom_self_attr_load::sal_init → mom_io::interface::mom_write_field
mom_self_attr_load::sal_init → mom_self_attr_load::calc_love_scaling
mom_self_attr_load::sal_init → mom_spherical_harmonics::calc_lmax
mom_self_attr_load::sal_init → mom_spherical_harmonics::spherical_harmonics_init
mom_self_attr_load::sal_init → mom_string_functions::lowercase
mom_self_attr_load::sal_init → mom_string_functions::slasher
Callers call graph
Text view
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_self_attr_load::sal_init
mom_dynamics_split_rk2b::initialize_dyn_split_rk2b → mom_self_attr_load::sal_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_self_attr_load::sal_init
mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 → mom_self_attr_load::sal_init
- subroutine SAL_end(CS)
This subroutine deallocates memory associated with the SAL module.
- Parameters
CS [inout]
The control structure returned by a previous call to SAL_init; it is deallocated here.