engineering › fluids ›
Reynolds
Evaluates the Reynolds number of given parameters.
Controller: CodeCogs
Contents
Interface
C++
Excel
Reynolds
doubleReynolds( | double | diameter | |
double | velocity | ||
double | density | ||
double | viscosity | )[inline] |
Example 1
#include <stdio.h> #include <codecogs/engineering/fluids/reynolds.h> int main() { double Re = Engineering::Fluids::Reynolds(5, 10, 23, 0.45345); printf("Re = %.13lf\n", Re); if (Re < 2000) printf("Laminar flow.\n"); else if (Re > 4000) printf("Turbulent flow.\n"); else printf("Unpredictable flow (critical zone).\n"); return 0; }
Output
Re = 2536.1120299922814 Unpredictable flow (critical zone).
References
- The Engineering Division, Crane Co., "Flow of fluids through valves, fittings, and pipe", Chicago, 1957
Parameters
diameter characteristic length (ft) velocity mean velocity of flow (ft/s) density weight density of fluid (lb/ft) viscosity absolute viscosity of fluid (lb/ft s)
Returns
- The Reynolds number corresponding to the given parameters.
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.