mom_eos_nemo module reference¶
The equation of state using the expressions of Roquet et al. that are used in NEMO.
Functions/Subroutines¶
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. |
|
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. |
|
For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the expressions derived for use with NEMO. |
|
Wrapper to calculate_density_derivs_array for scalar inputs. |
|
Compute the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2, stored as drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa], using the expressions derived for use with NEMO. |
Detailed Description¶
The equation of state using the expressions of Roquet et al. that are used in NEMO.
Function/Subroutine Documentation¶
-
subroutine
mom_eos_nemo/calculate_density_scalar_nemo(T, S, pressure, rho, rho_ref)¶ This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO.
- Parameters
t :: [in] Conservative temperature [degC].
s :: [in] Absolute salinity [g kg-1].
pressure :: [in] pressure [Pa].
rho :: [out] In situ density [kg m-3].
rho_ref :: [in] A reference density [kg m-3].
- Call to
-
subroutine
mom_eos_nemo/calculate_density_array_nemo(T, S, pressure, rho, start, npts, rho_ref)¶ This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO.
- Parameters
t :: [in] Conservative temperature [degC].
s :: [in] Absolute salinity [g kg-1].
pressure :: [in] pressure [Pa].
rho :: [out] in situ density [kg m-3].
start :: [in] the starting point in the arrays.
npts :: [in] the number of values to calculate.
rho_ref :: [in] A reference density [kg m-3].
- Call to
eos000eos001eos002eos003eos010eos011eos012eos013eos020eos021eos022eos030eos031eos040eos041eos050eos060eos100eos101eos102eos103eos110eos111eos112eos120eos121eos130eos131eos140eos150eos200eos201eos202eos210eos211eos220eos221eos230eos240eos300eos301eos310eos311eos320eos330eos400eos401eos410eos420eos500eos510eos600pa2dbr00r01r02r03r04r05r1_p0r1_s0r1_t0rdeltas- Called from
-
subroutine
mom_eos_nemo/calculate_density_derivs_array_nemo(T, S, pressure, drho_dT, drho_dS, start, npts)¶ For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the expressions derived for use with NEMO.
- Parameters
t :: [in] Conservative temperature [degC].
s :: [in] Absolute salinity [g kg-1].
pressure :: [in] pressure [Pa].
drho_dt :: [out] The partial derivative of density with potential temperature [kg m-3 degC-1].
drho_ds :: [out] The partial derivative of density with salinity, in [kg m-3 ppt-1].
start :: [in] The starting point in the arrays.
npts :: [in] The number of values to calculate.
- Call to
alp000alp001alp002alp003alp010alp011alp012alp020alp021alp030alp031alp040alp050alp100alp101alp102alp110alp111alp120alp121alp130alp140alp200alp201alp210alp211alp220alp230alp300alp301alp310alp320alp400alp410alp500bet000bet001bet002bet003bet010bet011bet012bet020bet021bet030bet031bet040bet050bet100bet101bet102bet110bet111bet120bet121bet130bet140bet200bet201bet210bet211bet220bet230bet300bet301bet310bet320bet400bet410bet500pa2dbr1_p0r1_s0r1_t0rdeltas- Called from
-
subroutine
mom_eos_nemo/calculate_density_derivs_scalar_nemo(T, S, pressure, drho_dt, drho_ds)¶ Wrapper to calculate_density_derivs_array for scalar inputs.
- Parameters
t :: [in] Potential temperature relative to the surface [degC].
s :: [in] Salinity [g kg-1].
pressure :: [in] Pressure [Pa].
drho_dt :: [out] The partial derivative of density with potential temperature [kg m-3 degC-1].
drho_ds :: [out] The partial derivative of density with salinity, in [kg m-3 ppt-1].
- Call to
-
subroutine
mom_eos_nemo/calculate_compress_nemo(T, S, pressure, rho, drho_dp, start, npts)¶ Compute the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2, stored as drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa], using the expressions derived for use with NEMO.
- Parameters
t :: [in] Conservative temperature [degC].
s :: [in] Absolute salinity [g/kg].
pressure :: [in] pressure [Pa].
rho :: [out] In situ density [kg m-3].
drho_dp :: [out] The partial derivative of density with pressure (also the inverse of the square of sound speed) [s2 m-2].
start :: [in] The starting point in the arrays.
npts :: [in] The number of values to calculate.
- Call to
- Called from