Skip to contents

Calculates the volumetric flow rate in a pipe given a specific head loss, length, internal diameter, and Flamant coefficient.

Usage

calc_flow_flamant(loss, length, diameter, coef = 0.000135)

Arguments

loss

Numeric. The friction head loss (meters).

length

Numeric. The length of the pipe (meters).

diameter

Numeric. The internal diameter of the pipe (meters).

coef

Numeric. The Flamant roughness coefficient (b). Default is 0.000135, which is typical for smooth plastic pipes (e.g., PVC, PE).

Value

A numeric vector representing the volumetric flow rate in cubic meters per second.

Examples

# Find maximum flow rate for a 50m pipe with 15mm diameter and 1.5m head loss
calc_flow_flamant(loss = 1.5, length = 50, diameter = 0.015)
#> [1] 8.737103e-05