Ar: Ar: Archimedes number

Description Usage Arguments Details Value Examples

View source: R/Ar.R

Description

Ar: Archimedes number

Usage

1
Ar(T_leaf, pars, unitless = FALSE)

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

The Archimedes number is a dimensionless number that describes when free or forced convection dominates.

Ar = Gr / Re ^ 2


Symbol R Description Units Default
Gr Gr Grashof number none calculated
Re Re Reynolds number none calculated

Value

unitless = TRUE: A unitless number of class numeric unitless = FALSE: A unitless number of class units Also returns Reynolds and Grashof numbers

Examples

1
2
3
4
5
6
7
cs <- make_constants()
ep <- make_enviropar()
lp <- make_leafpar()
pars <- c(cs, lp, ep)
T_leaf <- set_units(298.15, "K")

Ar(T_leaf, pars)

cdmuir/tealeaves documentation built on June 21, 2020, 2:32 a.m.