Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Benchmark Problem 3: Dendritic Growth

from IPython.display import HTML

HTML('''<script>
code_show=true; 
function code_toggle() {
 if (code_show){
 $('div.input').hide();
 $('div.prompt').hide();
 } else {
 $('div.input').show();
$('div.prompt').show();
 }
 code_show = !code_show
} 
$( document ).ready(code_toggle);
</script>
<form action="javascript:code_toggle()"><input type="submit" value="Code Toggle"></form>''')
Loading...
from IPython.display import HTML

HTML('''
<a href="{{ site.links.github }}/raw/master/benchmarks/benchmark3.ipynb"
   download="benchmark3.ipynb">
<button type="submit">Download Notebook</button>
</a>''')
Loading...

Benchmark Problem 3: Dendritic Growth

from IPython.display import HTML

HTML('''{% include jupyter_benchmark_table.html num="[3]" revision=1 %}''')
Loading...

See the journal publication entitled “Phase Field Benchmark Problems for Dendritic Growth and Linear Elasticity” for more details about the benchmark problems. Furthermore, read the extended essay for a discussion about the need for benchmark problems.

Overview

Dendritic growth simulations are useful as benchmark problems being highly sensitive to both the phase field model formulation and the particular numerical implementation employed (see, for example, [1, 2]). Historically, dendritic growth was one of the first applications of phase field modeling [3, 4], and remains a significant area of research today. Previous analyses of both the sharp [4, 5, 6, 7, 8] and thin interface limits [10, 1, 11, 12] have demonstrated that the diffuse-interface phase field formulation is asymptotically equivalent to the sharp-interface Stefan formulation. In 2001, the introduction of an “anti-trapping current” to correct for solute trapping due to the jump in chemical potential at the solid/liquid interface [13, 14] facilitated quantitative phase field modeling of alloy solidification using unphysically large diffuse interface widths. Today, massive increases in computing power and the advent of scientific computing on graphical processing units enable large-scale, quantitative 3D phase field simulations of growing dendrites (see, for example, [15, 16] and reviews [17, 18]).

Model Formulation

In this formulation, one order parameter, ϕ\phi, and one additional field variable, UU, are evolved. The phase of the material is described by ϕ\phi, which takes a value of -1 in the liquid and +1 in the solid. In addition, the nondimensionalized temperature is indicated by UU,

U=TTmL/cp,U=\frac{T-T_m}{L/c_p},

where TT is the local temperature, TmT_m is the melting temperature, LL is the latent heat of fusion, and cpc_p is the specific heat at constant pressure, such that U=0U=0 is the nondimensionalized melting temperature (note that, for this particular problem, we do not need to supply values for TmT_m, LL, and cpc_p). The free energy of the system, F\mathcal{F}, is expressed as [1]

F=V[12[W(n)]2ϕ2+fchem(ϕ,U)]dV\mathcal{F}=\int_{V}\left[\frac{1}{2} \left[W(\textbf{n})\right]^2|\nabla \phi|^2+f_{chem}(\phi,U)\right]\,dV

where [W(n)]2\left[W(\textbf{n})\right]^2 is the gradient energy coefficient, nϕϕ\textbf{n}\equiv \frac{\nabla\phi}{|\nabla\phi|} is the normal direction to the interface, and fchemf_{chem} is the chemical free energy density. In this formulation, fchemf_{chem} is a double-well potential with a simple polynomial formulation [1],

fchem=12ϕ2+14ϕ4+λUϕ[123ϕ2+15ϕ4],f_{chem}=-\frac{1}{2}\phi^2+\frac{1}{4}\phi^4 +\lambda U\phi\left[1-\frac{2}{3}\phi^2+\frac{1}{5}\phi^4\right],

where λ\lambda is a dimensionless coupling constant. The interface thickness and directional anisotropy are controlled by W(n)W(\textbf{n}), which takes the form W(n)=W0a(n)W(\textbf{n})=W_0a(\textbf{n}) in two dimensions. We use a simple form for a(n)a(\textbf{n}) to reflect in-plane symmetry [1],

a(n)=1+ϵmcos[m(θθ0)],a(\textbf{n})=1+\epsilon_m\cos \left[m(\theta-\theta_0) \right],

where mm is a non-negative integer and θ\theta is the in-plane azimuthal angle, tanθ=ny/nx\tan\theta=n_y/n_x; θ0\theta_0 is an offset azimuthal angle that specifies the misorientation of the crystalline lattice relative to the laboratory frame of reference (in this case, the xx-axis in the simulation coordinate system). We take

