Interactive Divergence Flux Box & Curl Paddlewheel Probe
Drag a probe across sources, sinks, shears, and vortices to measure net outflow and angular velocity.
Explore 2D/3D vector field streamlines, local Jacobian expansion/strain/spin decomposition, microscopic flux boxes (∇·F), and 3D curl axes (∇×F).
Incompressible fluid continuity (∇·u = 0), aerodynamic vorticity, electrostatic potential fields F = -∇φ, Maxwell's differential laws, and continuum strain-rotation splitting.
Inside a velocity or force field , how do we measure net outward expansion () separately from local rotational spin ()?
Divergence is a scalar measuring net outward flux per unit volume (positive at sources, negative at sinks, zero in incompressible flow). Curl is a 3D vector whose axis and magnitude capture microscopic circulation per unit area via the right-hand rule.
Watch two classic geometric surprises: straight shear flow has nonzero curl even with parallel streamlines, whereas the swirling point vortex is curl-free everywhere off the singular -axis. On any domain, two identities always hold: and .
Given a vector field F(x,y,z) assigning magnitude and direction to every point in space, how do we trace particle trajectories (streamlines) and separately measure local outward expansion (∇·F) versus 3D local spin (∇×F)?
Move the microscopic flux box and paddlewheel probe, click to seed 2D/3D streamlines over potential contours while inspecting DF, and decompose opposite cube-face fluxes alongside the tilted 3D curl axis.
Straight streamlines like shear flow ⟨y, 0, 0⟩ carry non-zero curl, whereas circular vortex flow ⟨-y, x⟩/r² is irrotational away from 0! Always verify ∇×(∇f) = 0 and ∇·(∇×F) = 0 before accumulating work in Chapter 3.3.4.
Drag a probe across sources, sinks, shears, and vortices to measure net outflow and angular velocity.
Click to seed 2D/3D streamlines over potential contours and split local DF into expansion, shear strain, and spin.
Compare opposing cube-face fluxes ∂P/∂x + ∂Q/∂y + ∂R/∂z, tilt the 3D curl axis ω = ∇×F, and verify ∇·(∇×F) = 0.
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Converts a scalar height/potential field into the vector field of steepest ascent, always orthogonal to level surfaces .
Projects along any unit compass vector to recover instantaneous slope along that ray or along contours.
Measures net outward flux per unit volume around a point: positive at fluid sources, negative at sinks, zero for incompressible flow.
Measures local circulation density around axis : twice the angular velocity vector of an infinitesimal paddlewheel.
Streamlines never curve, yet faster upper layers exert greater clockwise torque on a paddlewheel than slower lower layers—proving curl detects shear, not just visible swirls.
Outer arc speed drops as , balancing the shorter inner radius so local rotation cancels everywhere outside the origin singularity!
Every conservative gradient field is curl-free, and every curl field is divergence-free (solenoidal)—the backbone of Helmholtz's theorem and Maxwell's equations.
Coordinate-free integral limits define divergence as outward micro-flux per unit volume (sources/sinks) and curl as circulation density per unit loop area (infinitesimal paddle-wheel spin).
By Clairaut symmetry ( on fields), every gradient field is automatically curl-free and every curl field is solenoidal (divergence-free)—enforcing conservation laws across fluid mechanics and electromagnetism.
Any smooth rapidly decaying 3D vector field splits orthogonally into an irrotational scalar-potential source part () plus a divergence-free vector-potential eddy part ().
Drag a probe across sources, sinks, shears, and vortices to measure net outflow and angular velocity.
Click to seed 2D/3D streamlines over potential contours and split local DF into expansion, shear strain, and spin.
Compare opposing cube-face fluxes ∂P/∂x + ∂Q/∂y + ∂R/∂z, tilt the 3D curl axis ω = ∇×F, and verify ∇·(∇×F) = 0.
A pure outward expansion field. The flux box measures positive net outflow everywhere (∇·F = 2.4), while the paddlewheel experiences zero net torque (irrotational).
Click the 2D plane to drop tracer seeds and integrate streamlines , compare against potential contours, and inspect the Jacobian tensor .
Toggle 'Show Potential Contours φ = c' below: every streamline crosses equipotential curves at 90°, and no closed flow loops can exist.
Inspect how , , and compete or reinforce across opposite cube faces, watch the tilted 3D curl axis , and verify .
Spin is not restricted to the z-axis! Here fluid circulates in an oblique 3D plane whose right-hand thumb points along ⟨0, 1.0, 1.6⟩ while remaining completely incompressible.