CSarbitrary-class | R Documentation |
Defines a cross-section class with arbitrary geometry for hydraulic calculations. For single open channels only, avoid geometries with multiple channels.
x
A numeric vector of x-coordinates [m].
z
A numeric vector of z-coordinates [m].
xb_l
x-coordinate of the left bank bottom [m].
xb_r
x-coordinate of the right bank bottom [m].
kSt_B
Roughness of the channel bed [m^(1/3)/s].
kSt_l
Roughness of the left bank [m^(1/3)/s].
kSt_r
Roughness of the right bank [m^(1/3)/s].
# Define sample cross-section data
x <- c(0, 4, 9, 13)
z <- c(2, 0, 0, 2)
cs <- new("CSarbitrary", x = x, z = z, xb_l = 4, xb_r = 9,
kSt_B = 35, kSt_l = 45, kSt_r = 45)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.