kp: Unit Friction Slope

Description Usage Arguments Value Examples

View source: R/main.R

Description

Unit Friction Slope

Usage

1
kp(D, C = 130)

Arguments

D

Pipe diameter in Inches

C

Hazen-Williams friction factor

Value

k' (numerical) unit friction slope for 1 LF of pipeline (corrected for PSI)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# friction factor for 5,000 LF of 12-inch pipe
k <- 5000*kp(12)

# Headloss at 2,000 GPM for 5,000 LF of 12-inch pipe
k*2000^1.85

#' # friction factor for 5,000 LF of 12-inch pipe at C=100
k <- 5000*kp(12, 100)

# Headloss at 2,000 GPM for 5,000 LF of 12-inch pipe
k*2000^1.85

dCraigJones/n185 documentation built on Feb. 1, 2020, 2:09 a.m.