FUNCTION
headloss_Bernoulli
Calculates the head loss using the extended Bernoulli equation.
You're viewing an older version of this page (#375). View the current version.
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:
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
Returns
References
The Engineering Division, Crane Co., "Flow of fluids through valves, fittings, and pipe", Chicago, 1957
Interactive Calculator
Computing…
Set a range above first to export a graph.