CFD Fluid Dynamics Simulator

Interactive computational fluid dynamics visualization

Flow Visualization

Grid: 120×60 (medium quality)

🔍 Click anywhere to analyze flow data

Visualization

Visualization Mode
Standard flow visualization with particles and velocity vectors
Particle Color Mode

How to Use

🎨 Visualization: Switch between Particles, Smoke, and Pressure modes

🌊 Smoke Mode: Shows streamlines (current lines) that deform with flow pressure. Toggle streamlines on/off in smoke mode.

🖌️ Draw Mode: Click and drag to draw obstacles

📐 Bezier Mode: Click 4 points to create smooth curves

🔍 Analyze Mode: Click anywhere to see flow data

🧽 Erase Mode: Click and drag to remove obstacles

▶️ Simulation: Press Play to start fluid simulation

⚙️ Parameters: Adjust settings to see different flow behaviors

Playback Speed

Control simulation speed from 0.25x to 3x:

Quick buttons: 0.5x, 1x, 1.25x, 1.5x, 2x
Slider: Fine control 0.25x - 3x

Higher speeds may impact performance on slower devices

Color Modes

Speed Mode:
Slow (Blue)
Medium (Green)
Fast (Yellow/Red)
Smoke Color Schemes:
Grayscale - Classic smoke
Thermal - Heat map style
Rainbow - Full spectrum
Plasma - ANSYS style
Pressure Mode:
Low Pressure (Blue)
Neutral (Green)
High Pressure (Red)

Pressure Visualization

In pressure mode, white dots show pressure contour lines

About

This CFD simulator demonstrates fluid flow around custom obstacles using the Navier-Stokes equations. Draw your own shapes to see how different geometries affect flow patterns, vortex formation, and pressure distribution.

Simulation Parameters

Higher quality = more accurate simulation but slower performance

Domain: 2m × 1m | Grid: 0.017m spacing

Air: ~1.5×10⁻⁵ m²/s | Water: ~1×10⁻⁶ m²/s

Fully turbulent flow

Maximum number of particles in the domain

Particles generated per second at inlet