Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Fluid Flow Streamline Simulator

Visualize 2D incompressible potential flow past obstacles. Combine uniform free-stream, sources, sinks, and circulation. Watch animated tracer particles, streamlines, and a velocity-magnitude colormap update as you adjust the geometry.

Click an obstacle to select it. Particles drift with the velocity field; streamlines (white/blue lines) are integral curves of the steady flow. Speed colormap shows velocity magnitude.

Controls

Free-Stream Flow

m/s
°

Obstacles

Display

Presets

Reference Guide

Stream Function & Streamlines

In 2D incompressible flow, the velocity components are derivatives of a scalar stream function ψ.

u=ψy,v=ψxu = \frac{\partial \psi}{\partial y}, \quad v = -\frac{\partial \psi}{\partial x}

Lines of constant ψ are streamlines. No fluid crosses them since velocity is tangent.

Flow Past a Cylinder

The doublet representation of flow past a cylinder of radius R in uniform stream U gives:

ψ=Uy(1R2x2+y2)\psi = U\,y\left(1 - \frac{R^2}{x^2+y^2}\right)

Velocity at the top is exactly 2U. Surface stagnation points appear at the leading and trailing edges (±R, 0).

Kutta-Joukowski (Lift)

An obstacle with circulation Γ in a uniform stream U experiences a lift force per unit span:

L=ρUΓL' = \rho\, U\, \Gamma

This is the foundation of airfoil theory. Try the rotating-cylinder and airfoil presets to see lifting flows.

Bernoulli's Principle

Along a streamline, energy conservation gives a relation between pressure and speed:

p+12ρV2=constp + \tfrac{1}{2}\rho V^2 = \text{const}

Where speed increases (red on the colormap), pressure decreases. This explains lift, the Venturi effect, and curved-ball trajectories.

Related Content