Learn R Programming

iapws (version 1.1)

if97_state: IAPWS-IF97 Physical States

Description

Identify the physical state of water according to the IAPWS industrial formulation 1997.

Usage

if97_state(p, t)

Value

A character vector giving the physical state. One of "solid",

"liquid", "gas", "supercritical",

"saturated" or "undef".

Arguments

p

a numeric vector giving the pressure values in MPa.

t

a numeric vector giving the temperature values in K.

Author

Jonathan Debove

Examples

Run this code
if97_state(p = c(.1, .1, 23), t = c(293.15, 373.15, 650))

Run the code above in your browser using DataLab