λ=Dτ00.6267W02\lambda=\frac{D\tau_0}{0.6267W_0^2}

because this choice gives quantitative agreement in the so-called ``thin interface limit’’ with sharp interface models of dendritic growth in the limit of vanishing interface kinetics [1].

The time scale for the evolution of ϕ\phi and UU are similar, so both must be described with time-dependent equations. The evolution of ϕ\phi, a non-conserved quantity, is governed by the Allen-Cahn equation [1],

τ(n)ϕt=δFδϕ,\tau(\textbf{n})\frac{\partial\phi}{\partial t} = -\frac{\delta \mathcal{F}}{\delta \phi},

where the kinetic coefficient τ(n)=τ0[a(n)]2\tau(\textbf{n})=\tau_0\left[a(\textbf{n})\right]^2. The functional derivative is given as [1]

τ(n)ϕt=[ϕλU(1ϕ2)](1ϕ2)+([W(n)]2ϕ)+x[ϕ2W(n)W(n)(ϕx)]+y[ϕ2W(n)W(n)(ϕy)]\begin{align*} \tau(\textbf{n})\frac{\partial\phi}{\partial t} & = & \left[\phi-\lambda U\left(1-\phi^2\right)\right]\left(1-\phi^2\right)+\nabla\cdot\left( \left[W(\textbf{n})\right]^2\nabla\phi\right)\nonumber\\ &&+\frac{\partial}{\partial x}\left[|\nabla\phi|^2W(\textbf{n})\frac{\partial W(\textbf{n})}{\partial \left(\frac{\partial\phi}{\partial x}\right)}\right] +\frac{\partial}{\partial y}\left[|\nabla\phi|^2W(\textbf{n})\frac{\partial W(\textbf{n})}{\partial \left(\frac{\partial\phi}{\partial y}\right)}\right] \end{align*}

for two dimensions. We remind the reader that although a(n)a(\textbf{n}), W(n)W(\textbf{n}) and τ(n)\tau(\textbf{n}) have a vectorial argument, they are scalar quantities. Furthermore, the time evolution of UU is governed by thermal diffusion and the release of latent heat at the interface during solidification [1],

Ut=D2U+12ϕt\frac{\partial U}{\partial t} = D\nabla^2U+\frac{1}{2}\frac{\partial \phi}{\partial t}

where DD is a thermal diffusion constant.

Parameterization and simulation conditions

This section presents the specific details for the solidification and dendritic growth benchmark problem, including the model parameterization, initial conditions, boundary conditions, and computational domain size. The model is parameterized with dimensionless units, see the table below. While the diffuse interface width depends on orientation, it varies between four and five units, where the width is defined as the distance over which 0.9<ϕ<0.9-0.9 < \phi < 0.9. The benchmark problem is formulated for two dimensions. To further reduce computational cost, we simulate one-quarter of a growing dendrite, as is commonly done in earlier works (e.g., Ref. [1, 2]). One-quarter of a solid seed with a radius of eight units (with the position of the interface defined as ϕ=0\phi=0) and a diffuse interface width of one unit is placed in the lower-left corner of the computational domain, surrounded by liquid. Initially, the entire system is uniformly undercooled with U(t=0)=ΔU \left(t=0\right)=\Delta. This undercooling is chosen to challenge numerical solvers somewhat because it increases the thermal diffusion length and requires a larger computational domain size relative to more negative undercoolings. We select a square computational domain of (960 units)2(960 \textrm{ units})^2, which is two times longer than the long dimension used in Ref. [1] for the same model parameterization. No-flux boundary conditions are chosen for ϕ\phi and UU on all domain boundaries.

QuantitySymbolValue
Interface thicknessW0W_01
Rotational symmetry ordermm4
Anisotropy strengthϵ4\epsilon_40.05
Offset angleθ0\theta_00
Relaxation timeτ0\tau_01
Diffusion coefficientDD10
UndercoolingΔ\Delta-0.3

Example Result at t=1500t=1500

dendrite

Submission Guidelines

All solutions should be run to at least t=1500t=1500. The following data should be collected for upload as frequently as possible.

  • The solid fraction in the domain (the integral of Vϕ+12dV\int_V \frac{\phi + 1}{2} dV)

  • The free energy, F\mathcal{F}

  • The estimated tip position versus time (the position of the ϕ=0.5\phi=0.5 contour line cutting either the x=0x=0 or y=0y=0 lines)

