PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 46 in Thermodynamics.

View category →
NewSchool

Open-Channel Flow & Hydraulic Jump

Launch Simulator

Rectangular-channel Froude number, critical depth, conjugate depths, energy loss, and subcritical/supercritical regimes.

NewSchool

Psychrometric Chart

Launch Simulator

Moist-air HVAC chart: dry-bulb, RH, humidity ratio, dew point, wet-bulb approximation, enthalpy, and two-stream mixing.

NewSchool

Eden Growth (Lattice)

Launch Simulator

Square-lattice Eden model: each step occupies a uniformly random empty von-Neumann neighbor of the cluster; compact growth with a rough interface—track perimeter P vs 2√(πN) as a roughness proxy.

NewSchool

Lumped Capacitance Cooling

Launch Simulator

Newton cooling with Biot number, characteristic length, τ = ρVc/(hA), temperature curve, and validity check Bi < 0.1.

NewSchool

Adiabatic Cloud Parcel

Launch Simulator

Lift moist air: dry Γ, LCL, toy moist lapse; RH and cartoon cloud vs height.

NewSchool

Bénard Convection (Rayleigh)

Launch Simulator

Heated-from-below layer: Ra vs Ra_c ~1708; schematic hex/roll pattern.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Thermodynamics/Pipe Friction & Moody Chart

Pipe Friction & Moody Chart

Reynolds number, relative roughness, Swamee-Jain/Colebrook-style friction factor, and Darcy-Weisbach head loss.

Pipe and flow

80 mm
45 m
8 L/s
0.045 mm

Fluid

998 kg/m³
1 mPa·s

Measured values

Reynolds number1.27e+5
Darcy friction factor0.02012
Relative roughness ε/D0.000562
Mean velocity1.59m/s
Head loss hf1.46m
Pressure drop Δp14.3kPa

This is a steady, fully developed pipe-flow model using Darcy friction factor. Minor losses, fittings, pumps, non-Newtonian fluids, compressibility, entrance effects, and two-phase flow are not included.

Live graphs

About this model

Pipe pressure loss in steady internal flow is commonly estimated with the Darcy-Weisbach equation, h_f = f(L/D)V²/(2g). The friction factor f depends on Reynolds number Re = ρVD/μ and relative roughness ε/D. This simulator uses f = 64/Re for laminar flow and the explicit Swamee-Jain approximation for turbulent flow, which tracks the Colebrook/Moody chart without iteration. The chart shows smooth and rough turbulent curves, transition markers, the current operating point, head loss, and pressure drop. It assumes steady, fully developed, incompressible, single-phase Newtonian flow in a straight circular pipe.

Who it's for: Fluid mechanics, hydraulics, HVAC, process piping, civil engineering, and mechanical engineering introductions.

Key terms

  • Moody chart
  • Darcy-Weisbach
  • Friction factor
  • Reynolds number
  • Relative roughness

How it works

Moody chart and Darcy-Weisbach pipe friction calculator: Reynolds number, relative roughness, Swamee-Jain friction factor, head loss, and pressure drop.

Key equations

Re = ρVD/μ, h_f = f (L/D) V²/(2g)
Swamee-Jain: f = 0.25/[log10(ε/(3.7D)+5.74/Re^0.9)]²; laminar f=64/Re

Frequently asked questions

Why use Darcy friction factor instead of Fanning?
The Moody chart and Darcy-Weisbach head-loss equation usually use the Darcy factor. The Fanning factor is one quarter of the Darcy factor, so mixing conventions causes a factor-of-four error.
What happens in the transition region?
Between roughly Re = 2300 and 4000, flow can switch between laminar and turbulent depending on disturbances and inlet conditions. The simulator flags it rather than pretending the correlation is precise there.