Function if97::pt

source ·
pub fn pt(p: f64, t: f64, o_id: i32) -> f64
Expand description

pt(p,t,o_id) - the propertry of o_id(thermodynamic,transport,etc)

Examples

use if97::*;

let p:f64 = 3.0;
let t:f64= 300.0-273.15;
let h=pt(p,t,OH);
let s=pt(p,t,OS);
let v=pt(p,t,OV);
println!("p={p:.6} t={t:.6} h={h:.6} s={s:.6} v={v:.6}");