01 · POTENTIAL EULER BASEThe constriction chooses a harmonic representative.
closed, divergence-free, wall tangent
The solver begins with the closed one-form dx, Hodge-projects it against the curved walls, and keeps its period around the identified pipe. This is the two-dimensional potential-flow answer—not a resampled one-dimensional arrow field.
02 · BERNOULLISpeed trades with pressure.
steady irrotational Euler
Pressure falls where the harmonic field accelerates and recovers when the channel widens. Because the model is inviscid, there is no permanent head loss.
03 · CLEBSCH RECONSTRUCTIONOne global term, one exact term, two labels.
velocity one-form
At each time, the lab solves for φ so the reconstructed velocity is divergence-free and tangent to the wall. The coefficient cH is adjusted so the total harmonic period stays fixed; a single-valued φ cannot control that period.
04 · VORTICITYTake one exterior derivative.
vorticity two-form
Both du♭ and dα ∧ dβ are two-forms on this planar surface. Relative to the chosen area form they can be displayed as a signed scalar density; as an ambient picture, the associated vorticity vector points normal to the plane.