← Direction Field Lab
CLEBSCH · TUTORIAL 01 OF 03The problem and the representation

Begin with the physical problem

A fluid must
move and remember.

A surface-fluid solver must move particles and remember how the velocity acts around loops. Before introducing Clebsch variables, separate two words that are easy to blur: circulation is attached to a loop; vorticity is attached to an area.

circulation, vorticity, and Stokes

The solver ultimately needs the velocity vector u. Clebsch variables are one possible representation of its metric-dual one-form u flat; they are not a new kind of fluid.

One idea at a time

Start with one rotating flow.

We will describe exactly the same counterclockwise motion four ways. The objects are related by translation; they are not four successive simulation steps.

1D · LOOP MEASUREMENT

Circulation asks about one chosen loop.

circulation is the velocity one-form integrated around C

It is one number: the signed tendency to move around that closed curve. Different loops can have different circulations.

2D · PATCH DENSITY

Vorticity asks about local spinning.

vorticity two-form and its scalar representative

Intrinsically, vorticity is the two-form omega two. Its Hodge dual ζ is the signed scalar used to color an oriented surface. For an embedded surface, the vorticity vector is zeta times the unit normal. Integrating the two-form—not the normal arrow—over a patch gives its boundary circulation.

STOKES · AND ITS LIMIT

Vorticity recovers boundary circulation—not every period.

Stokes theorem on a patch

On a torus, a loop around a handle is not the boundary of a patch. Its circulation is extra harmonic data that vorticity cannot recover.

THE TARGET MOTION
solid-body rotation in a planar patch

An arrow at each point tells a particle where to move. This velocity is already divergence-free.

THE SAME FLOW, REPACKAGED

From motion to circulation to vorticity.

Each row keeps some information convenient and makes other information less direct.

  1. Velocity vector
    the particle-motion field

    This is what the advection step needs.

  2. Velocity one-form
    lower the index using the metric

    The one-form measures motion along a tangent direction; integrated around a loop, it measures circulation.

  3. Vorticity two-form
    differentiate, then Hodge-dualize for display

    The two-form records intrinsic local circulation density. The scalar ζ is its oriented coefficient; multiplying ζ by the chosen unit normal gives the familiar extrinsic vorticity vector. None of these tells a particle which tangent direction to move.

  4. Clebsch variables
    one encoding of the same one-form

    Three nonunique scalar fields reproduce the velocity one-form, while their crossing reproduces vorticity.

Three choices for the state

What could the solver store?

There is no universally best representation. The benefit of Clebsch variables appears only when their scalar-label structure is useful.

1
VELOCITY OR VELOCITY COVECTOR

Store what moves the particles.

The most direct choice is u, or equivalently eta equals u flat once a metric is fixed.

BENEFIT

No reconstruction is needed before advection.

RESPONSIBILITY

The numerical update must still preserve incompressibility and circulation.

2
VORTICITY TWO-FORM

Store the rotation directly.

The two-form omega equals d eta is natural when vortex transport is the central concern.

BENEFIT

Local rotation is represented explicitly.

RESPONSIBILITY

Before moving particles, reconstruct a velocity satisfying d eta equals omega and the intended divergence. On genus g, also supply the two g harmonic periods that vorticity forgot.

3
CLEBSCH POTENTIALS

Store scalar labels whose crossing carries vorticity.

Clebsch velocity candidate and vorticity

The labels can be carried with the fluid and arise naturally in some variational or Hamiltonian formulations.

BENEFIT

The curl identity is built into the representation.

RESPONSIBILITY

The potentials are nonunique, can have global topological issues, and do not enforce zero divergence by themselves.

Why projection still appears

Clebsch gives a candidate, not automatically a fluid velocity.

  1. BUILD THE CANDIDATE

    Its vorticity is already known.

    The labels determine omega, but the raw one-form may contain a source–sink component.

    raw Clebsch properties
  2. CHOOSE THE EXACT PART

    Solve one scalar Poisson problem.

    Subtract an exact one-form whose divergence matches the candidate. In Clebsch language this changes only φ.

    projection selects phi
  3. USE THE RESULT

    Move particles with the projected velocity.

    The correction removes divergence without changing vorticity or any closed-loop circulation: d squared p is zero and the period of d p vanishes.

    projection preserves curl and periods

Tutorial 02

Now watch every object appear on a surface.

The second page keeps the experiments together. A third, optional reference page now holds the exterior-calculus and mesh bookkeeping.

CONTINUE TO PART IIFields in action, charts, and topology →