generate_strainrange_fbm: Generate range of strains for FBM model (discrete root...

Description Usage Arguments Value Examples

View source: R/generate_strainrange_fbm.R

Description

This function generates a range of strains to be used for FBM calculations, assuming discrete root classes. Strain is given as the (normalised) strain in the reference root (tensile strain/tensile strain to peak). It calculates the strains at failure of each root class, and optionally adds a zero-strain points and the strain points just after root failures (to draw nice 'sawtooth' plots).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
generate_strainrange_fbm(
  dr,
  tru,
  betaF,
  tru0,
  includezero = T,
  includefailure = T,
  failureoffset = 1e-06,
  margin = NULL,
  dr0 = 1,
  outputperclass = F
)

Arguments

dr

representative diameter of root class (numeric array, size m)

tru

tensile strenght of roots in root class (numeric array, size m)

betaF

load sharing parameter (numeric scalar)

tru0

tensile strength of root with reference diameter

includezero

If TRUE, includes a zero-strain point

includefailure

if TRUE, includes a extra strain point just after failure in each class. The offset is governed by the value of 'failureoffset'

failureoffset

The strain offset for strain points just after root failure. This offset is equal to the value of 'includefailure' multiplied by strain to get the last root to fail

margin

if specified, add an extra point at ‘margin*max(epsr0rel)’

dr0

Reference diameter (numeric scalar, default 1.0)

outputperclass

if TRUE, return the values of breakage strain for each input class

Value

numeric array with (reference) strains 'epsr0rel'

Examples

1
generate_strainrange_fbm(seq(1,5,l=10), 10e3*seq(1.5,1,l=10), 1, 10e3)

GJMeijer/FBMcw documentation built on Dec. 17, 2021, 9:23 p.m.