buildparams: buildparams

Description Usage Arguments Value

View source: R/buildparams.r

Description

Function to set up parameters for the sedimentation equation used in the trackit_2D function

Usage

1
2
3
4
5
buildparams(speed, time_step_in_s = time_step_in_s, p0 = 1030, p1 = 1100,
  cosO = 1, g = 9.81, K = 0.0025, E = 1, r = 0.00016, Ucsq = -(0.05
  * (p0 - p1) * g * 2 * (1.5 * E)^(1/3) * r)/(p0 * K), Wd = speed,
  SedFunct = function(U_div, dens) time_step_in_s * (p1 * (dens) * Wd * cosO *
  (U_div) * (U_div))/p0)

Arguments

speed

sinking speed

time_step_in_s

the time-step in seconds

r

particle radius

Value

list(p0 = p0, p1 = p1, cosO = cosO, g = g, K = K, E = E, r = r, Wd = Wd, Ucsq = Ucsq, SedFunct = SedFunct)


janjansen86/ptrackr documentation built on May 18, 2019, 2:38 p.m.