heavy17_sat {iapws}R Documentation

IAPWS-17 Formulation in the Saturation Region

Description

Compute thermodynamic and transport properties of heavy water along the saturated line according to the IAPWS formulation 2017.

Usage

heavy17_sat(what, p, t)

Arguments

what

a character vector listing the output properties. See Details for available properties.

t

a numeric vector giving the temperature values in K.

p

a numeric vector giving the pressure values in MPa.

Details

The available properties for what are:

Only one of t or p is needed. If both arguments are given, p is ignored.

Value

A numeric array of dimension c(n, length(what), 2L) with n the length of either p or t. The last dimension indicate the physical state ("liquid" or "gas").

Note

Computing several properties in a single call may be more efficient than separately because most of the computation time is shared.

Author(s)

Jonathan Debove

References

International Association for the Properties of Water and Steam, IAPWS R16-17(2018), Revised Release on the IAPWS Formulation 2017 for the Thermodynamic Properties of Heavy Water.

Examples

# IAPWS-17 Tab. 8
M <- 20.027508  # g/mol
tab <- heavy17_sat(c("p", "rho", "h", "s"), t = c(280, 450, 625))
format(tab, scientific = TRUE, digits = 9)


[Package iapws version 1.1 Index]