Wind Tunnel Simulator
Drag, lift, streamlines & Reynolds number on 7 test objects — 4 modes
Σ Live equations — values substituted from current state
💡 What-if coach — insights from current values
⚖ Object comparison — how the 7 shapes stack up
| # | Question | Result |
|---|
1 Overview
The Wind Tunnel Simulator is an interactive virtual aerodynamics laboratory where you can test seven different objects in a controlled airflow. A real wind tunnel produces uniform airflow over test models to measure drag force, lift force, and pressure distribution. This simulator reproduces those measurements while visualizing streamlines, flow separation, wake regions, and boundary layer behavior in real time.
Seven test objects are available: sphere, cylinder, cone, flat plate, streamlined body, NACA 0012 airfoil, and a car-like bluff body. Each exhibits different aerodynamic characteristics that you can explore by adjusting air speed (1–150 m/s), object size, and angle of attack (for the airfoil). The simulator calculates drag coefficient, lift coefficient, Reynolds number, dynamic pressure, drag force, lift force, and lift-to-drag ratio for every configuration.
2 Configuring the System
The simulator opens in Simulate mode with dual canvases: the wind tunnel visualization on the left and pressure/force graphs on the right. Graph badges display air speed, Reynolds number, drag coefficient, and drag force. The control panel below lets you choose the test object, select the visualization mode (streamlines, pressure, or vectors), adjust air speed, object size, and angle of attack, and toggle overlays such as the equation, force arrows, pitot tube, boundary layer, labels, and background grid.
To begin: (1) Select a test object from the tabs. (2) Choose a visualization style. (3) Drag the air speed slider or type a value into the stepper. (4) Watch streamlines deform around the object and how the readout values change. (5) For the airfoil, adjust the angle of attack to see how lift and drag change — the canvas shows the α arc between the chord line and the flow direction, the quarter-chord (c/4) aerodynamic centre, and a red STALL flag when you exceed the stall angle. The stall angle is Reynolds-number dependent: roughly 10° at Re ≈ 10⁵, rising to about 16° at Re ≈ 10⁷, so larger or faster models stall later. The readout grid shows all eight aerodynamic parameters simultaneously.
3 Simulate Mode & Canvas Overlays
The left canvas renders animated streamlines flowing past the selected object. The flow visualization reveals laminar and turbulent regions, flow separation points, wake vortices, and stagnation zones. The right canvas has five graph tabs: Cp pressure distribution, Forces bar chart, boundary-layer Profile, drag Polar, and the Cl–α lift curve — the canonical angle-of-attack plot showing the linear lift region, the roundover to Cl,max, the Reynolds-dependent stall angle marker, and your current operating point as a live dot.
Six overlay checkboxes let you focus on a single concept: Equation shows the on-canvas drag equation, Force arrows draws the Fd/Fl vectors, Pitot tube shows the upstream sensor, Boundary layer renders the developing BL on the test object, Labels shows tunnel zone titles, and Grid displays a background measuring grid (also toggled via right-click).
4 Presets, Steppers & SI / Imperial Units
Each control comes as a slider plus a stepper (− / typed value / +) so you can pick approximate values quickly with the slider and dial in exact values numerically. Use the SI / Imperial toggle in the controls bar to flip every display between metric (m/s, mm, N, Pa) and imperial (mph, in, lbf, psi); internal calculations always stay in SI for accuracy.
Presets snap to canonical configurations: Sphere @ 30 m/s, Drag crisis Re ≈ 3×10⁵, NACA best L/D 5°, Airfoil pre-stall 10°, Airfoil stall 18°, Car at 30 m/s, and Streamlined body. Loading a preset is undoable via Ctrl+Z.
5 Show Calculations, Learning Panels & Sounds
Tap Show Calculations (calculator icon, bottom-right of the graph canvas) to open a step-by-step LaTeX derivation of dynamic pressure, Reynolds number, drag force, lift force, and L/D ratio for the current state — rebuilt every time you open it. The Learning panels below the readout cards collapse independently and contain Live Equations (KaTeX), a What-if Coach with state-driven insights, and an Object Comparison table.
Subtle whoosh and stall sounds play when the airspeed jumps significantly or the airfoil exceeds its Reynolds-dependent stall angle (Web Audio API, no external files).
6 Action Bar, Export & Right-Click Menu
The action bar holds Undo / Redo, CSV export, PNG export, and Reset. CSV export sweeps air speed from 1 to Vmax at the current object/size and writes columns V, Re, Cd, Cl, Fd, Fl, q, L/D in your active unit system — perfect for plotting in Excel or Python. PNG export downloads the wind tunnel canvas with a watermark.
Right-click anywhere on the wind tunnel or graph canvas to get Copy Value, Export PNG, Export CSV, Toggle Grid, and Reset. Clicking outside the menu dismisses it.
7 Keyboard Shortcuts
- 1–4 — jump to Simulate / Explore / Practice / Quiz modes.
- Ctrl+Z — Undo. Ctrl+Shift+Z — Redo.
- Esc — close the calculation modal or the right-click context menu.
- Slider focus + arrow keys — fine-tune values one step at a time.
8 Tips & Best Practices
- Start with the sphere to understand the basics of drag, then compare it to the cylinder and flat plate to see how shape affects Cd.
- Use the airfoil at low angles of attack (0–8°) to observe smooth lift generation, then push past the on-canvas αstall readout to witness stall — and note how raising speed or chord (higher Re) delays it.
- Pay attention to the Reynolds number: the same object can have very different drag characteristics at different Re values.
- The streamline visualization is best for understanding flow patterns; switch to pressure view to see the pressure distribution responsible for lift and drag.
- The L/D ratio is the key efficiency metric for aircraft: higher L/D means the wing generates more lift per unit of drag.
- In Practice mode, always identify which formula to use before calculating. Most problems use Fd = ½ρV²ACd or Re = ρVD/μ.
- Compare the same object at low speed (laminar) vs. high speed (turbulent) to see how boundary layer transition affects aerodynamic forces.
What is a Wind Tunnel Simulator?
A wind tunnel simulator is an interactive virtual lab that measures drag force, lift force, pressure distribution, and Reynolds number on a test object placed in a controlled airflow. This free online wind tunnel animates real streamlines, boundary layers, vortex shedding, and wake recirculation across seven test shapes — no signup required.
How does an online wind tunnel work?
The simulator solves an incompressible potential-flow model with a shape-aware doublet for body blockage, a Kutta–Joukowski bound vortex for lift, and counter-rotating wake eddies for recirculation. Animated particle streaklines reveal flow separation, attached vs detached boundary layers, von Kármán vortex streets, and the drag crisis at Re ≈ 3×10⁵. Every coefficient (Cd, Cl, L/D), force, and dynamic pressure updates in real time as you drag a slider.
Which test objects are available?
The simulator includes seven classic aerodynamic shapes — sphere, circular cylinder, cone, flat plate, streamlined teardrop, NACA 0012 airfoil, and car (sedan profile). Each has Cd values that match published wind tunnel data, plus realistic flow separation and wake patterns. The Flip toggle reverses asymmetric shapes (cone, teardrop, airfoil, car) so you can compare front-first vs rear-first drag — the cone's drag jumps 2.8× when flipped base-first, and a sedan's Cd grows 45 % rear-first.
Drag coefficient by shape — quick reference table
| Object | Typical Cd | Flipped Cd | Re range | Notes |
|---|---|---|---|---|
| Sphere (smooth) | 0.47 | — | 10³ – 3×10⁵ | Drops to ~0.20 above the drag crisis |
| Cylinder (crossflow) | 1.17 | — | 10³ – 2×10⁵ | Von Kármán vortex street; crisis near 2.5×10⁵ |
| Cone (apex-first) | 0.50 | 1.40 (×2.8) | 10³ – 1×10⁶ | Apex slices the flow; flipped base is bluff |
| Flat plate (normal) | 1.98 | — | any | Hoerner reference; large wake |
| Streamlined body | 0.04 | 0.14 (×3.5) | 10⁴ – 10⁶ | Attached flow forward; flipped tip stalls |
| NACA 0012 airfoil | 0.008 – 0.02 | (Cl sign flips) | 10⁵ – 10⁷ | Stalls at α ≈ 10–16° (rises with Re); L/D max ≈ 15–20 (AR-6 wing) |
| Car (modern sedan) | 0.28 – 0.35 | 0.51 (×1.45) | 10⁵ – 10⁶ | Hood faces wind; reversed rear is much bluffer |
Reference-area conventions (shown step-by-step in the Show Calculations modal): the cylinder, flat plate and car are treated as 2-D sections of span b = D, so their Cd values are the two-dimensional ones (e.g. 1.98 for the infinite normal plate, 1.17 for the long cylinder); the sphere and cone are axisymmetric with frontal area πD²/4; the teardrop is a body of revolution (frontal area πt²/4 with t ≈ 0.28 L); and the airfoil uses the standard planform area (square wing, b = c) with an aspect-ratio-6 induced-drag model.
What formulas does the simulator use?
Drag force is Fd = ½ρV²ACd and lift is Fl = ½ρV²ACl. The Reynolds number Re = ρVD/μ sets the flow regime — laminar below Re ≈ 10⁵, turbulent above 10⁶. Dynamic pressure q = ½ρV² is measured live by the on-canvas pitot tube. For airfoils, thin-airfoil theory gives Cl = 2π·sin(α) up to the stall angle (10–16° for NACA 0012, rising with Reynolds number), beyond which Cl drops sharply and Cd spikes — the simulator's polar plot draws the canonical (L/D)max tangent from the origin so you can read peak efficiency at a glance.
What is the drag crisis and how do I see it?
The drag crisis is a sudden drop in drag coefficient when the boundary layer transitions from laminar to turbulent near Re = 3×10⁵. For a sphere, Cd collapses from 0.47 to ~0.20 because the turbulent BL delays separation and shrinks the wake. To watch it happen, select the sphere, leave the size at 75 mm, and slide the air-speed slider through 50–110 m/s — the live Cd readout drops as Re crosses the critical value. This is why golf balls have dimples: they trip the BL turbulent below the natural critical Re.
Airfoil aerodynamics and stall
The NACA 0012 symmetric airfoil generates lift proportional to angle of attack in the linear region (Cl ≈ 0.11/deg). Beyond the critical angle — which the simulator computes from the Reynolds number, roughly 10° at Re 10⁵ rising to 16° at Re 10⁷, matching the classic Jacobs & Sherman NACA variable-density-tunnel data — the upper-surface boundary layer separates and lift collapses while drag triples: this is stall, a critical flight-safety concept. The new Cl–α lift-curve tab plots the full lift curve with the stall angle, Cl,max, and your live operating point, and the canvas overlays the α arc, quarter-chord aerodynamic centre, and a STALL warning flag. Open the Polar tab to read (L/D)max: the tangent from the origin touches the polar near α ≈ 4–5° with L/D ≈ 15–20, rising with Reynolds number. Note the model represents a finite square-planform wing of aspect ratio 6 (Oswald e = 0.9), so induced drag is included — a pure 2-D section would show far higher L/D (see Anderson, Fundamentals of Aerodynamics).
What features does this virtual wind tunnel include?
Beyond the simulation engine, the tool ships a full aerospace-lab workflow: 4 graph tabs (Cp distribution, force bars, boundary-layer profile, drag polar), a step-by-step calculation modal with KaTeX-rendered equations, an industrial-standard test report exportable as PDF (AIAA S-114 / ISO 5168 / AGARD AR-304), SI/Imperial unit toggle, presets for the nine most-pedagogical configurations, play/pause to freeze a vortex moment, zoom (1.4×–3.0×, auto-scaled to object size) for close inspection, CSV sweep export, PNG snapshot, undo/redo, and a live pitot-tube Δp readout.
Why Aerospace Started With Wind Tunnels and Why CFD Has Not Replaced Them
The Wright Brothers built a wind tunnel before they built an aeroplane that flew. By 1901 they had tested over 200 airfoil shapes — correcting Lilienthal’s tabulated coefficients that they had discovered were wildly wrong by comparison with their tunnel data. Today, every commercial aircraft, every Formula 1 car, every Olympic bobsled has spent thousands of hours in wind tunnels before being released.
Computational fluid dynamics gets better every year but still cannot replace tunnels entirely. CFD is excellent for clean attached flow at moderate Reynolds. It struggles with separation, transition, turbulent boundary layers, three-dimensional effects, and unsteady phenomena like flutter. Modern aircraft programmes use CFD for initial design exploration (hundreds of configurations cheaply) then validate the final candidate in a tunnel (which costs millions per test campaign).
The Drag Crisis — Why Golf Balls Have Dimples
Set the simulator to a smooth sphere and ramp up wind speed. Drag coefficient sits around 0.5 at low Reynolds. Then somewhere between Re = 200,000 and 500,000 it suddenly drops to about 0.2. This is the drag crisis: turbulence in the boundary layer increases skin friction slightly but delays separation dramatically, narrowing the wake and cutting pressure drag.
Golf balls exploit this. Dimples force boundary-layer transition early, putting the ball permanently in the post-crisis regime. Same speed, twice the range of a smooth ball. Cricket bowlers use the opposite trick — the shiny side of the new ball stays laminar while the rough side becomes turbulent, producing the swing every fast bowler depends on. Engineers exploit similar effects in compressor blading, vortex generators on aircraft wings, and turbulator strips on glider wings.
Wind Tunnel References
- Anderson, J. D. — Fundamentals of Aerodynamics, 6th ed. The standard undergraduate aerodynamics text.
- Barlow, Rae & Pope — Low-Speed Wind Tunnel Testing, 3rd ed. The reference for tunnel design and measurement technique.
- NACA Report 824 — Summary of Airfoil Data. The foundational airfoil performance tabulation still cited today.
Explore related simulators
If you found this wind tunnel simulator useful, dive deeper into fluid mechanics with the Bernoulli's Principle simulator, Fluid Flow simulator, Pascal's Law simulator, and Projectile Motion simulator — each comes with the same step-by-step calculation modal, SI/Imperial toggle, and test-report export.