calc_density_h2o: Density of water

Description Usage Arguments Value References Examples

View source: R/calc_density_h2o.R

Description

Calculates the density of water as a function of temperature and atmospheric pressure, using the Tumlirz Equation.

Usage

1

Arguments

tc

numeric, air temperature (tc), degrees C

p

numeric, atmospheric pressure (p), Pa

Value

numeric, density of water, kg/m^3

References

F.H. Fisher and O.E Dial, Jr. (1975) Equation of state of pure water and sea water, Tech. Rept., Marine Physical Laboratory, San Diego, CA.

Examples

1
2
print("Density of water at 20 degrees C and standard atmospheric pressure:")
print(calc_density_h2o(20, 101325))

dsval/rpmodel-grid-dev documentation built on March 11, 2021, 7:47 a.m.