MOM6
|
The equation of state using the TEOS10 expressions.
Data Types | |
interface | calculate_density_derivs_teos10 |
For a given thermodynamic state, return the derivatives of density with conservative temperature and absolute salinity, using the TEOS10 expressions. More... | |
interface | calculate_density_second_derivs_teos10 |
For a given thermodynamic state, return the second derivatives of density with various combinations of conservative temperature, absolute salinity, and pressure, using the TEOS10 expressions. More... | |
interface | calculate_density_teos10 |
Compute the in situ density of sea water ([kg m-3]), or its anomaly with respect to a reference density, from absolute salinity (g/kg), conservative temperature (in deg C), and pressure [Pa], using the TEOS10 expressions. More... | |
interface | calculate_spec_vol_teos10 |
Compute the in situ specific volume of sea water (in [m3 kg-1]), or an anomaly with respect to a reference specific volume, from absolute salinity (in g/kg), conservative temperature (in deg C), and pressure [Pa], using the TEOS10 expressions. More... | |
Functions/Subroutines | |
subroutine | calculate_density_scalar_teos10 (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 expression from the TEOS10 website. More... | |
subroutine | calculate_density_array_teos10 (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 expression from the TEOS10 website. More... | |
subroutine | calculate_spec_vol_scalar_teos10 (T, S, pressure, specvol, spv_ref) |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]) and pressure [Pa], using the TEOS10 equation of state. If spv_ref is present, specvol is an anomaly from spv_ref. More... | |
subroutine | calculate_spec_vol_array_teos10 (T, S, pressure, specvol, start, npts, spv_ref) |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]) and pressure [Pa], using the TEOS10 equation of state. If spv_ref is present, specvol is an anomaly from spv_ref. More... | |
subroutine | calculate_density_derivs_array_teos10 (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 TEOS10 expressions. More... | |
subroutine | calculate_density_derivs_scalar_teos10 (T, S, pressure, drho_dT, drho_dS) |
For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the TEOS10 expressions. More... | |
subroutine, public | calculate_specvol_derivs_teos10 (T, S, pressure, dSV_dT, dSV_dS, start, npts) |
For a given thermodynamic state, calculate the derivatives of specific volume with conservative temperature and absolute salinity, using the TEOS10 expressions. More... | |
subroutine | calculate_density_second_derivs_scalar_teos10 (T, S, pressure, drho_dS_dS, drho_dS_dT, drho_dT_dT, drho_dS_dP, drho_dT_dP) |
Calculate the 5 second derivatives of the equation of state for scalar inputs. More... | |
subroutine | calculate_density_second_derivs_array_teos10 (T, S, pressure, drho_dS_dS, drho_dS_dT, drho_dT_dT, drho_dS_dP, drho_dT_dP, start, npts) |
Calculate the 5 second derivatives of the equation of state for scalar inputs. More... | |
subroutine, public | calculate_compress_teos10 (T, S, pressure, rho, drho_dp, start, npts) |
This subroutine computes the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2) (drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa]. It uses the subroutines from TEOS10 website. More... | |
Variables | |
real, parameter | pa2db = 1.e-4 |
The conversion factor from Pa to dbar. More... | |
subroutine, public mom_eos_teos10::calculate_compress_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | rho, | ||
real, dimension(:), intent(out) | drho_dp, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
This subroutine computes the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2) (drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa]. It uses the subroutines from TEOS10 website.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1]. |
[in] | pressure | Pressure [Pa]. |
[out] | rho | In situ density [kg m-3]. |
[out] | drho_dp | The partial derivative of density with pressure (also the inverse of the square of sound speed) [s2 m-2]. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 314 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
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 expression from the TEOS10 website.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1] |
[in] | pressure | pressure [Pa]. |
[out] | rho | in situ density [kg m-3]. |
[in] | start | the starting point in the arrays. |
[in] | npts | the number of values to calculate. |
[in] | rho_ref | A reference density [kg m-3]. |
Definition at line 84 of file MOM_EOS_TEOS10.F90.
References pa2db.
Referenced by calculate_density_scalar_teos10().
|
private |
For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the TEOS10 expressions.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1]. |
[in] | pressure | pressure [Pa]. |
[out] | drho_dt | The partial derivative of density with conservative temperature [kg m-3 degC-1]. |
[out] | drho_ds | The partial derivative of density with absolute salinity, [kg m-3 (g/kg)-1]. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 169 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the TEOS10 expressions.
[in] | t | Conservative temperature [degC] |
[in] | s | Absolute Salinity [g kg-1] |
[in] | pressure | pressure [Pa]. |
[out] | drho_dt | The partial derivative of density with conservative temperature [kg m-3 degC-1]. |
[out] | drho_ds | The partial derivative of density with absolute salinity, [kg m-3 (g/kg)-1]. |
Definition at line 200 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
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 expression from the TEOS10 website.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1]. |
[in] | pressure | pressure [Pa]. |
[out] | rho | In situ density [kg m-3]. |
[in] | rho_ref | A reference density [kg m-3]. |
Definition at line 60 of file MOM_EOS_TEOS10.F90.
References calculate_density_array_teos10().
|
private |
Calculate the 5 second derivatives of the equation of state for scalar inputs.
[in] | t | Conservative temperature [degC] |
[in] | s | Absolute Salinity [g kg-1] |
[in] | pressure | pressure [Pa]. |
[out] | drho_ds_ds | Partial derivative of beta with respect to S |
[out] | drho_ds_dt | Partial derivative of beta with resepct to T |
[out] | drho_dt_dt | Partial derivative of alpha with respect to T |
[out] | drho_ds_dp | Partial derivative of beta with respect to pressure |
[out] | drho_dt_dp | Partial derivative of alpha with respect to pressure |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 277 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
Calculate the 5 second derivatives of the equation of state for scalar inputs.
[in] | t | Conservative temperature [degC] |
[in] | s | Absolute Salinity [g kg-1] |
[in] | pressure | pressure [Pa]. |
[out] | drho_ds_ds | Partial derivative of beta with respect to S |
[out] | drho_ds_dt | Partial derivative of beta with resepct to T |
[out] | drho_dt_dt | Partial derivative of alpha with respect to T |
[out] | drho_ds_dp | Partial derivative of beta with respect to pressure |
[out] | drho_dt_dp | Partial derivative of alpha with respect to pressure |
Definition at line 252 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]) and pressure [Pa], using the TEOS10 equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
[in] | t | Conservative temperature relative to the surface [degC]. |
[in] | s | salinity [g kg-1]. |
[in] | pressure | pressure [Pa]. |
[out] | specvol | in situ specific volume [m3 kg-1]. |
[in] | start | the starting point in the arrays. |
[in] | npts | the number of values to calculate. |
[in] | spv_ref | A reference specific volume [m3 kg-1]. |
Definition at line 137 of file MOM_EOS_TEOS10.F90.
References pa2db.
Referenced by calculate_spec_vol_scalar_teos10().
|
private |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]) and pressure [Pa], using the TEOS10 equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1] |
[in] | pressure | pressure [Pa]. |
[out] | specvol | in situ specific volume [m3 kg-1]. |
[in] | spv_ref | A reference specific volume [m3 kg-1]. |
Definition at line 116 of file MOM_EOS_TEOS10.F90.
References calculate_spec_vol_array_teos10().
subroutine, public mom_eos_teos10::calculate_specvol_derivs_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | dSV_dT, | ||
real, dimension(:), intent(out) | dSV_dS, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
For a given thermodynamic state, calculate the derivatives of specific volume with conservative temperature and absolute salinity, using the TEOS10 expressions.
[in] | t | Conservative temperature [degC]. |
[in] | s | Absolute salinity [g kg-1]. |
[in] | pressure | pressure [Pa]. |
[out] | dsv_dt | The partial derivative of specific volume with conservative temperature [m3 kg-1 degC-1]. |
[out] | dsv_ds | The partial derivative of specific volume with absolute salinity [m3 kg-1 (g/kg)-1]. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 221 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
The conversion factor from Pa to dbar.
Definition at line 51 of file MOM_EOS_TEOS10.F90.
Referenced by calculate_compress_teos10(), calculate_density_array_teos10(), calculate_density_derivs_array_teos10(), calculate_density_derivs_scalar_teos10(), calculate_density_second_derivs_array_teos10(), calculate_density_second_derivs_scalar_teos10(), calculate_spec_vol_array_teos10(), and calculate_specvol_derivs_teos10().