Learn R Programming

tealeaves (version 1.0.6)

.get_gh: g_h: boundary layer conductance to heat (m / s)

Description

g_h: boundary layer conductance to heat (m / s)

Usage

.get_gh(T_leaf, surface, pars, unitless)

Value

Value in m/s of class units

Arguments

T_leaf

Leaf temperature in Kelvin

surface

Leaf surface (lower or upper)

pars

Concatenated parameters (leaf_par, enviro_par, and constants)

unitless

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.

Details

$$g_\mathrm{h} = D_\mathrm{h} Nu / d$$

SymbolRDescriptionUnitsDefault
\(d\)leafsizeLeaf characteristic dimension in metersm0.1
\(D_\mathrm{h}\)D_hdiffusion coefficient for heat in airm\(^2\) / scalculated
\(Nu\)NuNusselt numbernonecalculated

Examples

Run this code

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)

Run the code above in your browser using DataLab