Fluid Pressure and Flow Simulator
Interactive fluid mechanics simulator demonstrating Bernoulli's principle, Pascal's law, and continuity equation. Visualize pressure gradients with color-coded fields, animated particle tracers, and real-world applications including airplane lift, hydraulic systems, and blood flow.
Loading simulation...
Loading simulation, please wait✓ Verified Content: All equations, formulas, and reference data in this simulation have been verified by the Simulations4All engineering team against authoritative sources including NASA, NIST, and peer-reviewed fluid mechanics textbooks. See verification log
Understanding Fluid Pressure and Flow: A Comprehensive Guide
When I first started teaching fluid mechanics, students would glaze over at equations. Then I discovered something: show them a garden hose nozzle, and suddenly Bernoulli makes sense. This simulator brings that intuition to five fundamental fluid phenomena.
Fluid pressure and flow govern everything from your morning shower to aircraft flight. The equations are elegant--Bernoulli, Torricelli, Pascal, Poiseuille--but they become powerful when you see them animate before your eyes. After spending years troubleshooting hydraulic systems and analyzing flow problems, I've distilled the core concepts into interactive demonstrations that actually stick [1].
The Big Picture: Pressure-Velocity Tradeoff
Here's the fundamental insight that unlocks fluid mechanics: in a moving fluid, pressure and velocity trade off. Speed up the flow, pressure drops. Slow it down, pressure rises. This single principle explains airplane lift, carburetors, atomizers, and why your shower curtain gets sucked inward [2].
How to Use This Simulation
Picture the streamlines as you explore each demo mode. The flow behaves differently depending on geometry, velocity, and fluid properties, and this simulator lets you visualize those relationships through color-coded pressure fields and animated particle tracers.
Selecting a Demo Mode
Start by clicking one of the five mode buttons at the top:
| Mode | What It Demonstrates | Key Physics |
|---|---|---|
| Venturi Tube | Pressure drop through constriction | Bernoulli's principle, continuity equation |
| Airplane Wing | Lift generation from flow asymmetry | Pressure-velocity tradeoff, angle of attack effects |
| Hydraulic Press | Force multiplication through area ratio | Pascal's law, mechanical advantage |
| Water Tower | Gravity-driven flow from elevation | Torricelli's theorem, hydrostatic pressure |
| Blood Vessel | Viscous flow through narrowing tubes | Poiseuille's law, stenosis effects |
Input Parameters by Mode
Each mode exposes different sliders. The flow behaves differently depending on these variables:
Venturi Tube:
| Parameter | Range | Effect |
|---|---|---|
| Inlet Diameter | 20-100 mm | Baseline area. Larger inlet = slower entry velocity at same flow rate. |
| Throat Diameter | 10-80 mm | Must be smaller than inlet. Smaller throat = higher acceleration, more pressure drop. |
| Flow Velocity | 0.5-10 m/s | Drives the pressure-velocity exchange. Higher V = more dramatic pressure gradients. |
| Fluid Density | 800-1200 kg/m3 | Affects dynamic pressure term (rho*V^2/2). Water vs. oil gives different pressure scales. |
Airplane Wing:
| Parameter | Range | Effect |
|---|---|---|
| Angle of Attack | -10 to 20 deg | Primary lift controller. Above ~12 deg, the thin-airfoil model breaks down (stall region). |
| Airspeed | 10-150 m/s | Lift scales with V^2. Doubling speed quadruples lift. |
| Chord Length | 0.5-3 m | Wing size. Larger chord = more lift at same conditions. |
| Air Density | 0.5-1.5 kg/m3 | High altitude (low density) requires faster flight or higher angle for same lift. |
Hydraulic Press:
| Parameter | Range | Effect |
|---|---|---|
| Input Piston Diameter | 10-50 mm | Small piston where you apply force. |
| Output Piston Diameter | 50-200 mm | Large piston where force multiplies. MA = (D_out/D_in)^2. |
| Input Force | 10-500 N | Your applied effort. Output = Input * Area Ratio. |
Water Tower:
| Parameter | Range | Effect |
|---|---|---|
| Tower Height | 5-50 m | Determines exit velocity via V = sqrt(2gh). |
| Outlet Diameter | 10-100 mm | Affects flow rate (Q = A*V) but not velocity. |
| Water Level | 10-100% | Effective head changes as tank drains. |
Blood Vessel:
| Parameter | Range | Effect |
|---|---|---|
| Vessel Diameter | 2-10 mm | Baseline size. Flow scales with r^4 (Poiseuille). |
| Stenosis | 0-80% | Percentage narrowing. 50% stenosis cuts flow by ~94%, not 50%. |
| Heart Rate | 40-120 bpm | Pulsatile effects. Higher rate = more oscillation in animation. |
| Blood Viscosity | 2-6 cP | Higher viscosity (polycythemia) increases flow resistance. |
Understanding the Visualization
The canvas displays several layers of information:
-
Pressure Field (toggle with checkbox): Red = high pressure, blue = low pressure. Watch how colors shift as flow accelerates or decelerates.
-
Particles (toggle with checkbox): White dots trace the flow. In laminar conditions, they follow smooth paths. At high Reynolds numbers, you might see more chaotic motion.
-
Velocity Arrows (toggle with checkbox): Longer arrows = faster flow. Watch them stretch through constrictions and shrink in expansions.
-
Animation (toggle to pause): Freeze the display to examine static patterns, or let it run to see dynamic behavior.
Reading the Results
Each mode displays different outputs, but two primary values always appear:
| Output | What It Shows |
|---|---|
| Primary Value | Mode-dependent: pressure drop, lift force, output force, exit velocity, or flow rate |
| Secondary Value | Supporting calculation: velocity, mechanical advantage, Reynolds number, etc. |
The stats panel below shows additional parameters relevant to each demo. Reynolds number appears in modes where flow regime matters (venturi, blood vessel).
Tips for Exploration
Regime transitions: In the Venturi and Blood Vessel modes, watch the Reynolds number. The flow behaves differently depending on whether Re is below 2000 (laminar) or above 4000 (turbulent). At high Reynolds numbers, mixing increases and pressure losses deviate from simple theory.
Pressure-velocity tradeoff: Start with the Venturi mode. Increase inlet velocity and watch the throat turn bluer (lower pressure) while particles accelerate. This is Bernoulli in action: kinetic energy gained comes from pressure energy lost.
r^4 sensitivity: In Blood Vessel mode, start with 0% stenosis, then increase in 25% increments. The flow rate plummets faster than you expect because Poiseuille's law has radius to the fourth power. A 50% diameter reduction means flow drops to 1/16 of baseline, not 1/2. This explains why even moderate arterial plaque causes serious problems.
Force multiplication limits: In Hydraulic Press mode, maximize the diameter ratio. Notice that output force can be enormous (mechanical advantage > 100x), but remember the tradeoff: the output piston moves that many times slower. Conservation of energy wins every time.
Stall exploration: In Airplane Wing mode, gradually increase angle of attack beyond 12 degrees. The lift curve starts to flatten, then eventually the simple thin-airfoil model shows its limits. Real wings would experience flow separation and stall, which this simplified model cannot fully capture.
The Five Demo Modes Explained
1. Venturi Tube: Bernoulli in Action
The Venturi tube is the textbook example of Bernoulli's principle, and for good reason. As fluid enters the narrowed throat section, continuity demands it speed up (A1V1 = A2V2). That velocity increase comes at the cost of pressure--the throat region shows distinctly lower pressure (blue) compared to the inlet and outlet (red) [3].
What to observe:
- Watch particles accelerate through the throat
- Note the pressure color gradient
- Adjust throat diameter and see dramatic velocity changes
Real application: Venturi meters measure flow rate in industrial piping by measuring this pressure difference. The same principle powers paint sprayers, carburetors, and laboratory aspirators.
2. Airplane Wing: Lift Generation
This demonstration shows why aircraft fly, and it's not what most people think. The popular "equal transit time" explanation is actually wrong [4]. Lift occurs because the wing shape and angle of attack deflect air downward, and by Newton's third law, the air pushes the wing up.
The pressure field visualization shows lower pressure above the wing (faster flow) and higher pressure below. At positive angles of attack, this asymmetry creates lift.
Key parameters to explore:
- Angle of attack: Too high causes stall (the thin-airfoil approximation breaks down above ~12 degrees)
- Airspeed: Lift scales with velocity squared--double the speed, quadruple the lift
- Air density: Explains why aircraft struggle at high altitude
3. Hydraulic Press: Pascal's Multiplication
Pascal's principle feels like magic until you understand it: pressure applied to a confined fluid transmits equally in all directions. The hydraulic press exploits this by using different piston areas to multiply force [5].
With a 20mm input piston and 100mm output piston, the area ratio is 25:1. Apply 100 N, get 2500 N out. But here's the catch--conservation of energy means the output piston moves 25x slower. There's no free lunch, just force-distance tradeoff.
Practical insight: Every car brake system uses this principle. Your foot applies modest force to a small master cylinder; the larger wheel cylinders multiply that into the braking force needed to stop a 2-ton vehicle.
4. Water Tower: Torricelli's Theorem
Torricelli showed that fluid exiting a tank behaves like an object falling the same height: V = sqrt(2gh). A water tower 20 meters tall produces exit velocity of about 20 m/s--same as dropping a ball from that height [6].
The simulation lets you vary:
- Tower height (determines potential energy)
- Water level (effective driving head)
- Outlet diameter (affects flow rate but not velocity)
Municipal water systems use this principle. Those elevated tanks aren't just storage; the height provides the pressure head that pushes water through miles of pipes to your faucet without pumping.
5. Blood Vessel: Poiseuille Flow
Here's where fluid mechanics gets medical. Poiseuille's equation describes viscous flow through tubes, and the key insight is devastating: flow rate depends on radius to the fourth power [7].
A 50% stenosis (narrowing) doesn't cut flow in half--it cuts it by about 94%. This explains why even moderate arterial plaque causes serious problems. The simulation shows how stenosis creates:
- Accelerated flow through the narrowing (blue = low pressure)
- Increased wall shear stress (damages endothelium)
- Dramatically reduced overall flow
Clinical relevance: Cardiologists use pressure-velocity relationships to assess stenosis severity. The simulator's Reynolds number output indicates turbulence risk--healthy arteries maintain laminar flow (Re < 2000).
Key Equations Reference
| Principle | Equation | Variables |
|---|---|---|
| Bernoulli | P + (1/2)rhoV^2 + rhogh = constant | P=pressure, rho=density, V=velocity, h=height |
| Continuity | A1 * V1 = A2 * V2 | A=cross-section area, V=velocity |
| Pascal's Law | F1/A1 = F2/A2 = P | F=force, A=area, P=pressure |
| Torricelli | V = sqrt(2gh) | V=exit velocity, g=9.81, h=height |
| Poiseuille | Q = (pidPr^4)/(8muL) | Q=flow, dP=pressure drop, r=radius, mu=viscosity, L=length |
Typical Fluid Properties
| Fluid | Density (kg/m3) | Dynamic Viscosity (Pa*s) | Common Use |
|---|---|---|---|
| Water @ 20C | 998 | 0.001 | Baseline reference |
| Water @ 40C | 992 | 0.00065 | Hot water systems |
| Air @ 20C | 1.204 | 0.0000181 | Aerodynamics |
| Blood | 1060 | 0.003-0.004 | Medical analysis |
| Hydraulic Oil | 870 | 0.03 | Industrial systems |
Learning Objectives
After working through this simulator, you should be able to:
- Explain the inverse relationship between fluid velocity and pressure using Bernoulli's principle
- Calculate velocity changes through varying cross-sections using the continuity equation
- Apply Pascal's principle to determine force multiplication in hydraulic systems
- Predict exit velocities from tanks using Torricelli's theorem
- Analyze the dramatic effect of vessel diameter on viscous flow using Poiseuille's equation
- Interpret color-coded pressure fields to identify high and low pressure regions
Exploration Activities
Activity 1: Venturi Flow Measurement
- Set inlet diameter to 50mm, throat to 25mm, velocity to 2 m/s
- Record the pressure drop shown
- Use Bernoulli's equation to calculate expected pressure drop manually
- Compare your calculation to the simulator output
- Vary throat diameter and observe how pressure drop changes with area ratio squared
Activity 2: Aircraft Lift Investigation
- Start with 0 degree angle of attack--note zero lift
- Increase angle to 5 degrees, record lift force
- Double the airspeed from 50 to 100 m/s
- Verify lift increased by factor of 4 (velocity squared relationship)
- Find the angle where the thin-airfoil approximation becomes inaccurate (lift stops increasing linearly)
Activity 3: Hydraulic Advantage Verification
- Set small piston to 20mm, large to 100mm
- Calculate mechanical advantage (area ratio = diameter ratio squared = 25)
- Apply 100N input force
- Verify output shows 2500N (25x multiplication)
- Consider: what's the tradeoff for this force gain?
Activity 4: Blood Flow and Stenosis
- Start with 0% stenosis, record flow rate
- Increase stenosis to 25%, 50%, 75%
- Calculate the expected flow reduction using the r^4 relationship
- At what stenosis level does turbulence become likely (Re > 2000)?
- Explain why even moderate stenosis causes significant symptoms
Challenge Questions
Basic:
- If inlet velocity is 2 m/s and area ratio is 4:1, what is throat velocity?
- A hydraulic jack has piston areas of 10 cm2 and 100 cm2. What force does 50 N produce?
Intermediate: 3. Water exits a hole 5 m below the surface. What is the exit velocity? 4. An artery narrows from 4mm to 2mm diameter. By what factor does flow velocity increase?
Advanced: 5. Design a Venturi meter to measure flow rates from 1-10 L/s with measurable (but not excessive) pressure drops 6. Calculate the lift generated by a 10m wing span at 250 km/h with CL = 0.5
View Answers
- 8 m/s (continuity: V2 = V1 * A1/A2)
- 500 N (Pascal: F2 = F1 * A2/A1)
- 9.9 m/s (Torricelli: V = sqrt(2 * 9.81 * 5))
- 4x increase (area ratio is 4:1, so velocity increases 4x by continuity)
- Throat area ~1/4 of inlet area gives manageable pressure drops. For 10 L/s at 2 m/s inlet, need inlet diameter ~80mm, throat ~40mm
- L = 0.5 * 1.225 * (69.4)^2 * 10 * 0.5 = 14,755 N or about 1500 kg of lift
Common Mistakes to Avoid
- Confusing pressure and velocity direction: Higher velocity means lower pressure--counterintuitive but fundamental
- Forgetting the area squared relationship: When diameter doubles, area quadruples, so hydraulic advantage is diameter ratio squared
- Ignoring the r^4 dependence: In viscous flow, small diameter changes cause huge flow changes
- Misapplying Bernoulli: Only valid for incompressible, inviscid, steady flow along a streamline
- Equal transit time fallacy: Airplane lift is NOT because air must "meet" at the trailing edge--this is physically incorrect
Frequently Asked Questions
Q: Why doesn't the Bernoulli equation include viscosity? A: Bernoulli assumes ideal (inviscid) flow. For viscous effects in pipes and narrow vessels, use Poiseuille's equation or add head loss terms [8].
Q: How do airplanes fly upside down if lift depends on wing shape? A: Angle of attack matters more than shape. Inverted aircraft use negative angle of attack (relative to normal flight) to maintain lift downward relative to the aircraft [4].
Q: Why is blood flow so sensitive to vessel diameter? A: Poiseuille's equation shows flow proportional to r^4. This fourth-power dependence means a 10% diameter reduction cuts flow by 34% [7].
Q: Can I use Torricelli's theorem for gases? A: Only approximately. Gases compress, so the full analysis requires thermodynamics. For small pressure differences, it's reasonable [6].
Q: What's the difference between gauge and absolute pressure in these calculations? A: Bernoulli works with either, but you must be consistent. The pressure difference is what matters for flow, not absolute values [3].
Real-World Applications
| Field | Application | Principle Used |
|---|---|---|
| Aerospace | Wing design, altimeters | Bernoulli |
| Automotive | Brake systems, fuel injection | Pascal |
| Medical | Blood pressure measurement, dialysis | Poiseuille |
| Municipal | Water distribution, sewage flow | Torricelli, Poiseuille |
| Industrial | Flow measurement, pneumatic tools | Venturi effect |
About the Data
Property values in this simulator come from standard engineering references. Water properties follow NIST Chemistry WebBook data [9]. Air properties use ISA standard atmosphere values. Blood viscosity represents typical adult values; actual viscosity varies with hematocrit and temperature [7].
How to Cite This Simulator
For academic work, cite as:
Simulations4All. (2025). Fluid Pressure and Flow Simulator [Interactive web simulation]. Retrieved from https://simulations4all.com/simulations/fluid-pressure-flow
References
- Munson, B.R., Young, D.F., & Okiishi, T.H. (2012). Fundamentals of Fluid Mechanics (7th ed.). Wiley.
- White, F.M. (2015). Fluid Mechanics (8th ed.). McGraw-Hill. Chapter 3: Integral Relations.
- Cengel, Y.A. & Cimbala, J.M. (2017). Fluid Mechanics: Fundamentals and Applications (4th ed.). McGraw-Hill.
- NASA Glenn Research Center. (2021). "Incorrect Lift Theory." https://www.grc.nasa.gov/www/k-12/airplane/wrong1.html
- Meriam, J.L. & Kraige, L.G. (2012). Engineering Mechanics: Statics (7th ed.). Wiley.
- Torricelli, E. (1644). Opera Geometrica. Historical derivation of efflux theorem.
- Fung, Y.C. (1996). Biomechanics: Circulation (2nd ed.). Springer. Chapter 3: Blood Rheology.
- Bird, R.B., Stewart, W.E., & Lightfoot, E.N. (2006). Transport Phenomena (2nd ed.). Wiley.
- NIST Chemistry WebBook. Thermophysical Properties of Fluid Systems. https://webbook.nist.gov/chemistry/fluid/
Verification Log
| Item | Source | Verified | Date |
|---|---|---|---|
| Bernoulli equation | Munson et al. (2012), Ch. 3 | Equation matches textbook form | Jan 2025 |
| Continuity equation | Cengel & Cimbala (2017), Ch. 5 | Standard form confirmed | Jan 2025 |
| Pascal's principle | Meriam & Kraige (2012), Ch. 9 | Definition verified | Jan 2025 |
| Torricelli theorem | Original 1644 derivation | V = sqrt(2gh) confirmed | Jan 2025 |
| Poiseuille equation | Bird et al. (2006), Ch. 2 | Q = piR^4dP/(8mu*L) verified | Jan 2025 |
| Water density @ 20C | NIST WebBook | 998.2 kg/m3 confirmed | Jan 2025 |
| Blood viscosity range | Fung (1996), Table 3.1 | 3-4 cP typical value confirmed | Jan 2025 |
| NASA lift explanation | NASA Glenn website | "Equal transit time" debunked | Jan 2025 |
Written by Simulations4All Team
Related Simulations

Fire Sprinkler Hydraulic Calculator
NFPA 13 compliant fire sprinkler design tool. Calculate K-factor discharge, Hazen-Williams friction loss, pipe sizing, and system demand. Design sprinkler layouts with real-time hydraulic analysis.
View Simulation
Venturi Meter Calculator
Interactive venturi meter calculator with animated flow visualization, pressure distribution, and discharge coefficient analysis. Calculate flow rates using Bernoulli's principle.
View Simulation
Pipe Flow Calculator (Darcy-Weisbach)
Interactive pipe flow calculator using the Darcy-Weisbach equation. Calculate head loss, friction factor, pressure drop with animated flow visualization, velocity profiles, and Reynolds number analysis.
View Simulation