🧑🎓
What exactly is a vortex? I see them in water and smoke, but what's the physics behind the swirling motion?
🎓
Basically, a vortex is a region in a fluid where the flow revolves around an axis line. The key is that it has *circulation*, meaning the fluid particles have angular momentum. In this simulator, when you click and drag, you're injecting that rotational motion into the fluid. Try it now—you'll see the particle tracers start to swirl.
🧑🎓
Wait, really? So the "Core radius ε" slider must be important. What does it control in the vortex I just made?
🎓
Exactly! The core radius, often called $\epsilon$, defines the size of the vortex's solid, rotating heart. Inside this core, the fluid spins like a rigid disk. Outside, the swirl speed dies off. Slide it smaller and you get a tighter, more intense core. Make it larger, and the rotation is spread out over a bigger area. It's a key parameter in the Rankine vortex model this simulator uses.
🧑🎓
That makes sense. And the "Viscosity" slider? It says it's the decay rate—does that mean my vortex will eventually fade away?
🎓
In practice, yes! Real fluids have viscosity, which is internal friction that dissipates kinetic energy as heat. A high viscosity (move the slider right) causes your vortex to decay quickly, smoothing out the motion. A low viscosity (move it left) lets the vortex persist much longer, creating those beautiful, sustained swirls. This is why smoke rings in air last longer than similar swirls in honey.
The simulator uses the Rankine vortex model, which combines two flow regimes. Inside the core, the flow rotates with constant vorticity (like a solid). Outside, it behaves as an irrotational (potential) flow.
$$v_{\theta}(r) = \begin{cases}\frac{\Gamma}{2\pi \epsilon^2}r & \text{for }r \le \epsilon \quad \text{(Solid-body rotation)}\\
\frac{\Gamma}{2\pi r}& \text{for }r > \epsilon \quad \text{(Potential flow)}\end{cases}$$
Here, $v_{\theta}$ is the tangential (swirling) velocity at a distance $r$ from the vortex center. $\Gamma$ is the circulation strength (set by your click-and-drag force), and $\epsilon$ is the core radius you control with the slider. This model avoids the infinite velocity at $r=0$ that a simple potential vortex would have.
The motion of the tracer particles is calculated by integrating their velocity over time. The simulator also models viscous decay, which gradually reduces the circulation $\Gamma$.
$$\frac{d\Gamma}{dt} = -\nu \, \nabla^2 \omega$$
In simpler terms, the change in vortex strength over time ($d\Gamma/dt$) is proportional to the fluid viscosity $\nu$ (your "Viscosity" slider) and the Laplacian of vorticity $\omega$. A higher $\nu$ leads to faster decay ($\Gamma$ drops quickly), causing the vortex to fade.
Common Misconceptions and Points to Note
There are a few key points you should be aware of when starting to play with this tool. First, you might think "moving the mouse quickly creates a stronger vortex," but it's not that simple. This simulator assigns vortex strength, called "circulation Γ," along the mouse's trajectory. This means the 'area enclosed by the trajectory' you move has a greater impact than the 'speed' of the movement. Drawing a large circle slowly can sometimes create a stronger vortex than moving quickly in small, jittery motions. This connects to a practical caution: not to confuse "velocity" and "vorticity" when setting boundary conditions.
Next is the relationship between the parameters "Viscosity" and "Vortex Core Radius ε." Both relate to how a vortex spreads, so they might seem to have similar effects, but their physical meanings are completely different. "Viscosity" is a property of the fluid itself, representing the process where vortex energy dissipates into heat (decays). On the other hand, "Vortex Core Radius ε" is a parameter in the computational model, determining at what scale the structure of the vortex core is smoothed out. For example, setting ε extremely small (like 0.01) and viscosity to zero makes the vortex very sharp and barely decaying, which can easily lead to numerical instability (the vortex strength exploding). In practical CFD as well, it's crucial to distinguish between parameters for modeling and physical property values.
Finally, don't forget the fundamental limitation that this is a "2D" simulation. The screen is flat, right? Real flows are 3D, so the beautiful vortex filaments you see here would actually stretch and tangle complexly as vortex tubes. Even if you recreate a Kármán vortex street with this tool, 3D disturbances (spanwise fluctuations) quickly arise in the actual wake behind a cylinder. While 2D calculations are excellent for grasping the essence of a phenomenon, a major pitfall in practical analysis seeking quantitative values is the constant need to consider 3D effects.
Related Engineering Fields
The concepts based on this "Vortex Method" are applied across various fields of CAE fluid analysis. The first to mention is Aerospace Engineering. Vortices shedding from airplane wings (wingtip vortices) cause dangerous turbulent wakes that affect following aircraft. To efficiently track such large vortex structures, the "Vortex Method," a type of Lagrangian particle method, has a history of research. Also, the flow around helicopter rotors involves complex vortex interactions.
Another field is Automotive Engineering, particularly aerodynamic design. Turbulent flow (wake flow) generated behind the vehicle body is a primary cause of drag. To understand the large vortex structures occurring here, advanced turbulence models like DES (Detached Eddy Simulation) are used. DES is a hybrid method solving with RANS (Reynolds-Averaged Navier-Stokes) near objects and LES (Large Eddy Simulation) in regions where shed vortices develop. Its philosophy is close to directly calculating the behavior of "distinct vortices" like you see in this tool.
More surprisingly, it's also relevant to Plant Piping Design. When flow discharged from a pump passes through pipe bends (elbows), secondary flow vortices are generated. These can disrupt the measurement accuracy of downstream flow meters or promote corrosion at specific points. Predicting such internal flow vortices is also an important task for CFD, and the underlying concept of vorticity is shared.
For Further Learning
Once you're comfortable with this tool and think "I want to know more," I strongly recommend learning the "Vorticity Equation" as your next step. Derived from the Navier-Stokes equations, this equation directly describes the mechanism of vortex "generation, transport, diffusion, and dissipation." For a 2D, viscous fluid, it takes the following form:
$$ \frac{\partial \omega}{\partial t} + (\vec{v} \cdot \nabla) \omega = \nu \nabla^2 \omega $$
The second term on the left corresponds to vortex transport (the part visualized by particles in this simulator), and the right side corresponds to vortex diffusion due to viscosity (the part adjusted by the "Viscosity" parameter). Looking at this equation, you'll see that in 3D, a more complex "vortex stretching" term is added. For a textbook, the chapter on vortex motion in "Fluid Dynamics (Part 1)" by Isao Imai is exceptionally clear.
For practical learning, try playing with this simulator while recording the behavior when you change parameters in a hypothesis → verification cycle. For example, "Does increasing the vortex core radius ε make the merger of two close vortices faster or slower?" After developing that intuition, try running a basic tutorial like "2D cavity flow" on a practical-level CFD software (there are free options like OpenFOAM). You'll encounter new elements like meshes and solvers, but you'll realize the underlying vortex physics remains the same. For your next topics, progressing to the turbulent energy cascade or the basics of Fluid-Structure Interaction (FSI) will help you understand how the phenomena you observe in this tool develop into real-world problems like "structural vibration."