FUNCTION
headloss_Bernoulli
Calculates the head loss using the extended Bernoulli equation.
Interface
#include <codecogs/engineering/fluids/imperial/headloss_bernoulli.h>
using namespace Engineering::Fluids::Imperial;
Considering two different points within a fluid given by their elevations , pressures
and velocity of the fluid at those points
, the Bernoulli equation takes the form:
(1)
where is the weight density of the fluid and
is the pipe friction loss or head loss from point 1 to point 2. The acceleration of gravity
is assumed to be 32.2 feet per second per second.
Example 1
#include <stdio.h>
#include <codecogs/engineering/fluids/imperial/headloss_bernoulli.h>
int main()
{
double loss = Engineering::Fluids::Imperial::headloss_Bernoulli
(0.45345, 2.5, 3.4, 10, 7, 100, 95);
printf("Head loss = %.14lf ft\n", loss);
return 0;
}Output
Head loss = 43.82658376874603 ftParameters
density
weight density of fluid (pounds per cubic feet)
elevation1
elevation at point 1 above reference level (feet)
elevation2
elevation at point 2 above reference level (feet)
pressure1
pressure at point 1 (pounds per square)
pressure2
pressure at point 2 (pounds per square)
velocity1
mean velocity of flow at point 1 (feet per second)
velocity2
mean velocity of flow at point 2 (feet per second)
Returns
The head loss between point 1 and point 2.
References
The Engineering Division, Crane Co., "Flow of fluids through valves, fittings, and pipe", Chicago, 1957
Interactive Calculator
density
elevation1
elevation2
pressure1
pressure2
velocity1
velocity2
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.