๐Ÿ“Š Moody Diagram Explorer

Interactive Moody diagram. Compute Colebrook-White and Swamee-Jain friction factors, identify flow regimes, and plot custom operating points.

โšก Fortran 90 Engine Double Precision (IEEE 754) โœ“ ISO / ASME Validated
Moody Diagram Explorer Fluid Mechanics
๐Ÿ“Š Solver Telemetry โ— ACTIVE
๐Ÿ‘๏ธ Views 255
โšก Solves 201
๐Ÿ’พ Downloads 461 ๐Ÿ“ฆ Fortran Code 4.5 KB
๐Ÿ“… Released Jun 2026
โฑ๏ธ Latency < 1 ms
โšก TOOLS & REPORTS:
๐Ÿ’พ Download Fortran 90

๐Ÿ“ Configuration

๐Ÿ“ Operating Point
๐Ÿ”ง Pipe and Fluid (optional)
Key Equations:

Colebrook-White: 1/โˆšf = โˆ’2 logโ‚โ‚€[ฮต/(3.7D) + 2.51/(Reโˆšf)]
Swamee-Jain: f = 0.25/[logโ‚โ‚€(ฮต/(3.7D)+5.74/Reโฐยทโน)]ยฒ
Laminar: f = 64/Re

๐Ÿ“Š Interactive Moody Diagram

๐Ÿ“˜ Calculation Methodology

Mathematical Model

The Moody diagram maps friction factor f vs Reynolds number for different relative roughness values. The implicit Colebrook-White equation is solved iteratively. The Swamee-Jain explicit equation gives a direct approximation within ยฑ1%.

Worked Example

For Re = 10โต and ฮต/D = 1.5ร—10โปโด (commercial steel), the engine iterates Colebrook-White to convergence and also evaluates the Swamee-Jain formula, reporting both.

Diagram Features

  • Log-log canvas with Re on x-axis and f on y-axis.
  • Laminar line f = 64/Re for Re < 2300.
  • Multiple roughness curves from smooth to fully rough.
  • Click or hover on canvas to read interpolated f, Re, ฮต/D.
  • Operating point highlighted when calculated.