Numerical implementation and oceanographic application of the thermodynamic potentials of liquid water, water vapour, ice, seawater and humid air – Part 2: The library routines

Abstract. The SCOR/IAPSO1 Working Group 127 on Thermodynamics and Equation of State of Seawater has prepared recommendations for new methods and algorithms for numerical estimation of the the thermophysical properties of seawater. As an outcome of this work, a new International Thermodynamic Equation of Seawater (TEOS–10) was endorsed by IOC/UNESCO2 in June 2009 as the official replacement and extension of the 1980 International Equation of State, EOS-80. As part of this new standard a source code package has been prepared that is now made freely available to users via the World Wide Web. This package includes two libraries referred to as the SIA (Sea-Ice-Air) library and the GSW (Gibbs SeaWater) library. Information on the GSW library may be found on the TEOS-10 web site ( http://www.TEOS-10.org ). This publication provides an introduction to the SIA library which contains routines to calculate various thermodynamic properties as discussed in the companion paper. The SIA library is very comprehensive, including routines to deal with fluid water, ice, seawater and humid air as well as equilibrium states involving various combinations of these, with equivalent code developed in different languages. The code is hierachically structured in modules that support (i) almost unlimited extension with respect to additional properties or relations, (ii) an extraction of self-contained sub-libraries, (iii) separate updating of the empirical thermodynamic potentials, and (iv) code verification on different platforms and between different languages. Error trapping is implemented to identify when one or more of the primary routines are accessed significantly beyond their established range of validity. The initial version of the SIA library is available in Visual Basic and FORTRAN as a supplement to this publication and updates will be maintained on the TEOS-10 web site. 1SCOR/IAPSO: Scientific Committee on Oceanic Research/International Association for the Physical Sciences of the Oceans 2IOC/UNESCO: Intergovernmental Oceanographic Commission/United Nations Educational, Scientific and Cultural Organization

[1]  W. Wagner,et al.  High-pressure thermodynamic Gibbs functions of ice and sea ice , 2005 .

[2]  P. M. Saunders,et al.  Practical Conversion of Pressure to Depth , 1981 .

[3]  Rainer Feistel,et al.  A New Equation of State for H2O Ice Ih , 2006 .

[4]  Rainer Feistel,et al.  Density and Absolute Salinity of the Baltic Sea 2006–2009 , 2009 .

[5]  Rainer Feistel,et al.  Mutually consistent thermodynamic potentials for fluid water, ice and seawater: a new standard for oceanography , 2008 .

[6]  R. Hyland,et al.  Formulations for the thermodynamic properties of dry air from 173.15 K to 473.15 K, and of saturated moist air from 173.15 K to 372.15 K, at pressures to 5 MPa , 1983 .

[7]  T. Dauphinee,et al.  Introduction to the Special Issue on the Practical Salinity Scale 1978 , 1980 .

[8]  R. Feistel Extended equation of state for seawater at elevated temperature and salinity , 2010 .

[9]  Fen Huang,et al.  The density of seawater as a function of salinity (5 to 70 g kg 1 ) and temperature (273.15 to 363.15 K) , 2009 .

[10]  T. McDougall,et al.  The composition of Standard Seawater and the definition of the Reference-Composition Salinity Scale , 2008 .

[11]  Rainer Feistel,et al.  Algorithms for Density, Potential Temperature, Conservative Temperature, and the Freezing Temperature of Seawater , 2006 .

[12]  W. Wagner,et al.  Sublimation pressure and sublimation enthalpy of H2O ice Ih between 0 and 273.16 K , 2007 .

[13]  Frank J. Millero,et al.  An algorithm for estimating Absolute Salinity in the global ocean , 2009 .

[14]  H. Kretzschmar,et al.  the Creative Commons Attribution 3.0 License. Ocean Science Thermodynamic properties of sea air , 2009 .

[15]  Rainer Feistel,et al.  A new extended Gibbs thermodynamic potential of seawater , 2003 .

[16]  T. McDougall,et al.  Absolute Salinity, ''Density Salinity'' and the Reference-Composition Salinity Scale: present and future use in the seawater standard TEOS-10 , 2010 .

[17]  A. Poisson,et al.  An extension of the practical salinity scale 1978 and the Equation of State 1980 to high salinities , 1993 .

[18]  K. Miyagawa,et al.  Numerical implementation and oceanographic application of the thermodynamic potentials of liquid water, water vapour, ice, seawater and humid air – Part 1: Background and equations , 2010 .

[19]  R. Feistel,et al.  European Geosciences Union Ocean Science Laminae type and possible mechanisms for the formation of laminated sediments in the Shaban Deep, northern Red Sea , 2005 .

[20]  S. G. Penoncello,et al.  Thermodynamic Properties of Air and Mixtures of Nitrogen, Argon, and Oxygen From 60 to 2000 K at Pressures to 2000 MPa , 2000 .

[21]  W. Wagner,et al.  Numerical implementation and oceanographic application of the Gibbs potential of ice , 2005 .

[22]  E. Lewis,et al.  The practical salinity scale 1978 and its antecedents , 1980 .

[23]  A. Harvey,et al.  First-Principles Calculation of the Air–Water Second Virial Coefficient , 2007 .

[24]  W. Wagner,et al.  The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use , 2002 .

[25]  F. Millero,et al.  Precipitation of solid phase calcium carbonates and their effect on application of seawater S A – T – P models , 2009 .

[26]  Rainer Feistel,et al.  A Gibbs function for seawater thermodynamics for -6 to 80 °C and salinity up to 120gkg-1 , 2008 .

[27]  H. Kretzschmar,et al.  The IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam , 2000 .

[28]  F. Millero,et al.  Thermodynamic properties of standard seawater: extensions to high temperatures and pressures , 2009 .