nozzle
Computes the rate of flow of a fluid through a nozzle or orrifice.
Controller: CodeCogs
Contents
Interface
C++
Excel
Nozzle
| doublenozzle( | double | discharge | |
| double | area | ||
| double | head_loss | ||
| bool | approach_velocity = false | ||
| double | diameter0 = 0 | ||
| double | diameter1 = 1 | )[inline] |
Example 1
#include <stdio.h> #include <codecogs/engineering/fluids/imperial/nozzle.h> int main() { double flow1 = Engineering::Fluids::Imperial::nozzle (0.377, 0.6, 1.23), flow2 = Engineering::Fluids::Imperial::nozzle (0.38, 0.5, 0.1, true, 0.3, 0.9); printf("Flow through nozzle 1 = %.12lf ft^3/s\n", flow1); printf("Flow through nozzle 2 = %.12lf ft^3/s\n", flow2); return 0; }
Output
Flow through nozzle 1 = 2.013205415570 ft^3/s Flow through nozzle 2 = 0.485170124802 ft^3/s
References
- The Engineering Division, Crane Co., "Flow of fluids through valves, fittings, and pipe", Chicago, 1957
Parameters
discharge the discharge coefficient area cross sectional area of pipe or orifice (ft) head_loss loss of static pressure head due to fluid flow (ft) approach_velocity Default value = false diameter0 Default value = 0 diameter1 Default value = 1
Returns
- The rate of flow through the nozzle or orrifice (ft/s).
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.

