b2KIT

Fluid Dynamics Simulator

Simulate 2D fluid flow around obstacles using lattice Boltzmann. Visualize streamlines, vortices, and Reynolds number effects.

Tested tool guide Tested browser tools Checked August 16, 2026

What Fluid Dynamics Simulator does and how it behaves

Explore how a two-dimensional flow field bends around an obstacle, separates, and develops a wake. The simulator advances a lattice Boltzmann model and converts its evolving state into visible velocity structures, including streamlines and vortices, while relating the pattern to Reynolds number. It is best for qualitative comparisons between flow regimes, classroom demonstrations, and early intuition rather than a certified prediction for a real device. The common surprise is that an animated streamline is not necessarily the path followed by one fluid parcel when the flow changes with time.

How the result is produced

1

Lattice evolution

Rather than solving directly for pressure and velocity at every point, a lattice Boltzmann model tracks directional populations on a regular two-dimensional lattice. During each time step those populations propagate to neighboring sites and relax toward a local equilibrium. Their moments yield density and velocity. Boundary rules at obstacle cells redirect the populations, producing deflection, separation, and a downstream wake.

2

Reading the flow

Streamlines are curves tangent to the velocity field at the instant displayed. Closed or tightly curling patterns indicate recirculating regions, while alternating structures downstream can reveal an unsteady wake. Reynolds number, Re = UL / nu, compares inertial and viscous effects using a representative speed U, length L, and kinematic viscosity nu. The visualization permits those effects to be compared in the same 2D setting.

Good uses

  • Demonstrating in a classroom how flow separates from a bluff obstacle, forms a recirculating wake, and can develop repeating downstream vortices as the displayed regime changes.
  • Comparing an orderly, viscosity-dominated-looking wake with a more inertia-dominated, time-dependent pattern while keeping the obstacle and two-dimensional viewing context easy to inspect.
  • Building intuition before configuring a higher-fidelity CFD study, especially when deciding which wake locations, transient behavior, and Reynolds-number range deserve quantitative investigation.

Limits and checks

  • A 2D calculation cannot represent spanwise motion or genuinely three-dimensional vortex breakdown. A convincing planar wake can therefore differ materially from flow around the corresponding real obstacle, particularly after instabilities leave the plane.
  • Obstacle edges are represented on a finite lattice, and the computed wake can depend on spatial resolution, domain boundaries, starting transients, and elapsed simulation time. Small visual differences are not automatically physical differences.
  • The displayed Reynolds number is meaningful only with its reference speed, characteristic length, and viscosity convention. Equal values describe dynamic similarity under suitable assumptions, not identical dimensional speed, size, forces, or fluid properties.

Common questions

Can this simulator predict the performance of a real object?

No. It can show plausible 2D behavior and help compare relative changes, but engineering prediction requires known dimensions, fluid properties, inlet and outlet conditions, validated boundary treatment, adequate resolution, and convergence checks. Real wakes may also become three-dimensional. Use this display to form hypotheses or explain mechanisms, not to certify forces, pressure losses, or safety margins.

Are the displayed streamlines fluid-particle trajectories?

Not necessarily. Each frame's streamlines describe the direction of the velocity field at that moment. A particle path integrates velocity through time, so it generally does not coincide with a streamline when the flow is unsteady. In a steady velocity field, streamlines and particle paths do coincide, apart from differences in where and when particles are introduced.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools