PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 85 in Math Visualization.

View category →
NewUniversity / research

Advection Schemes: Upwind / LW / MacCormack

Launch Simulator

Linear advection u_t + cu_x = 0 on a periodic grid: compare upwind diffusion, Lax-Wendroff and MacCormack dispersive ringing, exact pulse translation, L2 error, and CFL ν.

NewUniversity / research

2D Phase Portrait (ODE)

Launch Simulator

Direction field and click-to-trace trajectories for planar systems: harmonic, damped, saddle, nodes, foci, pendulum (RK4).

NewSchool

a → v → x

Launch Simulator

Integrate acceleration to velocity and position; stacked time graphs.

NewUniversity / research

Conjugate Gradient Solver

Launch Simulator

SPD system Ax=b as quadratic minimization: contour geometry, CG vs steepest descent path, residual norm, and condition number.

NewUniversity / research

Support Vector Machine Margin

Launch Simulator

Hard/soft-margin SVM sketch with C penalty, hinge loss, support vectors, decision boundary, and margin bands.

NewUniversity / research

Lorenz Strange Attractor

Launch Simulator

σ, ρ, β ODEs; sensitive butterfly in (x,z) projection — RK4 trace.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Flow Field Particles

Flow Field Particles

Synthetic v(x,y,t); advection with wrap; optional arrow grid.

Field

1.05
0.35

Not Navier–Stokes: a trigonometric field for beauty and for “what is a flow line?” intuition.

Shortcuts

  • •Toggle arrows to compare the field to particle motion
  • •Slow time drift to read the flow pattern

Measured values

Particles520

About this model

Flow Field Particles visualizes the motion of massless tracer particles within a two-dimensional, time-varying velocity field. The core concept is advection, the transport of particles by the bulk motion of a fluid. The simulator defines a synthetic velocity field, v(x, y, t), which is a mathematical function that assigns a velocity vector to every point (x, y) in space and at every moment in time. Particles are introduced into this field and their paths are computed by integrating their velocity over time, following the equation of motion: dr/dt = v(r(t), t), where r(t) is the particle's position vector. This is a direct application of the kinematic description of fluid flow. A key simplification is that particles do not influence the flow field itself; they are passive tracers, ignoring inertia, pressure, and viscosity. This allows the focus to remain on the geometry and evolution of the flow. The simulation uses periodic boundary conditions (wrap), meaning a particle exiting one side of the domain instantly re-enters from the opposite side, simulating an infinite, repeating flow pattern. By interacting, students learn to connect abstract vector field equations to tangible particle trajectories, observe phenomena like streamlines, stagnation points, and chaotic advection, and build intuition for fundamental concepts in fluid kinematics and dynamical systems.

Who it's for: High school and undergraduate students in physics, mathematics, or engineering courses introducing vector fields, fluid dynamics, or computational modeling.

Key terms

  • Advection
  • Velocity Field
  • Vector Field
  • Particle Tracing
  • Streamline
  • Dynamical Systems
  • Kinematics
  • Periodic Boundary Conditions

How it works

When you want Perlin curls without a noise dependency: sines and cosines already give vortices and shear on a torus.

Frequently asked questions

Why don't the particles bump into each other or change the flow?
The particles are modeled as massless, non-interacting passive tracers. This means they have no inertia and exert no force on the fluid or each other. They simply move with the local velocity defined by the synthetic field, v(x,y,t). This simplification is common in flow visualization to study the structure of the flow itself without the complexity of two-way interactions.
What does the 'wrap' (periodic boundary) condition represent?
The wrap condition creates a simulation domain that repeats infinitely in all directions. When a particle exits one edge, it reappears at the opposite edge with the same velocity. This is a computational technique to model a large, homogeneous flow region without hard walls or boundaries. It's useful for studying patterns and long-term behavior without edge effects, similar to a flow on a toroidal (donut-shaped) surface.
How is this related to real-world fluid flows?
This simulator models the kinematics—the geometry of motion—of a fluid. Real flows like ocean currents, atmospheric winds, or even airflow around a wing can be analyzed by studying the motion of passive elements like smoke, dye, or floating buoys. While real fluids have viscosity and turbulence, the core idea of tracing particles within a velocity field is fundamental to experimental flow visualization and numerical weather prediction.
What do the arrows in the optional grid represent?
The arrows provide a snapshot of the underlying velocity field, v(x,y,t). Each arrow's direction shows the local flow direction at that grid point, and its length is proportional to the local flow speed. This 'vector field' representation is the rule that dictates how every particle moves. Observing how particle paths relate to these instantaneous arrows helps distinguish between streamlines (tangent to the velocity field) and actual particle trajectories, which can differ in an unsteady flow.