head_loss | R Documentation |
headLoss
calculate the head loss by friction in pipes by different
methods
head_loss(
d,
q,
q_unit = "m3/s",
l,
rc = 0.002,
v = 1.01e-06,
g = 9.81,
x1 = 0.06
)
d |
Diameter in milimeters |
q |
Flow rate in cubic meters per second |
q_unit |
Flow measurement unit. Default is cubic meters per second (m3/s). Also allowed liters per hour (l/h) and cubic meters per hour (m3/h) |
l |
Length of pipe in meters |
rc |
Roughness coefficient. Absolute roughness (in meters) for Universal equation. |
v |
Kinematic viscosity of fluid in square meters per second. By
default use the value for water at 20 Celsius degree
( |
g |
Gravitational acceleration. By default use the value
|
x1 |
Initial parameter of f for Newton-Raphson.
By default |
hf Head loss in meters
head_loss(d = 25, q = 31e-6, l = 100, rc = 1e-4)
head_loss(d = 25, q = 111.6, q_unit="l/h", l = 100, rc = 1e-4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.