Toolyard

Fluid Flow and Bernoulli's Principle Simulator

Equations in this simulation

Q = A v, A = π D² ÷ 4
QFlow rate Q (liters per second)the volume passing any section each second; with an incompressible fluid it is the same in every section
Across-section of the pipefrom Pipe diameter D₁ (cm) and Throat diameter D₂ (cm)
vmean speed of the fluid in a sectionhalve the diameter and the area falls to a quarter, so the speed goes up four times

With the current values:

P₁ + ½ ρ v₁² + ρ g z₁ = P₂ + ½ ρ v₂² + ρ g z₂ + ΔP_loss
Ppressure in a sectionwhat the column above it shows, in kPa above the atmosphere
ρdensity of the fluidset by the Fluid menu
ggravitational acceleration9.81 m/s²
zheight of the sectionfrom Height of the outlet above the inlet h (m)
ΔP_losspressure lost to frictionzero unless Include friction (viscosity) is ticked

With the current values:

Q = A₂ √(2 ΔP ÷ (ρ (1 − (A₂ ÷ A₁)²)))
ΔPpressure drop from the pipe to the throata Venturi meter turns this drop back into a flow rate; friction makes the reading slightly high

With the current values:

Re = ρ v D ÷ μ
ReReynolds numberbelow about 2,300 the flow in a pipe is laminar, above about 4,000 turbulent
μviscosity of the fluidset by the Fluid menu

With the current values:

ΔP_loss = f (L ÷ D) ½ ρ v², f = 64 ÷ Re (laminar), f = 0.316 Re^(−1/4) (turbulent)
fDarcy friction factorf = 64 ÷ Re is the Hagen–Poiseuille law, ΔP = 8 μ L Q ÷ (π R⁴); the turbulent one is the Blasius formula for a smooth pipe

With the current values:

How to use the Bernoulli's principle simulator

  1. Pick a fluid and set the flow rate, the pipe and throat diameters, the height of the outlet and the pressure at the inlet. The dots stream through the pipe; they speed up in the narrow throat, because the same volume has to pass every section each second.
  2. Read the three pressure columns over sections A, B and C, like the tubes of a Venturi meter. The pressure falls where the fluid speeds up and where the pipe rises, as Bernoulli's equation says; the columns stretch the differences between the gauges so small drops show, and each is labeled in kPa. The chart plots the pressure along the whole pipe, and the dashed line, pressure plus ½ρv² plus ρgz, stays flat while there is no friction.
  3. Tick Include friction to give the fluid viscosity: the flow takes a parabolic profile when it is laminar and a flatter one when it is turbulent, and the dashed line now slopes down. Try honey to see laminar flow with a large pressure loss, or narrow the throat until the pressure there drops below the vapor pressure and the model warns of cavitation. The Pipe Flow Calculator and the Reynolds Number Calculator do the same sums for real pipes.

Frequently asked questions

What does Bernoulli's principle say?

Along a streamline in a steady flow of an incompressible fluid without friction, P + ½ρv² + ρgz is constant: pressure, kinetic energy per volume and potential energy per volume add up to the same total. So where the fluid moves faster, or higher, its pressure is lower. It is conservation of energy for a moving fluid.

Why does the fluid speed up in the narrow part?

Because of continuity. An incompressible fluid cannot pile up anywhere, so the volume flow Q = A v is the same through every section. Halve the diameter and the area falls to a quarter, so the speed rises four times.

How does a Venturi meter measure flow?

It measures the pressure drop between the pipe and a narrower throat. With continuity and Bernoulli's equation, Q = A₂ √(2ΔP ÷ (ρ(1 − (A₂/A₁)²))). Real meters multiply this by a discharge coefficient of about 0.98 to allow for friction.

What is the Reynolds number?

Re = ρvD ÷ μ, the ratio of inertial to viscous forces in the flow. In a pipe, flow is usually laminar (smooth layers) below about 2,300 and turbulent (chaotic eddies) above about 4,000. Water in a household pipe is almost always turbulent; honey and blood in capillaries are laminar.

Is this how airplane wings make lift?

Partly. Air does move faster over the top of a wing and the pressure there is lower, which Bernoulli's equation describes. But the popular explanation that air over the top must "catch up" with air underneath is wrong; the speeds come from the wing turning the airflow downward, and explaining that needs the full equations of fluid flow, not Bernoulli's principle alone.

It says WebGL is turned off.

The 3D view needs WebGL, which every current browser has. It can be switched off by hardware acceleration being disabled in the browser settings, or by a very old graphics driver. Turn hardware acceleration on, or try another browser.

Is anything uploaded?

No. The simulation is drawn by your own browser with WebGL; nothing is sent anywhere, and it keeps working offline once the page has loaded.

More science simulations

Projectile Motion SimulatorPendulum SimulatorDouble-Slit Experiment SimulatorElectric Field SimulatorOrbit SimulatorMass-Spring Oscillator SimulatorRutherford Scattering SimulatorParticle Collider Event DisplayRadioactive Decay SimulatorBohr Atom Simulator3D Molecule ViewerIdeal Gas SimulatorDiffusion and Osmosis SimulatorDNA and RNA Folding ViewerBacterial Growth SimulatorCentrifuge SimulatorLens and Mirror Ray Diagram SimulatorStanding Wave SimulatorDoppler Effect SimulatorCollision and Momentum SimulatorRC and RL Circuit SimulatorCharged Particle in a Magnetic Field SimulatorBlackbody Radiation SimulatorSpecial Relativity SimulatorRefraction and Total Internal Reflection SimulatorSeries and Parallel Circuit SimulatorElectromagnetic Induction SimulatorTitration Curve SimulatorReaction Rate and Collision Theory SimulatorChemical Equilibrium Simulator (Le Chatelier)Galvanic Cell and Electrolysis SimulatorHeating Curve and Phase Change SimulatorAtomic Orbitals 3D ViewerBuffer SimulatorChromatography SimulatorSpectrophotometer and Beer-Lambert Law SimulatorCrystal Lattice 3D ViewerEnzyme Kinetics SimulatorAction Potential SimulatorPCR SimulatorNatural Selection and Population Genetics SimulatorHeart and Cardiac Cycle SimulatorGel Electrophoresis SimulatorMitosis and Meiosis SimulatorProtein Synthesis Simulator: Transcription and TranslationPhotosynthesis and Limiting Factors SimulatorPredator and Prey Population SimulatorEpidemic Spread Simulator: SIR and SEIRSeasons and Day Length SimulatorPlate Tectonics and Earthquake SimulatorMoon Phases, Tides and Eclipses SimulatorGreenhouse Effect SimulatorStellar Evolution and Hertzsprung–Russell Diagram SimulatorGalton Board SimulatorFourier Series Simulator

Related calculators and tools

Guides