Prerequisites. If ODEs and the Euler integration step feel unfamiliar, work through ODEs and the Euler method first. The discrete update you write there is the same one 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 is a pure rotation. Two points pin down the picture:- At : , the wind blows upward.
- At : , 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 better model is where avoids the singularity at the origin. Near the center the field is strong; far from the center it decays. The same plotting machinery shows the new structure.Show plotting code
Show plotting code

Particles in the storm
A velocity field becomes a dynamical system the moment you drop a particle in it. A particle at position moves according to You can integrate this numerically. The simplest scheme is the Euler step, iterated for many steps. Release many particles at and follow them: this is what raindrops, leaves, and debris do in a storm.Show plotting code
Show plotting code


