| DRYAIR {TrenchR} | R Documentation |
Properties of Dry Air
Description
The function calculates several properties of dry air and related characteristics shown as output variables below. The program is based on equations from List (1971) and code implementation from NicheMapR (Kearney and Porter 2017; Kearney and Porter 2020).
The user must supply values for the input variables db, bp, and alt. If alt is known (-1000 < alt < 20000) but not BP, then set bp = 0.
Usage
DRYAIR(db, bp = 0, alt = 0)
Arguments
db |
|
bp |
|
alt |
|
Value
Named list with elements
patmos:numericstandard atmospheric pressure (Pa)density:numericdensity (kg m-3)visdyn:numericdynamic viscosity (kg m-1 s-1)viskin:numerickinematic viscosity (m2 s-1)difvpr:numericdiffusivity of water vapor in air (m2 s-1)thcond:numericthermal conductivity (W K-1 m-1)htovpr:numericlatent heat of vaporization of water (J kg-1)tcoeff:numerictemperature coefficient of volume expansion (K-1)ggroup:numericgroup of variables in Grashof number (m-3 K-1)bbemit:numericblack body emittance (W m-2)emtmax:numericwave length of maximum emittance (m)
References
Kearney MR, Porter WP (2017).
“NicheMapR - an R package for biophysical modelling: the microclimate model.”
Ecography, 40, 664-674.
doi: 10.1111/ecog.02360.
Kearney MR, Porter WP (2020).
“NicheMapR - an R package for biophysical modelling: the ectotherm and Dynamic Energy Budget models.”
Ecography, 43(1), 85-96.
doi: 10.1111/ecog.04680.
List RJ (1971).
“Smithsonian Meteorological Tables.”
Smithsonian Miscellaneous Collections, 114(1), 1-527.
https://repository.si.edu/handle/10088/23746.
Examples
DRYAIR(db = 30,
bp = 100*1000,
alt = 0)