if97_state: IAPWS-IF97 Physical States

View source: R/if97.R

if97_stateR Documentation

IAPWS-IF97 Physical States

Description

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

Usage

if97_state(p, t)

Arguments

p

a numeric vector giving the pressure values in MPa.

t

a numeric vector giving the temperature values in K.

Value

A character vector giving the physical state. One of "solid", "liquid", "gas", "supercritical", "saturated" or "undef".

Author(s)

Jonathan Debove

Examples

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

iapws documentation built on Nov. 19, 2022, 1:08 a.m.