powered by
Identify the physical state of water according to the IAPWS formulation 1995.
iapws95_state(p, t, rho)
A character vector giving the physical state. One of "solid", "liquid", "gas",
"solid"
"liquid"
"gas"
"supercritical", "saturated" or "undef".
"supercritical"
"saturated"
"undef"
a numeric vector giving the pressure values in MPa.
a numeric vector giving the temperature values in K.
a numeric vector giving the density values in kg/m\(^3\).
Jonathan Debove
A valid pair of p, rho, t is needed: either (p, t) or (rho, t).
p
rho
t
(p, t)
(rho, t)
iapws95_state(p = c(.1, .1, 23), t = c(293.15, 373.15, 650)) iapws95_state(rho = c(1000, .1, 500, 500), t = c(293.15, 373.15, 650, 373.15))
Run the code above in your browser using DataLab