dot-get_gh.Rd
g_h: boundary layer conductance to heat (m / s)
.get_gh(T_leaf, surface, pars, unitless)
Leaf temperature in Kelvin
Leaf surface (lower or upper)
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.
Value in m/s of class units
$$g_\mathrm{h} = D_\mathrm{h} Nu / d$$
Symbol | R | Description | Units | Default |
\(d\) | leafsize | Leaf characteristic dimension in meters | m | 0.1 |
\(D_\mathrm{h}\) | D_h | diffusion coefficient for heat in air | m\(^2\) / s | calculated |
\(Nu\) | Nu | Nusselt number | none | calculated |
library(tealeaves)
cs <- make_constants()
ep <- make_enviropar()
lp <- make_leafpar()
T_leaf <- set_units(298.15, K)
tealeaves:::.get_gh(T_leaf, "lower", c(cs, ep, lp), FALSE)
#> 0.01377139 [m/s]