Boost logo

Boost :

Subject: Re: [boost] Interest in thermodynamic properties of water and steam
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2017-08-26 11:10:15


A bit niche, but I'm sure some will find this very useful.

Paul

PS We did also discuss a collection of physical constants but (as these are a bit inconstant) were reluctant to confuse with math constants (that really are constantly constant). This could be the first in a collection, using Boost.Units of course, as you have done I presume.

> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Belcourt, Kenneth via Boost
> Sent: 25 August 2017 18:34
> To: boost
> Cc: Belcourt, Kenneth
> Subject: [boost] Interest in thermodynamic properties of water and steam
>
> Hi,
>
> Would there be any interest in an implementation of the IAPWS-95 in Boost? Here’s the reference:
>
> The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use.
> Authors: W. Wagner and A. Pruss
> J. Phys. Chem. Ref. Data, Vol. 31, No. 2, 2002, pages 387-535
>
> For those with access to the paper, the code reproduces Table 6.6 (results agree to all published digits), as well as well
> significant parts of both Table 13.1 (vapor-liquid phase boundary properties as function of temperature) and Table 13.2
> (properties of water in single-phase as function of temperature and density for pressures in range of 0.05 MPa to 1000 MPa).
> Also implemented are the full set of algorithms in Table 6.3, including pressure, enthalpy, entropy, sound speed, heat
> capacities. There’s also an algorithm for computing the thermal saturation properties (pressure, liquid and vapor densities),
> given the saturation temperature.
>
> At present the code has a required dependency on Boost.Units and is about 2k loc. If you're interested in this, feel free to
> reply or contact me directly.
>
> — Noel Belcourt
>
> [1] http://www.iapws.org
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk