Learn R Programming

hydReng (version 0.1.0)

froude_number: Froude Number

Description

Calculates the froude number of a CSarbitrary or CScircle object for a given water level and velocity under uniform flow conditions.

Usage

froude_number(object, v, h)

Value

Froude number [-]

Arguments

object

A CSarbitrary or CScircle object.

v

Flow velocity [m/s].

h

Flow depth [m].

Examples

Run this code

# Example for CSarbitrary object
x <- c(0, 4, 9, 13)
z <- c(2, 0, 0, 2)
cs <- CSarbitrary(x = x, z = z, xb_l = 4, xb_r = 9, kSt_B = 35,
                  kSt_l = 45, kSt_r = 45)
froude_number(cs,h=1, v = 2.5)

# Example for CScircle object
csC <- CScircle(Di = 0.7,ks = 1.5, kSt = 75)
froude_number(csC, h = 0.46, v = 2.5)

Run the code above in your browser using DataLab