Presets
Playback
Apparatus
Model checks
The science
What is modelled
A vector field assigns an arrow to every point of the plane. Its divergence measures how much flow leaves a point, its curl measures local rotation, and Green's theorems link both to what happens along the edge of any region: the flux out of a circle equals the area integral of the divergence, and the circulation around it equals the area integral of the curl.
Equations
- Linear field
F = (a x − w y + s y, a y + w x): divergence∇·F = 2a, curl∂Fy/∂x − ∂Fx/∂y = 2w − s. - Divergence theorem
&contoint; F·n ds = &iint; ∇·F dA; circulation theorem&contoint; F·dl = &iint; (curl F) dA. - A paddle wheel in the flow spins at
½ curl F; wind shear has straight streamlines and still has curl. - Point source
F = q r̂ / r: zero divergence except at the source, but flux2π qthrough any circle around it.
Checks run in the page
- Flux against the area integral of the divergence, with the source term explained.
- Circulation against the area integral of the curl.
- The paddle spin from four markers carried by the flow.
- Flux through circles around the point source, or the uniform-expansion flux.
Honest simplifications
The fields are static and analytic: no fluid dynamics or viscosity. The paddle wheel is a kinematic probe, the finite-difference step is 1e-4, and the tracer speed is a visual choice. The point-source singularity is where the smooth theorem fails, and the page shows that on purpose.
What to try
- Press Wind shear and see that the arrows are straight but the paddle still turns.
- Press Point source inside probe, then Point source outside probe, and watch the flux jump by 2 pi q.
- Press Pure rotation: the flux is zero but the circulation is not.