gsw_gibbs_ice
Gibbs energy of ice and its derivatives
Contents
USAGE:
gibbs_ice = gsw_gibbs_ice(nt,np,t,p)
DESCRIPTION:
Calculates Ice specific Gibbs energy and derivatives up
to order 2. The Gibbs function for sea ice is that of TEOS-10
(IOC et al., 2010), being the sum of IAPWS-08 for the saline part and
IAPWS-09 for the pure water part.
INPUT:
nt = order of t derivative [ integers 0, 1 or 2 ]
np = order of p derivative [ integers 0, 1 or 2 ]
t = in-situ temperature (ITS-90) [ deg C ]
p = sea pressure [ dbar ]
(ie. absolute pressure - 10.1325 dbar)
t and p need to have the same dimensions.
OUTPUT:
gibbs = Specific Gibbs energy or its derivatives.
The Gibbs energy (when nt = np = 0) has units of:
[ J/kg ]
The temperature derivatives are output in units of:
[ (J/kg) (K)^(-nt) ]
The pressure derivatives are output in units of:
[ (J/kg) (Pa)^(-np) ]
The mixed derivatives are output in units of:
[ (J/kg) (K)^(-nt) (Pa)^(-np) ]
Note. The derivatives are taken with respect to pressure in Pa, not
withstanding that the pressure input into this routine is in dbar.
AUTHOR:
Trevor McDougall and Paul Barker [ help@teos-10.org ]
VERSION NUMBER:
3.04 (3rd December, 2013)
REFERENCES:
IAPWS, 2009: Revised Release release on the Equation of State 2006 for
H2O Ice Ih. The International Association for the Properties of Water
and Steam. Doorwerth, The Netherlands, September 2009, available from
http://www.iapws.org.
IOC, SCOR and IAPSO, 2010: The international thermodynamic equation of
seawater - 2010: Calculation and use of thermodynamic properties.
Intergovernmental Oceanographic Commission, Manuals and Guides No. 56,
UNESCO (English), 196 pp. Available from http://www.TEOS-10.org
The software is available from http://www.TEOS-10.org