Last chance! 50% off unlimited learning
Sale ends in
Re: Reynolds number
.get_re(T_leaf, pars, unitless)
A unitless number of class units
Leaf temperature in Kelvin
Concatenated parameters (leaf_par
, enviro_par
, and constants
)
Logical. Should function use parameters with units
? The function is faster when FALSE, but input must be in correct units or else results will be incorrect without any warning.
Symbol | R | Description | Units | Default |
leafsize | Leaf characteristic dimension in meters | m | 0.1 | |
D_m | diffusion coefficient of momentum in air | m | calculated | |
wind | windspeed | m / s | 2 |
library(tealeaves)
cs <- make_constants()
ep <- make_enviropar()
lp <- make_leafpar()
T_leaf <- set_units(298.15, K)
tealeaves:::.get_re(T_leaf, c(cs, ep, lp), FALSE)
Run the code above in your browser using DataLab