HPC Tier Module

Phase-Field Solidification (Allen-Cahn / Cahn-Hilliard)

2D Allen-Cahn and Cahn-Hilliard phase-field solver with its physical invariants measured each run.

This tool runs inside GDBS HPC. What it computes and the authorities it applies are below.

The problem

Phase-field prototyping needs a solver whose physical invariants are actually verified, not assumed - and whose stiff stability limit is handled so a default run does not silently blow up.

The local-first solution

This solver integrates the Allen-Cahn and Cahn-Hilliard equations on a periodic grid with a standard double-well in your browser, measures the free-energy decrease and total-mass conservation each run, fits the realized interface width against the exact tanh profile, and auto-caps the stiff time step. Deterministic f64 math, nothing uploaded.

What it does

Allen-Cahn (non-conserved L2 gradient flow) with measured monotone free-energy decrease
Cahn-Hilliard (conserved 4th-order) with measured total-mass conservation
Standard symmetric double-well f(phi)=phi^2(1-phi)^2 on a periodic square grid
5-point Laplacian with explicit forward-Euler time stepping and surfaced stability caps
Exact tanh planar-interface anchor with realized width fit versus eps
GeoNum drift probe of the near-equilibrium free-energy decrement

Honest scope

EXACT: the finite-difference stencils, double-well algebra, forward-Euler stepping, and the measured energy and mass series in f64. Mobility M, gradient coefficient eps, dx, and dt are dated model inputs - the analytic width (~3.11 eps) and stability caps derive from them and are echoed back. NOT modeled: anisotropy/dendritic side-branching, thermal coupling, elastic/advective coupling, implicit/spectral stepping, or >2D. A prototype at browser grid sizes, not a production dendrite code.

Authorities cited

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Numerics & Tools tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

Solve with invariants verified

Run the solver in your browser with nothing uploaded, then save the energy and mass series to a Sandbox workspace or attach them to a Worklog case.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com