Lamb–Oseen Vortex Explorer
See a viscous vortex reshape a passing flow. Explore circulation, diffusion and the paths of particles swept around its core.
Model assumptions
The flow is represented by a steady, two-dimensional uniform freestream superposed with a viscous Lamb–Oseen vortex.
- Incompressible flow
- Two-dimensional vortex
- Constant circulation Γ
- Constant kinematic viscosity ν
- Vortex centre does not convect
- Particle trajectories are passive tracers
The particles visualise the velocity field; they do not themselves represent vorticity, mass parcels or a CFD solution.
Getting started
Explore a viscous Lamb–Oseen vortex in a uniform freestream. Its distributed core removes the infinite centre velocity of an ideal point vortex. The view spans x = −6 to 6 m and y = −3.5 to 3.5 m, with positive y upwards.
- Change Circulation Γ to control the vortex strength. Positive values rotate counterclockwise; negative values rotate clockwise. Zero circulation leaves only the freestream.
- Change Freestream U∞ to vary the left-to-right background velocity. The vortex centre stays where you place it.
- Increase Kinematic viscosity ν or Vortex age t to spread the core and reduce the magnitude of its central vorticity. The viscosity slider is logarithmic: its position represents log₁₀(ν).
- Drag on the canvas to reposition the vortex. Hover to read position, velocity components, speed and vorticity at a point. Switch the visual layers on and off to separate their meanings.
Particle trails start switched off; enable Particle trails to see recent trajectories. Pause stops particle advection while leaving the controls and probe active. Reset restores the default settings with trails off, centres the vortex, reseeds the particles and resumes playback.
Vortex age is a chosen snapshot parameter. It does not increase as the animation runs. Moving particles show the flow through that snapshot; they do not show the vortex getting older.
The mathematics
Let the vortex centre be , with , and . For circulation in , kinematic viscosity in and chosen age in seconds, the diffusion scale and tangential velocity are:
Far outside the core, the exponential term vanishes and the tangential velocity approaches , the ideal point-vortex result. Near the centre, approaches , so it tends to zero rather than infinity. The Cartesian velocity, including the freestream, is:
The spanwise vorticity is the curl of the velocity field. The uniform freestream contributes no vorticity:
The Diffusion radius readout is ; at this radius the vorticity is of its central value. It is not a solid boundary or the radius of maximum tangential speed. Peak vorticity reports the signed central value in , so it becomes negative for clockwise circulation. Doubling either or multiplies by and halves the central vorticity at fixed .
For the Lamb–Oseen profile and its diffusion scale, see the model definition in Trapped free surface waves for a Lamb–Oseen vortex flow, Journal of Fluid Mechanics. The explorer uses the vortex profile only, without a free-surface wave model.
How it is computed
The velocity and vorticity are evaluated analytically. Near the core, the small difference is evaluated with the numerical function expm1, which accurately computes for small , then negates the result. For below , the code uses the limiting value .
The 2,000 passive tracers follow , where is particle animation time, distinct from the chosen vortex age . Each frame is capped at 0.03 s and split into two midpoint Runge–Kutta steps. With substep duration :
Particles leaving the domain are reseeded at its left edge. Streamlines use the same midpoint idea applied to the unit velocity direction, , with a spatial step of 0.055 m, up to 420 steps from each of 19 inlet seeds. These seeds do not necessarily reveal every closed orbit near the core.
Slider changes are smoothed with an exponential response of time constant 0.12 s. The controls and derived readouts show the requested values immediately; the field and probe approach those values over the transition.
Reading the flow
Particle trails record recent trajectories. Streamlines follow the instantaneous velocity direction; after the controls settle, they are tangent to particle paths. While settings change, the trails retain earlier motion and can differ from the current streamlines.
The trail colours group speed into eight bands with a scale that adjusts to the freestream. Arrow lengths also use a capped display scale. The warm or pink vorticity field is a qualitative radial glow indicating spread and sign, rather than a calibrated contour plot of the Gaussian formula. Use the probe for numerical values. The dashed ring marks the diffusion radius, subject to a minimum visible size.
What the model assumes
The model prescribes a two-dimensional, incompressible velocity field with fixed circulation and a selected viscosity and age. The centre does not convect with the freestream, and the age does not evolve. Consequently, this frozen, anchored superposition is a teaching field rather than a time-evolving solution for a freely advecting viscous vortex.
The tracers do not interact, carry vorticity or alter the flow. There are no walls, boundary layers, pressure calculation or turbulence model. Fixed integration steps and finite screen resolution limit accuracy near a small, strong core. The horizontal and vertical physical domains are mapped independently to the canvas, so geometric proportions can stretch with the viewport.
