Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-get_gr

Gr: Grashof number


Description

Gr: Grashof number

Usage

.get_gr(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

Gr = t_air G d ^ 3 abs(Tv_leaf - Tv_air) / D_m ^ 2

Symbol R Description Units Default
d leafsize Leaf characteristic dimension in meters m 0.1
D_m D_m diffusion coefficient of momentum in air m^2 / s calculated
G G gravitational acceleration m / s^2 9.8
t_air t_air coefficient of thermal expansion of air 1 / K 1 / Temp
Tv_air Tv_air virtual air temperature K calculated
Tv_leaf Tv_leaf virtual leaf temperature K calculated

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_gr(T_leaf, c(cs, ep, lp), FALSE)

tealeaves

Solve for Leaf Temperature Using Energy Balance

v1.0.5
MIT + file LICENSE
Authors
Chris Muir [aut, cre] (<https://orcid.org/0000-0003-2555-3878>)
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.