.get_gbw {tealeaves}R Documentation

g_bw: Boundary layer conductance to water vapour (m / s)

Description

g_bw: Boundary layer conductance to water vapour (m / s)

Usage

.get_gbw(T_leaf, surface, pars, unitless)

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

gbw=DwSh/dg_\mathrm{bw} = D_\mathrm{w} Sh / d

Symbol R Description Units Default
dd leafsize Leaf characteristic dimension in meters m 0.1
DwD_\mathrm{w} D_w diffusion coefficient for water vapour m2^2 / s calculated
ShSh Sh Sherwood number none calculated

Value

Value in m / s of class units

Examples


library(tealeaves)

cs <- make_constants()
ep <- make_enviropar()
lp <- make_leafpar()

T_leaf <- set_units(298.15, K)

tealeaves:::.get_gbw(T_leaf, "lower", c(cs, ep, lp), FALSE)


[Package tealeaves version 1.0.6 Index]