# Phase field models

A phase field model is a mathematical model for solving interfacial problems. It has mainly been applied to solidification dynamics,[1] but it has also been applied to other situations such as viscous fingering,[2] fracture dynamics,[3] vesicle dynamics,[4] etc.

The method substitutes boundary conditions at the interface by a partial differential equation for the evolution of an auxiliary field (the phase field) that takes the role of an order parameter. This phase field takes two distinct values (for instance +1 and −1) in each of the phases, with a smooth change between both values in the zone around the interface, which is then diffuse with a finite width. A discrete location of the interface may be defined as the collection of all points where the phase field takes a certain value (e.g., 0).

A phase field model is usually constructed in such a way that in the limit of an infinitesimal interface width (the so-called sharp interface limit) the correct interfacial dynamics are recovered. This approach permits to solve the problem by integrating a set of partial differential equations for the whole system, thus avoiding the explicit treatment of the boundary conditions at the interface.

Phase field models were first introduced by Fix[5] and Langer,[6] and have experienced a growing interest in solidification and other areas.

## Equations of the Phase field model

Phase field models are usually constructed in order to reproduce a given interfacial dynamics. For instance, in solidification problems the front dynamics is given by a diffusion equation for either concentration or temperature in the bulk and some boundary conditions at the interface (a local equilibrium condition and a conservation law),[7] which constitutes the sharp interface model.

A two phase microstructure and the order parameter ${\displaystyle \phi }$ profile is shown on a line across the domain. Gradual change of order parameter from one phase to another shows diffuse nature of the interface.

A number of formulations of the phase field model are based on a free energy functional depending on an order parameter (the phase field) and a diffusive field (variational formulations). Equations of the model are then obtained by using general relations of statistical physics. Such a functional is constructed from physical considerations, but contains a parameter or combination of parameters related to the interface width. Parameters of the model are then chosen by studying the limit of the model with this width going to zero, in such a way that one can identify this limit with the intended sharp interface model.

Other formulations start by writing directly the phase field equations, without referring to any thermodynamical functional (non-variational formulations). In this case the only reference is the sharp interface model, in the sense that it should be recovered when performing the small interface width limit of the phase field model.

Phase field equations in principle reproduce the interfacial dynamics when the interface width is small compared with the smallest length scale in the problem. In solidification this scale is the capillary length ${\displaystyle d_{o}}$, which is a microscopic scale. From a computational point of view integration of partial differential equations resolving such a small scale is prohibitive. However, Karma and Rappel introduced the thin interface limit,[8] which permitted to relax this condition and has opened the way to practical quantitative simulations with phase field models. With the increasing power of computers and the theoretical progress in phase field modelling, phase field models have become a useful tool for the numerical simulation of interfacial problems.

### Variational formulations

A model for a phase field can be constructed by physical arguments if one has an explicit expression for the free energy of the system. A simple example for solidification problems is the following:

${\displaystyle F[e,\phi ]=\int d{\mathbf {r} }\left[K|{\mathbf {\nabla } }\phi |^{2}+h_{0}f(\phi )+e_{0}u(\phi )^{2}\right]}$

where ${\displaystyle {\phi }}$ is the phase field, ${\displaystyle u(\phi )=e/e_{0}+h(\phi )/2}$, ${\displaystyle e}$ is the local enthalpy per unit volume, ${\displaystyle h}$ is a certain polynomial function of ${\displaystyle \phi }$, and ${\displaystyle e_{0}={L^{2}}/{T_{M}c_{p}}}$ (where ${\displaystyle L}$ is the latent heat, ${\displaystyle T_{M}}$ is the melting temperature, and ${\displaystyle c_{p}}$ is the specific heat). The term with ${\displaystyle \nabla \phi }$ corresponds to the interfacial energy. The function ${\displaystyle f(\phi )}$ is usually taken as a double-well potential describing the free energy density of the bulk of each phase, which themselves correspond to the two minima of the function ${\displaystyle f(\phi )}$. The constants ${\displaystyle K}$ and ${\displaystyle h_{0}}$ have respectively dimensions of energy per unit length and energy per unit volume. The interface width is then given by ${\displaystyle W={\sqrt {K/h_{0}}}}$. The phase field model can then be obtained from the following variational relations:[9]

${\displaystyle \partial _{t}\phi =-{\frac {1}{\tau }}\left({\frac {\delta F}{\delta \phi }}\right)+{\eta }({\mathbf {r} },t)}$

${\displaystyle \partial _{t}e=De_{0}\nabla ^{2}\left({\frac {\delta F}{\delta e}}\right)-{\mathbf {\nabla } }\cdot {\mathbf {q} }_{e}({\mathbf {r} },t).}$

