Prerequisites. If you are unfamiliar with ODEs or the Euler integration step, first read ODEs and the Euler method. The discrete update in that section is also used here to track particles through the storm field.
- Wind has direction.
- Wind has magnitude.
- Different locations experience different winds.
A rotating storm
A simple 2D rotating storm centered at the origin is This field produces pure rotation. Its values at two points are:- At , , so the wind blows upward.
- At , , so the wind blows to the left.
Show plotting code
Show plotting code
Velocity weakens with distance
A real storm is strongest near the eye and weakens outward. A simple model for this behavior is where avoids the singularity at the origin. The field is strong near the center and decays with distance. The following plot shows this behavior.Show plotting code
Show plotting code
Particles in the storm
Particle motion in a velocity field is a dynamical system. A particle at position moves according to You can integrate this numerically. The simplest scheme is the Euler step, Repeat this update to follow many particles released at . The resulting trajectories model the motion of raindrops, leaves, and debris in a storm.Code
Code
Show plotting code
Show plotting code
Divergence: rotation against contraction
Rotation moves particles without changing how crowded they are. A cloud of particles with a rotationally symmetric density looks the same after the storm has turned it. To see a field that does change the density, set a contracting field beside the rotation: The contracting field points at the origin everywhere, with speed proportional to the distance from it. The divergence measures how much a field spreads particles apart at a point: For the rotation, . It preserves area, so a rotationally symmetric density does not change. For the contraction, . Particles crowd together and the density rises. Both fields are linear, , so the flow map over a time is the matrix . Its determinant is . The rotation has determinant and the contraction has determinant . The code below moves a cloud of particles drawn from a standard Gaussian with the Euler step from the section on particles in the storm.Code
Code
Code
Code
Code
Code
Found an error on this page? Report an issue.

