heavy17_state: IAPWS-17 Physical States

View source: R/heavy17.R

heavy17_stateR Documentation

IAPWS-17 Physical States

Description

Identify the physical state of heavy water according to the IAPWS formulation 2017.

Usage

heavy17_state(p, t, rho)

Arguments

p

a numeric vector giving the pressure values in MPa.

t

a numeric vector giving the temperature values in K.

rho

a numeric vector giving the density values in kg/m^3.

Details

A valid pair of p, rho, t is needed: either (p, t) or (rho, t).

Value

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

Author(s)

Jonathan Debove

Examples

heavy17_state(p = c(.1, .1, 23), t = c(293.15, 393.15, 650))
heavy17_state(rho = c(1200, .1, 500, 500),
              t = c(293.15, 373.15, 650, 373.15))

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