total head
Returns the total energy within a fluid using the simplified Bernoulli equation.
Controller: CodeCogs
Contents
Interface
C++
Excel
Bernoulli
| doubleBernoulli( | double | density | |
| double | elevation | ||
| double | pressure | ||
| double | velocity | )[inline] |
Example 1
#include <stdio.h> #include <codecogs/engineering/fluids/imperial/bernoulli.h> int main() { double energy = Engineering::Fluids::Imperial::Bernoulli(0.34, 3, 0.5, 2); printf("Total energy: %.12lf ft\n", energy); return 0; }
Output
Total energy: 214.826817683595 ft
References
- The Engineering Division, Crane Co., "Flow of fluids through valves, fittings, and pipe", Chicago, 1957
Parameters
density weight density of fluid (lb/ft) elevation potential head or elevation above reference level (ft) pressure pressure (lb/in) velocity mean velocity of flow (ft/s)
Returns
- Total energy of fluid (ft).
Authors
- Lucian Bentea (July 2006)
Source Code
This module is private, for owner's use only.
Not a member, then Register with CodeCogs. Already a Member, then Login.

