examples.cahnHilliardΒΆ

Modules

mesh2D

The spinodal decomposition phenomenon is a spontaneous separation of an initially homogeneous mixture into two distinct regions of different properties (spin-up/spin-down, component A/component B).

mesh2DCoupled

Solve the Cahn-Hilliard problem in two dimensions.

mesh3D

Solves the Cahn-Hilliard problem in a 3D cube

sphere

Solves the Cahn-Hilliard problem on the surface of a sphere.

sphereDaemon

tanh1D

This example solves the Cahn-Hilliard equation given by,

test

Last updated on May 15, 2026. Created using Sphinx 9.1.0.