Solute trapping in Cahn-Hilliard diffusion equation