Three uploads are required for each data combination of time versus quantity. These should be named as free_energy, solid_fraction and tip_position and stored in either CSV or JSON format. The results can be stored in three separate files or one single file as long as each column name for time and quantity is identified on the upload form. In addition the phase field zero level set contour at time t=1500t=1500 is required. The data should be named as phase_field_1500 and include two columns for the x and y coordinates along the zero contour. The contour data should be in a sequence that enables an ordered traversal of the contour line.

Further data to upload can include a Youtube video, images of the dendrite at different times or the entire phase field variable at different times. These are not required, but will help others view your work.

Please use the [upload form]({{ site.baseurl }}/simulations/upload_form/) to upload your results.

Results

Results from this benchmark problem are displayed on the [simulation result page]({{ site.baseurl }}/simulations/3a.1) for different codes.

References
  1. Jokisaari, A. M., Voorhees, P. W., Guyer, J. E., Warren, J. A., & Heinonen, O. G. (2018). Phase field benchmark problems for dendritic growth and linear elasticity. Computational Materials Science, 149, 336–347. 10.1016/j.commatsci.2018.03.015
  2. Karma, A., & Rappel, W.-J. (1998). Quantitative phase-field modeling of dendritic growth in two and three dimensions. Physical Review E, 57(4), 4323–4349. 10.1103/physreve.57.4323
  3. Warren, J. A., & Boettinger, W. J. (1995). Prediction of dendritic growth and microsegregation patterns in a binary alloy using the phase-field method. Acta Metallurgica et Materialia, 43(2), 689–703. 10.1016/0956-7151(94)00285-p
  4. Free Boundary Problems. (2004). Birkhäuser Basel. 10.1007/978-3-0348-7893-7
  5. Langer, J. S. (1986). MODELS OF PATTERN FORMATION IN FIRST-ORDER PHASE TRANSITIONS. In Directions in Condensed Matter Physics (pp. 165–186). WORLD SCIENTIFIC. 10.1142/9789814415309_0005
  6. Collins, J. B., & Levine, H. (1985). Diffuse interface model of diffusion-limited crystal growth. Physical Review B, 31(9), 6119–6122. 10.1103/physrevb.31.6119
  7. Kobayashi, R. (1993). Modeling and numerical simulations of dendritic crystal growth. Physica D: Nonlinear Phenomena, 63(3–4), 410–423. 10.1016/0167-2789(93)90120-p
  8. McFadden, G. B., Wheeler, A. A., Braun, R. J., Coriell, S. R., & Sekerka, R. F. (1993). Phase-field models for anisotropic interfaces. Physical Review E, 48(3), 2016–2024. 10.1103/physreve.48.2016
  9. Wang, S.-L., Sekerka, R. F., Wheeler, A. A., Murray, B. T., Coriell, S. R., Braun, R. J., & McFadden, G. B. (1993). Thermodynamically-consistent phase-field models for solidification. Physica D: Nonlinear Phenomena, 69(1–2), 189–200. 10.1016/0167-2789(93)90189-8
  10. Karma, A., & Rappel, W.-J. (1996). Phase-field method for computationally efficient modeling of solidification with arbitrary interface kinetics. Physical Review E, 53(4), R3017–R3020. 10.1103/physreve.53.r3017
  11. 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(1–2), 154–168. 10.1016/s0167-2789(00)00064-6
  12. Karma, A. (2001). Phase-Field Formulation for Quantitative Modeling of Alloy Solidification. Physical Review Letters, 87(11). 10.1103/physrevlett.87.115701
  13. Echebarria, B., Folch, R., Karma, A., & Plapp, M. (2004). Quantitative phase-field model of alloy solidification. Physical Review E, 70(6). 10.1103/physreve.70.061604
  14. Hötzer, J., Jainta, M., Steinmetz, P., Nestler, B., Dennstedt, A., Genau, A., Bauer, M., Köstler, H., & Rüde, U. (2015). Large scale phase-field simulations of directional ternary eutectic solidification. Acta Materialia, 93, 194–204. 10.1016/j.actamat.2015.03.051
  15. Shibuta, Y., Ohno, M., & Takaki, T. (2015). Solidification in a Supercomputer: From Crystal Nuclei to Dendrite Assemblages. JOM, 67(8), 1793–1804. 10.1007/s11837-015-1452-2