where D is a diffusion coefficient for the variable ${\displaystyle e}$, and ${\displaystyle \eta }$ and ${\displaystyle \mathbf {q} _{e}}$ are stochastic terms accounting for thermal fluctuations (and whose statistical properties can be obtained from the fluctuation dissipation theorem). The first equation gives an equation for the evolution of the phase field, whereas the second one is a diffusion equation, which usually is rewritten for the temperature or for the concentration (in the case of an alloy). These equations are, scaling space with ${\displaystyle l}$ and times with ${\displaystyle l^{2}/D}$:

${\displaystyle \alpha \varepsilon ^{2}\partial _{t}\phi =\varepsilon ^{2}\nabla ^{2}\phi -f'(\phi )-{\frac {e_{0}}{h_{0}}}h'(\phi )u+{\tilde {\eta }}({\mathbf {r} },t)}$

${\displaystyle \partial _{t}u=\nabla ^{2}u+{\frac {1}{2}}h'(\phi )\partial _{t}\phi -{\mathbf {\nabla } }\cdot {\mathbf {q} _{u}}({\mathbf {r} },t)}$

where ${\displaystyle \varepsilon =W/l}$ is the nondimensional interface width, ${\displaystyle \alpha ={D\tau }/{W^{2}h_{0}}}$, and ${\displaystyle {\tilde {\eta }}({\mathbf {r} },t)}$, ${\displaystyle {\mathbf {q} _{u}}({\mathbf {r} },t)}$ are nondimensionalized noises.

### Alternative Energy Density Functions

The choice of free energy function, ${\displaystyle f(\phi )}$, can have a significant effect on the physical behaviour of the interface, and should be selected with care. The double-well function represents an approximation of the Van der Waals EOS near the critical point, and has historically been used for its simplicity of implementation when the phase field model is employed solely for interface tracking purposes. However, this has led to the frequently observed spontaneous drop shrinkage phenomenon, whereby the high phase miscibility predicted by an Equation of State near the critical point allows significant interpenetration of the phases and can eventually lead to the complete disappearance of a droplet whose radius is below some critical value.[10] Minimizing perceived continuity losses over the duration of a simulation requires limits on the Mobility parameter, resulting in a delicate balance between interfacial smearing due to convection, interfacial reconstruction due to free energy minimization (i.e. mobility-based diffusion), and phase interpenetration, also dependent on the mobility. A recent review of alternative energy density functions for interface tracking applications has proposed a modified form of the double-obstacle function which avoids the spontaneous drop shrinkage phenomena and limits on mobility,[11] with comparative results provide for a number of benchmark simulations using the double-well function and the VOF sharp interface technique. The proposed implementation has a computational complexity only slightly greater than that of the double-well function, and may prove useful for interface tracking applications of the phase field model where the duration/nature of the simulated phenomena introduces phase continuity concerns (i.e. small droplets, extended simulations, multiple interfaces, etc.).

### Sharp interface limit of the Phase field equations

A phase field model can be constructed to purposely reproduce a given interfacial dynamics as represented by a sharp interface model. In such a case the sharp interface limit (i.e. the limit when the interface width goes to zero) of the proposed set of phase field equations should be performed. This limit is usually taken by asymptotic expansions of the fields of the model in powers of the interface width ${\displaystyle \varepsilon }$. These expansions are performed both in the interfacial region (inner expansion) and in the bulk (outer expansion), and then are asymptotically matched order by order. The result gives a partial differential equation for the diffusive field and a series of boundary conditions at the interface, which should correspond to the sharp interface model and whose comparison with it provides the values of the parameters of the phase field model.

Whereas such expansions were in early phase field models performed up to the lower order in ${\displaystyle \varepsilon }$ only, more recent models use higher order asymptotics (thin interface limits) in order to cancel undesired spureous effects or to include new physics in the model. For example, this technique has permitted to cancel kinetic effects,[8] to treat cases with unequal diffusivities in the phases,[12] to model viscous fingering[2] and two-phase Navier–Stokes flows,[13] to include fluctuations in the model,[14] etc.

## Multi Phase Field Models

Multiple order parameters describe a polycrystalline material microstructure.

In multi-phase field models, microstructure is described by set of order parameters, each of which is related to a specific phase or crystallographic orientation. This model is mostly used for solid state phase transformations where multiple grains evolve (e.g. grain growth, recrystallization or first order transformation like austenite to ferrite in ferrous alloys). Besides allowing the description of multiple grains in a microstructure, multi-phase field models especially allow for consideration of multiple thermodynamic phases occurring e.g. in technical alloy grades.[15]

## Software

• PACE3D - Parallel Algorithms for Crystal Evolution in 3D is a parallelized phase-field simulation package including multi-phase multi-component transformations, large scale grain structures and coupling with fluid flow, elastic, plastic and magnetic interactions. It is developed at the Karlsruhe University of Applied Sciences and Karlsruhe Institute of Technology.
• The Mesoscale Microstructure Simulation Project (MMSP) is a collection of C++ classes for grid-based microstructure simulation.
• The Microstructure Evolution Simulation Software (MICRESS) is a multi-phase field simulation package developed at RWTH-Aachen.
• MOOSE massively parallel open source C++ multiphysics finite element framework with support for phase field simulations developed at Idaho National Laboratory.
• PhasePot is a Windows-based microstructure simulation tool, using a combination of phase field and Monte Carlo Potts models.
• OpenPhase is an open source software for the simulation of microstructure formation in systems undergoing first order phase transformation based on the multiphase field model.

## References

1. ^ Boettinger, W. J.; Warren, J. A.; Beckermann, C.; Karma, A. (2002). "Phase-Field Simulation of Solidification". Annual Review of Materials Research. 32: 163. doi:10.1146/annurev.matsci.32.101901.155803.
2. ^ a b Folch, R.; Casademunt, J.; Hernández-Machado, A.; Ramírez-Piscina, L. (1999). "Phase-field model for Hele-Shaw flows with arbitrary viscosity contrast. II. Numerical study". Physical Review E. 60 (2): 1734. Bibcode:1999PhRvE..60.1734F. doi:10.1103/PhysRevE.60.1734.
3. ^ Karma, Alain; Kessler, David; Levine, Herbert (2001). "Phase-Field Model of Mode III Dynamic Fracture". Physical Review Letters. 87 (4): 045501. Bibcode:2001PhRvL..87d5501K. PMID 11461627. doi:10.1103/PhysRevLett.87.045501.
4. ^ Biben, Thierry; Kassner, Klaus; Misbah, Chaouqi (2005). "Phase-field approach to three-dimensional vesicle dynamics". Physical Review E. 72 (4): 041921. Bibcode:2005PhRvE..72d1921B. doi:10.1103/PhysRevE.72.041921.
5. ^ G.J. Fix, in Free Boundary Problems: Theory and Applications, Ed. A. Fasano and M. Primicerio, p. 580, Pitman (Boston, 1983).
6. ^ Langer, J. S. (1986). "Models of Pattern Formation in First-Order Phase Transitions". Directions in Condensed Matter Physics. Directions in Condensed Matter Physics. Series: Series on Directions in Condensed Matter Physics. Series on Directions in Condensed Matter Physics. 1. Singapore: World Scientific. p. 165. Bibcode:1986SDCMP...1..165L. ISBN 978-9971-978-42-6. doi:10.1142/9789814415309_0005.
7. ^ Langer, J. S. (1980). "Instabilities and pattern formation in crystal growth". Reviews of Modern Physics. 52: 1. Bibcode:1980RvMP...52....1L. doi:10.1103/RevModPhys.52.1.
8. ^ a b Karma, Alain; Rappel, Wouter-Jan (1998). "Quantitative phase-field modeling of dendritic growth in two and three dimensions". Physical Review E. 57 (4): 4323. Bibcode:1998PhRvE..57.4323K. doi:10.1103/PhysRevE.57.4323.
9. ^ Hohenberg, P.; Halperin, B. (1977). "Theory of dynamic critical phenomena". Reviews of Modern Physics. 49 (3): 435. Bibcode:1977RvMP...49..435H. doi:10.1103/RevModPhys.49.435.
10. ^ Yue, Pengtao; Zhou, Chunfeng; Feng, James J. (2007). "Spontaneous shrinkage of drops and mass conservation in phase-field simulations". Journal of Computational Physics. 223: 1. Bibcode:2007JCoPh.223....1Y. doi:10.1016/j.jcp.2006.11.020.
11. ^ Donaldson, A.A.; Kirpalani, D.M.; MacChi, A. (2011). "Diffuse interface tracking of immiscible fluids: Improving phase continuity through free energy density selection". International Journal of Multiphase Flow. 37 (7): 777. doi:10.1016/j.ijmultiphaseflow.2011.02.002.
12. ^ McFadden, G.B.; Wheeler, A.A.; Anderson, D.M. (2000). "Thin interface asymptotics for an energy/entropy approach to phase-field models with unequal conductivities". Physica D: Nonlinear Phenomena. 144: 154. Bibcode:2000PhyD..144..154M. doi:10.1016/S0167-2789(00)00064-6.
13. ^ Jacqmin, David (1999). "Calculation of Two-Phase Navier–Stokes Flows Using Phase-Field Modeling". Journal of Computational Physics. 155: 96. Bibcode:1999JCoPh.155...96J. doi:10.1006/jcph.1999.6332.
14. ^ Benítez, R.; Ramírez-Piscina, L. (2005). "Sharp-interface projection of a fluctuating phase-field model". Physical Review E. 71 (6): 061603. Bibcode:2005PhRvE..71f1603B. doi:10.1103/PhysRevE.71.061603.
15. ^ Schmitz, G. J.; Böttger, B.; Eiken, J.; Apel, M.; Viardin, A.; Carré, A.; Laschet, G. (2011). "Phase-field based simulation of microstructure evolution in technical alloy grades". International Journal of Advances in Engineering Sciences and Applied Mathematics. 2 (4): 126. doi:10.1007/s12572-011-0026-y.