Calculating Curl of a Velocity Field

What Is Curl and Why Should You Care?

Curl measures the rotation of a vector field at a point. In fluid dynamics and physics, it tells you how much a velocity field is "spinning" or swirling around a given location.

Think of it this way: if you dropped a tiny paddle wheel into a flowing river, the curl at any point tells you how fast that paddle wheel would spin. Zero curl means no rotation. Non-zero curl means there's rotational tendency.

That's the entire concept. Now let's get into the math.

The Mathematical Definition

For a 3D velocity field V = (u, v, w), where u, v, and w are the velocity components in the x, y, and z directions:

∇ × V = curl(V) =

(∂w/∂y - ∂v/∂z) i + (∂u/∂z - ∂w/∂x) j + (∂v/∂x - ∂u/∂y) k

Each component tells you about rotation around that axis. The i component is rotation around the x-axis, j around y-axis, k around z-axis.

The Determinant Form

Some people find this easier to remember:

∇ × V = | i j k |
            | ∂/∂x ∂/∂y ∂/∂z |
            | u v w |

Expand along the top row and you get the same result.

2D Velocity Fields: Simplified Formula

Most practical problems involve 2D flow. If your velocity field is V = (u, v, 0), the curl simplifies to:

curl(V) = (∂v/∂x - ∂u/∂y) k

That's it. One scalar component pointing perpendicular to the plane. Positive means counterclockwise rotation, negative means clockwise.

How to Calculate Curl: Step-by-Step

Here's the practical approach:

Example: Simple Shear Flow

Consider a velocity field V = (y, 0, 0). This represents flow moving in the x-direction, with speed proportional to y.

Calculate the partial derivatives:

The curl:

∇ × V = (0 - 0)i + (0 - 0)j + (0 - 1)k = -k

This tells you the flow has uniform clockwise rotation. The rotation rate is constant everywhere—no surprises.

Example: Irrotational Vortex

Consider V = (-y, x, 0). This describes circular flow around the z-axis.

Compute the derivatives:

The curl:

∇ × V = (1 - (-1))k = 2k

Wait—this vortex has non-zero curl. That seems wrong. A "vortex" should be irrotational, right?

The catch: what we just analyzed is a solid-body rotation, not a free vortex. Real vortices like drain flow have velocity proportional to 1/r, not r. Those do have zero curl except at the center.

Curl vs. Circulation: What's the Difference?

People confuse these constantly. Here's the deal:

Circulation = ∮ V · dr = ∬ (∇ × V) · dS

If curl is zero everywhere, circulation around any closed loop is zero. That's what "irrotational" means in practice.

Common Velocity Field Patterns and Their Curl

Velocity Field Curl Physical Meaning
(ax, by, 0) (0, 0, b-a)k Pure shear/stretching
(-y, x, 0) 2k Solid-body rotation
(kx, -ky, 0) 0 2D expansion/contraction
(U, 0, 0) 0 Uniform flow
(y², 0, 0) (0, 0, -2y)k Variable shear

When Curl Is Zero (Irrotational Flow)

Many practical problems involve irrotational flow. When curl equals zero, you can define a velocity potential φ where:

V = ∇φ

This simplifies everything. Laplace's equation governs the flow:

∇²φ = 0

Airflow around an airplane wing (away from the wing surface) is treated as irrotational. So is groundwater flow in homogeneous aquifers. You exploit this constantly in engineering because solving Laplace's equation is tractable.

When Curl Is Non-Zero (Rotational Flow)

Some flows are inherently rotational:

In these cases, you cannot use potential flow theory. You need the full Navier-Stokes equations.

Computing Curl in Practice

Symbolic Computation

For analytical work, use a computer algebra system:

Numerical Computation

When you have discrete data (CFD results, measurements), approximate the derivatives:

∂u/∂y ≈ (u[i,j+1] - u[i,j-1]) / (2Δy)

Use central differences for second-order accuracy. Watch your grid spacing—if it's non-uniform, account for it in your approximations.

Quick Reference: Curl Formulas

Operation Result
∇ × ∇φ 0 (always)
∇ · (∇ × A) 0 (always)
∇ × (A + B) ∇ × A + ∇ × B
∇ × (φA) ∇φ × A + φ∇ × A

The first one is crucial: the curl of any gradient is identically zero. This proves that irrotational flow must be conservative—it has a potential function.

Bottom Line

Curl is straightforward to compute once you know partial derivatives. The formula is fixed. The challenge is:

Most mistakes happen in the setup, not the math. Double-check your coordinate system and make sure you know which variables your velocity components depend on.