← Part II · In action
CLEBSCH · TUTORIAL 03 OF 03Forms, DEC, and solver checklist

A reference page, not another experiment

Keep the types
in view.

The live page is now reserved for choosing fields and watching material labels. This page holds the exterior-calculus bookkeeping you need when implementing the same ideas on a mesh.

scalars to velocity one-form to vorticity two-form

Read straight through once; return later as a solver checklist.

Exterior calculus in six moves

What each object does.

The organizing principle is integration: zero-forms are sampled at points, one-forms are integrated along curves, and two-forms are integrated over oriented patches.

0
VECTOR ↔ COVECTOR

Motion and measurement are different jobs.

A tangent vector is a possible displacement. A covector consumes that displacement and returns a signed number. The metric relates the two, but does not make their roles identical.

THE METRIC DUAL
lower, raise, and pair
Advection uses u. Circulation integrates η.
1
LOOPS AND PATCHES

Circulation is not vorticity.

Circulation belongs to one selected loop. Vorticity is a local areal density. Stokes relates them only when the loop is the boundary of a patch.

STOKES
loop integral, exterior derivative, patch integral
scalar and normal-vector representations
The two-form is intrinsic. The scalar uses the surface metric and orientation; the normal vector additionally uses an embedding. A noncontractible torus loop is not ∂A and therefore carries additional period data.
2
CLEBSCH ASSEMBLY

Three scalar fields encode one one-form.

The term dφ is exact and curl-free. The weighted label differential αdβ supplies the part whose derivative is the wedge of two label gradients.

THE IDENTITY
Clebsch candidate and its vorticity
The identity d² = 0 removes d(dφ) and d(dβ).
3
INCOMPRESSIBLE PROJECTION

Subtract only the exact source–sink component.

Solve one scalar Poisson equation and subtract dp. This changes divergence but cannot change vorticity or a closed-loop period.

THE PRESERVATION AUDIT
project and preserve
This is the incompressible kinematic projection, not a shallow-water time step.
4
TOPOLOGY

Vorticity reconstruction leaves harmonic state.

On a closed genus-g surface, 2g noncontractible periods remain after local vorticity and divergence are fixed.

HODGE DECOMPOSITION
exact, coexact, and harmonic pieces
For a torus, store or evolve two coefficients.
5
CLEBSCH GAUGE

The potentials are not unique physical observables.

Different triples can encode the same one-form. This representational freedom is distinct from changing a harmonic period, which changes the fluid.

ONE GAUGE FAMILY
same one-form, different potentials
Gauge changes leave η fixed; harmonic subtraction does not.

Smooth object first · cochain second

What a triangle mesh stores.

DEC stores integrals of smooth forms on oriented mesh elements. The arrows shown in a viewer are reconstructed visualizations, not the primary discrete one-form.

01 · VERTICES

Sample the scalar labels

discrete zero-cochains

Each vertex stores one number for each scalar field.

02 · EDGES

Differentiate by oriented differences

exact edge one-form

Reversing the edge orientation reverses the sign.

03 · FACES

Store integrated vorticity

discrete Stokes theorem

The signed face value is the circulation around its oriented boundary.

04 · METRIC

Introduce Hodge stars deliberately

primal-to-dual metric map

Incidence gives d; lengths, areas, and angles enter through the discrete Hodge stars.

05 · PROJECTION

Solve the scalar Poisson system

discrete pressure correction

Audit divergence, face circulation, and harmonic periods separately.

Return to an experiment

Use the reference only when a type or operator becomes ambiguous.

The flat-torus lab isolates the two harmonic coefficients. The shallow-water lab shows why divergence is part of the dynamics rather than something to erase.

NEXT EXPERIMENTCompare two harmonic periods with material grids →