.get_re {tealeaves}R Documentation

Re: Reynolds number

Description

Re: Reynolds number

Usage

.get_re(T_leaf, pars, unitless)

Arguments

T_leaf

Leaf temperature in Kelvin

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

Re=ud/DmRe = u d / D_\mathrm{m}

Symbol R Description Units Default
dd leafsize Leaf characteristic dimension in meters m 0.1
DmD_\mathrm{m} D_m diffusion coefficient of momentum in air m2^2 / s calculated
uu wind windspeed m / s 2

Value

A unitless number of class units

Examples


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)


[Package tealeaves version 1.0.6 Index]