Deriving phase field crystal theory from dynamical density functional theory: consequences of the approximations
Andrew J. Archer, Daniel J. Ratliff, Alastair M. Rucklidge, Priya, Subramanian

TL;DR
This paper critically examines the derivation of phase field crystal (PFC) theory from dynamical density functional theory (DDFT), highlighting the impact of common approximations on the accuracy of phase diagrams and crystal stability predictions.
Contribution
The authors identify key approximations in deriving PFC from DDFT that lead to significant inaccuracies, and suggest that deriving PFC models for the logarithm of the density may improve accuracy.
Findings
Neglecting certain terms affects crystal stability predictions.
Standard polynomial approximations introduce spurious phase behavior.
A one-mode approximation for log density yields surprisingly accurate results.
Abstract
Phase field crystal (PFC) theory, extensively used for modelling the structure of solids, can be derived from dynamical density functional theory (DDFT) via a sequence of approximations. Standard derivations neglect a term of form , where is the scaled density profile and is a linear operator. We show that this term makes a significant contribution to the stability of the crystal, and dropping this term from the theory forces another approximation, that of replacing the logarithmic term from the ideal gas contribution to the free energy with its truncated Taylor expansion, to yield a polynomial in . However, the consequences of doing this are the presence of an additional spinodal in the phase diagram, so the liquid is predicted first to freeze and then to melt again as the density is increased; and other periodic structures are erroneously predicted…
| Name | Truncate at | LDA (31) for and | RY/RPA: | Gradient expansion of (44) | Constant mobility, expand | Dynamics | Free energy | Chemical potential | , , |
| PFC- | Yes | N/A | Yes | Yes | Yes | (2) | (1) | — | |
| DDFT-0 | (5) | (10) | (7) | — | |||||
| DDFT-1 | Yes | (24), (26) | (25) | (28), (30) | — | ||||
| DDFT-2 | Yes | Yes | (34) | (32) | (36) | (35) | |||
| DDFT-3 | Yes | N/A | Yes | (41) | (40) | (42) | |||
| DDFT-4 | Yes | N/A | Yes | (46) | as (32) | as (36) | (35) | ||
| DDFT-5 | Yes | N/A | Yes | Yes | (48) | (47) | (49) | ||
| PFC- | Yes | Yes | Yes | (53), (54) | (52) | (55) | (56) | ||
| PFC- | Yes | N/A | Yes | Yes | (58) | (57) | (59) | ||
| PFC- | Yes | N/A | Yes | Yes | as (54) | as (52) | as (55) | (56) | |
| PFC- | Yes | N/A | Yes | Yes | Yes | (60) | as (57) | as (59) |
| Dimension | |||||
| 1 | 4.5918 | 1.1629 | 3.2051 | ||
| 2 | 5.0962 | 0.2455 | 4.3692 | ||
| 3 | 5.5719 | 0.0455 | 5.6889 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Deriving phase field crystal theory from dynamical density functional theory: consequences of the approximations
Andrew J. Archer
Department of Mathematical Sciences, Loughborough University, Loughborough LE11 3TU, U.K.
Daniel J. Ratliff
Department of Mathematical Sciences, Loughborough University, Loughborough LE11 3TU, U.K.
Alastair M. Rucklidge
School of Mathematics, University of Leeds, Leeds LS2 9JT, U.K.
Priya Subramanian
School of Mathematics, University of Leeds, Leeds LS2 9JT, U.K.
Abstract
Phase field crystal (PFC) theory is extensively used for modelling the phase behaviour, structure, thermodynamics and other related properties of solids. PFC theory can be derived from dynamical density functional theory (DDFT) via a sequence of approximations. Here, we carefully identify all of these approximations and explain the consequences of each. One approximation that is made in standard derivations is to neglect a term of form , where is the scaled density profile and is a linear operator. We show that this term makes a significant contribution to the stability of the crystal, and that dropping this term from the theory forces another approximation, that of replacing the logarithmic term from the ideal gas contribution to the free energy with its truncated Taylor expansion, to yield a polynomial in . However, the consequences of doing this are: (i) the presence of an additional spinodal in the phase diagram, so the liquid is predicted first to freeze and then to melt again as the density is increased; and (ii) other periodic structures, such as stripes, are erroneously predicted to be thermodynamic equilibrium structures. In general, consists of a non-local convolution involving the pair direct correlation function. A second approximation sometimes made in deriving PFC theory is to replace by a gradient expansion involving derivatives. We show that this leads to the possibility of the density going to zero, with its logarithm going to whilst being balanced by the fourth derivative of the density going to . This subtle singularity leads to solutions failing to exist above a certain value of the average density. We illustrate all of these conclusions with results for a particularly simple model two-dimensional fluid, the generalised exponential model of index 4 (GEM-4), chosen because a DDFT is known to be accurate for this model. The consequences of the subsequent PFC approximations can then be examined. These include the phase diagram being both qualitatively incorrect, in that it has a stripe phase, and quantitatively incorrect (by orders of magnitude) regarding the properties of the crystal phase. Thus, although PFC models are very successful as phenomenological models of crystallisation, we find it impossible to derive the PFC as a theory for the (scaled) density distribution when starting from an accurate DDFT, without introducing spurious artefacts. However, we find that making a simple one-mode approximation for the logarithm of the density distribution (rather than for ), is surprisingly accurate. This approach gives a tantalising hint that accurate PFC-type theories may instead be derived as theories for the field , rather than for the density profile itself.
I Introduction
The phase field crystal (PFC) theory for matter is widely used and has been successfully applied to describe a broad range of phenomena, including, for example, grain boundary dynamics Elder et al. (2002); Elder and Grant (2004), crystal nucleation Backofen and Voigt (2010); Toth et al. (2010), crystal growth Archer et al. (2012), glass formation Berry et al. (2008), crack propagation Elder and Grant (2004) and many other properties of condensed matter. For more background and examples of situations to which the PFC theory has been applied, see the excellent review Emmerich et al. (2012). The PFC theory was originally proposed, in the spirit of ‘regular’ phase field theory (PFT), as a diffuse-interface theory for the time evolution of an order parameter field Elder et al. (2002). The equations of PFT are obtained via symmetry, thermodynamic and other arguments and the result is a theory that is widely used in materials science and other disciplines to model the structure of materials. For more background on PFT see for example Ref. Boettinger et al. (2002) and references therein.
The central and original idea in extending PFT to arrive at PFC theory is to incorporate aspects of the microscopic structure of the material into the model Elder et al. (2002). The result is a theory that operates on atomic length scales and diffusive time scales Emmerich et al. (2012). By this we mean that PFC theory is a theory for a field that exhibits numerous maxima, each of which is identified as the average location of the atoms (or more generally ‘particles’) in the system. This idea is powerful because, by building into the theory more information about the underlying material structure, it enables the inclusion of much more of the physics coming from particle correlations to be incorporated. Over the years several variants of PFC theory have been developed that are able to describe a range different crystalline (and even quasicrystalline) structures Jaatinen et al. (2009); Pisutha-Arnond et al. (2013); Wu et al. (2010); Barkan et al. (2011); Achim et al. (2014); Subramanian et al. (2016); Jiang et al. (2017); Savitz et al. (2018).
Thus, the original PFC Elder et al. (2002) may be viewed as the simplest partial differential equation model one can conceive of for a conserved order parameter exhibiting peaks arranged with crystalline ordering. It is obtained from a (scaled) free energy {\cal F_{\text{\alpha}}} that is a functional of the dimensionless order parameter :
[TABLE]
where is a field that depends on position in space and on time , and is an inverse length scale that determines the lattice spacing of the crystal. The parameter defines how near the system is to freezing. The time evolution of the conserved field is given by the dynamics
[TABLE]
where \frac{{\delta{\mkern-1.0mu}{\cal F_{\text{\alpha}}}}}{{\delta{\mkern-1.0mu}n}} is the functional derivative of {\cal F_{\text{\alpha}}} with respect to .
Given the ingredients in the model, it is therefore no surprise that PFC theory is closely related to the Swift–Hohenberg equation Swift and Hohenberg (1977):
[TABLE]
which is one of the archetypal equations in pattern formation theory. As one can see above, both the Swift–Hohenberg equation and PFC theory can be expressed as a different type of dynamics based on the same free energy functional Emmerich et al. (2012). The Swift–Hohenberg equation (3) is based on an underlying dynamics that seeks to minimise the free energy over time, whilst the PFC dynamics (2), which also decreases the free energy over time, in addition enforces a conservation of the average value of the order parameter in the system. Thus, the PFC equation (2) is sometimes referred to as the conserved Swift–Hohenberg equation Thiele et al. (2013); Sagui and Desai (1994); Knobloch (2015); Matthews and Cox (2000); Emmerich et al. (2012).
In the years after PFC theory was originally proposed it was realised that it could be derived from classical dynamical density functional theory (DDFT) Elder et al. (2007); van Teeffelen et al. (2009); Huang et al. (2010); Emmerich et al. (2012); Archer et al. (2012), via a sequence of several different approximations. Below, we say much more on what these approximations are. DDFT is a theory for the time evolution of the ensemble average one-body (number) density profile , for a non-equilibrium system of interacting classical particles. DDFT is based on equilibrium density functional theory (DFT) Evans (1979, 1992); Hansen and McDonald (1992) and for an equilibrium system, DDFT is equivalent to DFT. DDFT was originally developed as a theory for Brownian particles with over-damped stochastic equations of motion Marconi and Tarazona (1999, 2000); Archer and Rauscher (2004); Archer and Evans (2004), but it has also been extended to describe the dynamics of under-damped systems and atomic or molecular systems where the particle dynamics is governed by Newton’s equations of motion Archer (2006, 2009); Goddard et al. (2012, 2013); Durán-Olivencia et al. (2017); Schmidt (2018). This body of work shows that when such systems are not too far from equilibrium, then the dynamics predicted by the original DDFT is still often correct in the long-time limit where the particle dynamics is dominated by diffusive processes. This is because DDFT corresponds to a dynamics given by the continuity equation
[TABLE]
where the current , with a local (non-equilibrium) chemical potential Marconi and Tarazona (1999, 2000); Archer and Rauscher (2004); Archer and Evans (2004). Eq. (4) is of course expected since the total number of particles in the system is a conserved quantity.
Refs. Elder et al. (2007); van Teeffelen et al. (2009); Huang et al. (2010); Emmerich et al. (2012); Archer et al. (2012) give various different derivations of the PFC model, starting from DFT and/or DDFT. Here, starting from DDFT, we systematically show how all the various different theories are related and we identify and highlight the significance of each of the approximations that are made in the derivation of PFC theory. We show that there is a particular term of the form , where is a linear operator, that is almost universally neglected because it is ‘of higher order’ Huang et al. (2010), but this term is actually important for stabilizing crystalline structures: its contribution is of the same order as some of the terms that are retained. As we explain in detail, neglecting this term essentially forces one to make the Taylor expansion of the ideal gas logarithmic term in the free energy in order to recover something physically reasonable. We show that neglecting this term, as is done in PFC theory, and the subsequent replacement of the logarithm by its Taylor series, leads to the spurious appearance in the phase diagram of an extra spinodal and also alters the relative stabilities of the crystal state compared to a stripe phase and also other phases, leading in two dimensions (2D) to the stripe phase becoming the global free energy minimum state for certain parameter values. Essentially, all this behaviour originates because the function has one root, but when it is replaced by a truncated Taylor expansion, the resulting polynomial generally has two roots. Our arguments also directly apply in three dimensions to explain why lamellar phases occur as equilibrium phases in PFC theory. Recall that most PFC theories predict that as one moves in the phase diagram away from the region where there is coexistence between the liquid and the crystal, moving deeper into the crystalline portion of the phase diagram, such stripe/lamellar phases appear as equilibrium structures and are global minima of the free energy Emmerich et al. (2012). Of course, particles with isotropic pair interactions generally never ‘freeze’ to form striped phases, unless they have an unusual and special form for the pair potential between the particles Imperio and Reatto (2004, 2006); Archer and Wilding (2007). DDFT, taken together with a reliable approximation for the Helmholtz free energy functional of course does not predict such stripe phases for crystallisation from simple liquids.
The linear operator has the form of a non-local convolution involving the pair direct correlation function plus another simpler term (see Eq. (20) below). Another approximation that is often made in deriving PFC theories is to approximate by a gradient expansion involving derivatives. We show below that if one makes this approximation whilst simultaneously retaining the logarithmic term from the ideal gas free energy, this results in a theory that still predicts reasonably accurately the freezing transition, but as one increases the average density, moving deeper into the region of the phase diagram where the crystal phase occurs, there is a point where at the points in space between the density peaks, where the density is a minimum. On increasing the average density beyond this point in the phase diagram, there is no solution to the theory. We analyse in detail this singular behaviour. As we have , of course. In the equation for the equilibrium density profile this divergence is initially balanced by the term involving the fourth derivative, . However, when the average density in the system is increased beyond the value at which this divergence occurs, we find there is no solution.
We illustrate these conclusions by finding the predicted structures and phase diagram for the 2D version of the GEM-4 (Generalised Exponential Model of index 4) Mladek et al. (2006); Prestipino and Saija (2014), chosen because DDFT based on a simple approximation (the so-called random phase approximation (RPA) Likos (2001)) for the Helmholtz free energy functional can be very accurate for predicting the equilibrium structures formed in this model and also the thermodynamics Mladek et al. (2007); Prestipino and Saija (2014); Archer et al. (2014). At higher temperatures, the 2D GEM-4 system exhibits just a single fluid phase and at higher densities a single crystal phase. At lower temperatures, where the RPA DDFT is no longer accurate, there is a hexatic phase and multiple crystalline phases as the density is increased Prestipino and Saija (2014). Here we do not consider this regime, restricting ourselves to the regime where there is just one fluid and one crystal phase, which are predicted accurately by the RPA DDFT. This enables us to investigate the effect of making subsequent approximations to the DDFT, including those made to derive PFC theory. We find that the PFC type theories spuriously predict three additional phases that are in reality not present in the phase diagram (i.e., are not thermodynamically stable). These are (i) a stripe phase, (ii) what we refer to as ‘down hexagons’ (in contrast to the true crystal structure, which we refer to as ‘up hexagons’) and then at even higher densities a melting to form (iii) another uniform liquid phase. We show how the approximations made in deriving the PFC result in these structures being predicted.
The final contribution of this paper is to show that there is a very simple and accurate ansatz one can make for the form of the equilibrium crystal density profile in DDFT (and so also for DFT, of course). The ansatz is , where is a constant and the field is approximated by a sinusoid of the form complex conjugate (in one dimension), plus other similar terms (in higher dimensions), where and are constants. The results presented here are for the GEM-4 model and show why this approximation is unexpectedly accurate: the approximation is able to replicate almost exactly the numerical solution to the DDFT problem, from small to arbitrarily large amplitude density variations. We expect this ansatz also to be reliable for other systems. This form of one-mode theory gives a hint for future directions to develop accurate PFC-type theories, since using a one-mode approximation in PFC is often fairly accurate.
This paper is structured as follows: In Sec. II we present our systematic step-by-step derivation of PFC, starting from DDFT. After each approximation, we carefully state the model, i.e., we give the corresponding free energy functional and also the expression for the chemical potential, which is a quantity that is a constant at all points in space for equilibrium states. In order to keep track of the different orders in which the approximations can be made, we give each model a name, starting with PFC- for the original PFC model in Eq. (2) above, and with DDFT-0 for the original formulation of DDFT below. The different DDFT approximations result in five different versions, DDFT-1 to DDFT-5. Similarly, we explain the various different approximations that can be made to each of these, leading to a corresponding PFC theory, which we name PFC- to PFC-. Note that the criterion we use here for distinguishing between whether we refer to a theory as a DDFT or a PFC is based on whether the free energy which is minimised by the dynamical equations (i.e., the Lyapunov functional) has the logarithmic ideal gas term or not: if it does not have the logarithm, we refer to it as a PFC. Table 1 below is there to help the reader navigate the various models and the approximations made in each one. Sec. II concludes with a summarising discussion. In Sec. III we present results for the GEM-4 system comparing predictions for the density profiles and thermodynamics of equilibria for two of the different DDFT theories and also two of the PFC theories. In this section we also present the phase diagrams for the GEM-4 system predicted by these different DDFT and PFC theories. By comparing all of these we are able to assess the accuracy of the different theories and the validity of the various approximations. In Sec. IV we discuss the implications of the main two approximations and analyse the singular behaviour displayed by some models. In Sec. V we introduce the ansatz and derive the new one-mode approximation for DDFT. We draw our conclusions in Sec. VI. The paper includes two appendices in which we describe the numerical (continuation) methods we use to calculate the density profiles.
II Derivation of the Phase Field Crystal model from DDFT
In this section we progress from the original formulation of DDFT (which we call DDFT-0) through a series of approximations (DDFT-1, …, DDFT-5), as listed in Table 1. Our main starting point is DDFT-2. From this point, there are three main approximations that can be made (or not made): (i) the Ramakrishan–Yussouff (RY) or the random phase approximation (RPA) for the free energy; (ii) the gradient expansion of the convolution term; and (iii) the Taylor expansion of the logarithmic term. Making (or not making) the first two of these approximations results in DDFT-3, DDFT-4 and DDFT-5. Then, making the third approximation from DDFT-2 results in PFC-, from DDFT-3 results in PFC-, and so on up to PFC-. The PFC- model can be rescaled to recover the original version of PFC, PFC-, see Eqs. (1) and (2). The various models are summarised in Table 1. Amongst the models we present below, DDFT-5 is equivalent to the model derived by Huang et al. Huang et al. (2010) and advocated by van Teeffelen et al. van Teeffelen et al. (2009) (named PFC1 in that paper), and DDFT-3 and PFC- are equivalent to the models named DDFT and PFC2 by van Teeffelen et al. van Teeffelen et al. (2009).
II.1 Dynamic Density Functional Theory: DDFT-0
The starting point for all of our derivations is the key DDFT equation Marconi and Tarazona (1999, 2000); Archer and Rauscher (2004); Archer and Evans (2004):
[TABLE]
where (with being Boltzmann’s constant and being temperature), is the positive -dependent mobility. The Helmholtz free energy depends on the density profile integrated over space; hence depends on time but not on position Archer and Rauscher (2004). The expression is the functional derivative of with respect to , which therefore depends on both time and on position. DDFT usually takes , i.e., the mobility is proportional to density Marconi and Tarazona (1999, 2000); Archer and Rauscher (2004); Archer and Evans (2004), where is the diffusion coefficient. We henceforth scale time so that . With boundary conditions that do not allow material to enter or leave the system, (or equivalently, the mean density) is a constant of the motion and is the total number of particles in the system.
With suitable boundary conditions, one can readily show that the Helmholtz free energy decreases monotonically with time:
[TABLE]
so (assuming that is bounded below) the system typically evolves to a (local) minimum of , which is a dynamically stable equilibrium of (5). Here, ‘dynamically stable’ means that small perturbations away from the equilibrium decay, and ‘equilibrium’ means that and . Owing to the dynamics being governed by a continuity equation (4), such perturbations cannot change the mean density. Local minima of that are not the global minimum are thermodynamically metastable. The system can also have dynamically unstable equilibria, for which is a saddle or maximum. From (6), we see that all equilibria of (5) satisfy , so
[TABLE]
where is the chemical potential of the equilibrium. This is of course the Euler–Lagrange equation for the problem of finding stationary points of the functional , subject to the constraint of fixed mean density. Note however that when evolving (5) forward in time from an arbitrary initial condition, is not necessarily known a priori.
The theory can also be cast in terms of the grand potential (also called the Landau free energy) functional Evans (1979, 1992); Hansen and McDonald (1992):
[TABLE]
From this it follows that the functional derivative of is
[TABLE]
and that this is zero at equilibrium: equilibria are extreme values of . Like the Helmholtz free energy, the grand potential decreases monotonically with time, since Eq. (6) is also true if one replaces by . Therefore, for two phases to coexist, they must have the same specific grand potential (i.e., the same pressure) and the same chemical potential. Thus, the global minimum of for a given and is the thermodynamic equilibrium state of the system Evans (1979, 1992); Hansen and McDonald (1992).
Following the usual approach in DFT, we separate the Helmholtz free energy into three parts: the ‘ideal gas’ contribution, which is proportional to the temperature but takes no account of particle interactions, an excess () over the ideal gas contribution arising from the particle interactions, and the contribution due to an external potential , as follows Evans (1979, 1992); Hansen and McDonald (1992):
[TABLE]
where the integral is taken over the volume in three dimensions () (or the area in 2D, ) and where is the thermal de Broglie wavelength. Since for our purposes here the value of is irrelevant (changing will shift the values of and by constants), we henceforth set . We also consider bulk systems and so we assume that . With the separation in Eq. (10), we have
[TABLE]
which gives
[TABLE]
where on the right hand side we only explicitly write the contribution from the ideal gas part of the free energy. Inserting this into Eq. (5) with we obtain
[TABLE]
in which the coefficient in front of the term is , but our choice of time scaling has . Note that this term is linear in , in spite of it originating from a nonlinear logarithmic contribution to the free energy.
We refer to the model up to this point as DDFT-0.
II.2 Expansion of : DDFT-1
To proceed, we must have an expression for the excess Helmholtz free energy functional . We use a functional Taylor expansion, which is also that used in all derivations of PFC theory. This gives the free energy functional of the system of interest in terms of properties of a reference system, which are assumed to be known. The reference system that is chosen is a uniform liquid, with constant density . The density profile of the system of interest may be varying in space and with an average density that may be different from . The functional Taylor series expansion of the excess free energy can be written in terms of the density difference as follows Evans (1992); Hansen and McDonald (1992):
[TABLE]
The expressions in the equation above are proportional to the first and higher functional derivatives of with respect to density, all evaluated at :
[TABLE]
These functions are known as direct correlation functions Evans (1979, 1992); Hansen and McDonald (1992), and are related to -point density correlation functions. In the two-point case, is the pair direct correlation function and is related to the pair correlation function (i.e., the radial distribution function) through the Ornstein–Zernike equation Evans (1979, 1992); Hansen and McDonald (1992). These direct correlation functions depend on our choice of and depend directly on temperature through the linear factor of in the definition (15) and also indirectly via the fact that the correlations in a liquid change with temperature. Note also that is a constant when is a constant.
For a homogeneous liquid with distant (or periodic) boundaries, these functions depend on displacements but not on absolute position, so (through a slight abuse of notation) we also write
[TABLE]
where Hansen and McDonald (1992). We also take the liquid to be isotropic.
We are considering density perturbations away from the liquid state, so it is convenient to write
[TABLE]
We do not assume that is small, but it is often the case that the average of over the whole system is small. Note also that is a stationary solution of (5). Substituting Eq. (14) into Eq. (5) and writing only the terms up to , we get:
[TABLE]
That the uniform liquid state is an equilibrium of (5) implies that is a solution of equation (18): all terms not written down involve and so are zero for the uniform liquid with density . Recall that is a constant, which means terms involving gradients of this can be dropped. Whilst this constant term does not influence the structure (density profile) both in and out of equilibrium, it does affect the thermodynamics (i.e., free energy value) and so also mechanical properties Wang et al. (2018). With this, we can write the equation for the time evolution of (up to ) as:
[TABLE]
where we have suppressed writing the time dependence of throughout and the dependence of when it is not inside an integral. We have written this equation so that the first line is linear in , the next two lines are quadratic in , the fourth and fifth lines are cubic in , and the last line is quartic in .
Since the first line is linear in , and both terms involve a Laplacian, we can write the linearised version of (19) in terms of the negative Laplacian of a linear operator :
[TABLE]
where
[TABLE]
The non-local operator is most conveniently considered in terms of its Fourier transform, or equivalently, in terms of how it acts on modes of the form . If
[TABLE]
then is the eigenvalue of with eigenfunction . With this, the linear equation (20) can readily be solved in terms of linear combinations of functions like , where is the growth rate for a mode with wavevector , and . If is negative for all , all small amplitude density modulations decay to zero, and the liquid state is dynamically stable.
Recall that for a bulk liquid, , with , and for spherically symmetric (isotropic) particles, . Therefore, in this case , i.e., depends only on the wavenumber . The eigenvalue can be expressed as:
[TABLE]
where is the Fourier transform of . Recall from (15) that is proportional to , so if has any positive Fourier components, decreasing the temperature (increasing ) can be expected to lead to a range of wavenumbers with positive growth rates, and the liquid being dynamically unstable to modes with wavenumbers centered around the maximum of , see Fig. 1. We have scaled lengths so that the maximum growth rate occurs at wavenumber . This argument, of course, assumes that the product is independent of temperature. This is not true in general, but for some systems it is a good approximation (at least over a limited range of temperatures) – see Ref. Somerville et al. (2018) for a recent discussion on this for a particular colloidal system. Recall too that for an equilibrium liquid the static structure factor . is proportional to the Fourier transform of the radial distribution function Hansen and McDonald (1992). So, for the stable uniform liquid, we have .
We refer to the state point at which the uniform liquid becomes linearly unstable to density modulations with wavenumber as the spinodal point, in keeping with the terminology of Trudu et al. (2006). The more common usage of the term ‘spinodal’ relates to the onset of the zero-wavenumber phase separation instability of liquid–liquid or gas–liquid phase separation Hansen and McDonald (1992); Archer and Rauscher (2004). At the spinodal point, the density and temperature are such that the liquid is dynamically marginally stable, that is, the maximum of is zero. Therefore, at higher temperatures, small amplitude density modulations decay, and at lower temperatures, small amplitude density modulations grow. For a given fixed value of , the spinodal temperature is , with a corresponding . Similarly, either increasing the density of the liquid or increasing the chemical potential can also lead to crossing the spinodal.
With (21), we can eliminate in favour of in (19), and obtain (truncating at ):
[TABLE]
where we have used the result . For an ideal gas, with and , the first line of the equation above reduces to the diffusion equation, , similar to (13).
At this point, we have made no approximations beyond expanding the free energy in Eq. (14) and truncating at . We refer to the model at this stage, truncated in this way, as DDFT-1. In the new variables, and incorporating into , the Helmholtz free energy can be expressed (up to fourth order) in terms of a scaled free energy , where
[TABLE]
and where we have also dropped terms that do not contribute to (24). In these variables, the DDFT that leads to the dynamics (24) is
[TABLE]
Note that, because of the term in (25), is constrained so that is always non-negative. Also, because of Eq. (17), we have
[TABLE]
Moreover, states that satisfy
[TABLE]
where and where [see (7), (10) and (14)]
[TABLE]
are equilibrium solutions of (24), or equivalently, extrema of . Henceforth, we redefine to be , which is a shifted and rescaled chemical potential. For the free energy in (25), we have
[TABLE]
At equilibrium, this expression (the rescaled chemical potential ) does not vary in space. The reference liquid has and . The zero value for arises (in part) from dropping from (14), while the zero value for the rescaled chemical potential is a consequence of (29), which is equivalent to dropping from (14) and setting in (10).
II.3 Simplification of and : DDFT-2
As the next step, Huang et al. Huang et al. (2010) kept only the zero-wavenumber components of and , or equivalently, they took
[TABLE]
where and are constants (our sign convention is opposite to that of Huang et al. (2010)). This is equivalent to making a local density approximation (LDA) Evans (1992) for these terms in the free energy. We could in principle include terms involving and higher as well, treated in the same way: these would contribute a more general function of in the free energy, treated with the LDA. However, since we are investigating the effect of approximations that have not yet been discussed, we keep as simple a free energy as possible at this point, consistent with truncating at . With this, the free energy in (25) becomes
[TABLE]
and the four terms involving and in (24) become
[TABLE]
Using and , Huang et al. Huang et al. (2010) combined (33) and (24) to get
[TABLE]
where
[TABLE]
We also have a chemical potential
[TABLE]
which does not vary in space at equilibrium. Up to this point, we refer to the model as DDFT-2.
Here, we retain the term (as did Huang et al. Huang et al. (2010)), because otherwise the dynamics in (34) would not be consistent with the free energy (32) and the DDFT dynamics (26) (with instead of ).
The next three models involve making (or not making) two approximations: (i) assuming the Ramakrishan–Yussouff or random phase approximation, which leads to a quadratic excess Helmholtz free energy functional, and (ii) making a gradient expansion of the linear operator .
II.4 Quadratic excess free energy: DDFT-3
Often, the free energy functional in (14) is truncated at . This is known as the Ramakrishan–Yussouff (RY) approximation Ramakrishnan and Yussouff (1979); van Teeffelen et al. (2009); Emmerich et al. (2012), which effectively sets . A mathematically equivalent approximation arises in the treatment of soft purely repulsive particles modelling soft matter, namely the RPA Likos (2001). Here, two soft isotropic particles at and separated by a distance interact through a potential energy , which depends only on the magnitude of the distance and is finite for all values of . The excess free energy [c.f. Eq. (14)] is then
[TABLE]
This amounts to setting and
[TABLE]
in DDFT-2. The eigenvalues can thus be related to the Fourier transform of through (23) Likos (2001); Archer et al. (2012):
[TABLE]
Setting implies from (35) that , and , and results in a free energy
[TABLE]
With this choice of free energy, the dynamics in (34) becomes:
[TABLE]
along with an analogous version of (36), for the chemical potential:
[TABLE]
We refer to this model as DDFT-3; it is equivalent to DDFT-1 with the RY approximation, and to DDFT-0 with given by the RPA approximation.
Before moving on to make further approximations, it is worth noting a useful property that DDFT-3 and the subsequent theories derived from it possess. If the pair potential in Eq. (38) can be written as , where is a parameter that controls the overall strength of the potential, then from Eqs. (21), (38) and (42) we obtain:
[TABLE]
The consequence of this is that for a given , the behaviour of the model depends only on the combination of parameters and the value of . If one changes the value of the reference density to some other value, then this is entirely equivalent to solving the system with the original reference density at a different value of . We should emphasize that this is only true if does not change with density, which in general is not true, but is approximately the case for some systems.
II.5 Gradient expansion of the linear term: DDFT-4
Returning to DDFT-2, Huang et al. Huang et al. (2010) (following Elder and Grant (2004)) expanded in powers of the gradient operator , replacing by the simplest linear operator that allows a positive growth rate for modes with a wavenumber . Scaling lengths so that results in:
[TABLE]
so from (22). This approximation is equivalent (within scaling) to a local gradient expansion of (21), expanding the Fourier transform of about its maximum:
[TABLE]
where the function and its second derivative evaluated at are and , respectively. Here, is a parameter, notionally increasing with (and with ) and equal to zero at the spinodal point, when . This parameter controls the growth rate of waves with wavenumber : effectively, is the height of the maximum at in the growth rate curve in Fig. 1. The second parameter can be used to fit the curvature of at .
With this gradient expansion, the dynamics is
[TABLE]
We refer to this model as DDFT-4: is now a (local) partial differential operator and (46) is a partial differential equation. The free energy and chemical potential can be found from (32) and (36), setting . The lower bound is still respected. This model is equivalent to that written down by Huang et al. (2010).
Higher powers (or other functions) of the Laplacian can be retained in , to improve the accuracy of the match between the eigenvalues of and , as done for example by Jaatinen et al. (2009); Pisutha-Arnond et al. (2013), or to introduce additional unstable length scales, as done for example by Wu et al. (2010); Barkan et al. (2011); Achim et al. (2014); Subramanian et al. (2016) and others. See also Eq. (76) below and the associated discussion.
II.6 RY and gradient expansion: DDFT-5
Finally, we can make both the RY/RPA approximation () and replace the linear operator by to get the model advocated in Ref. van Teeffelen et al. (2009). The free energy and evolution equation are
[TABLE]
and
[TABLE]
along with an analogous version of Eq. (42) for the chemical potential:
[TABLE]
This model is named PFC1 in van Teeffelen et al. (2009), but here we call it DDFT-5 for consistency.
II.7 PFC models
The final simplification that can be made (or not made) is to discard the (or ) term from the dynamical equations for the four DDFT models DDFT-2, …, DDFT-5, resulting in four PFC models PFC-, …, PFC-. Huang et al. Huang et al. (2010) justify making this simplification on the grounds that this term is not truly quadratic in : the presence of in the expression means that it is effectively of higher order. However, we show below that this term does in fact make an important contribution to the free energy: at least as important as the term.
In addition, dropping this term implies significant changes to the DDFT dynamics, the mobility and the nonlinear terms in the free energy. In fact, the factor in the mobility in (26), the logarithm in the ideal gas free energy in (10) and the term in (24) are inextricably linked. This can be seen in the progression from (10) to (13): the functional derivative of the ideal gas term in (10) (the first term on the right hand side) leads to the term in (11), the gradient of this leads to in (12), and the mobility being cancels the , leading to a diffusion equation in (13). If the term is dropped from (34), the equation for becomes of the form for some functional . We can see the implications of this by returning to (5) and taking the steps needed to get to this modified version of (34). Clearly the mobility in (5) has been taken to be constant. If we now think of the ideal gas part of the free energy in (10) and (11), but with a constant mobility in the dynamical equation, we end up with the ideal gas term contribution to the equation for being the form
[TABLE]
instead of the diffusion equation (13). This unlikely equation can be avoided, and the diffusion equation recovered at leading order, by expanding the logarithm in (32) in a Taylor series. Thus, dropping the term is equivalent to taking constant mobility and expanding the logarithm.
It is because of these substantial changes that we opt to use the term ‘DDFT’ for all models based on free energies that have the logarithmic ideal gas term, the non-constant mobility and the term retained. In contrast, we use the term ‘PFC’ for models based on expanding the logarithm, having a constant mobility and the term dropped. One consequence of expanding the logarithm up to , as is done in most PFC derivations Emmerich et al. (2012), is that the ideal gas part of the free energy contributes cubic and quartic (as well as quadratic) terms to the free energy, so going from DDFT-2 to PFC- turns out not to be just a matter of dropping the term.
So, a consistent free energy–dynamics derivation Elder and Grant (2004); van Teeffelen et al. (2009) involves going back to DDFT-2 and replacing the logarithm in (32) by:
[TABLE]
resulting in a free energy
[TABLE]
where we have suppressed writing the dependency of . Taking the mobility in (5) to be a constant () implies (after scaling)
[TABLE]
similar to (2). This leads to the PFC dynamical equation:
[TABLE]
and to a chemical potential
[TABLE]
where is as in (35) but is different:
[TABLE]
We refer to this model as PFC-, and recall that the factor of in front of {\cal F_{\text{\beta}}} is the inverse temperature.
The end result here is that PFC- (54) is not the same as DDFT-2 (34) with the term removed: the cubic coefficient is different and the quartic contribution in (34) is absent. For the cubic coefficient, the contribution proportional to in (35) comes from the non-constant mobility, while the term in (56) comes from expanding the logarithm. The contribution to proportional to is the same. Moreover, the in in (35) and (56), while having the same numerical value, arises for two different reasons: non-constant mobility versus expanding the logarithm. An additional difference between the DDFT and PFC models is that in the PFC models, the constraint that (i.e., ) is not enforced.
As in the DDFT derivations, we can now make (or not make) the RY/RPA approximation and the gradient expansion. We consider first the RY/RPA approximation, setting in PFC-. The free energy is
[TABLE]
the dynamics is
[TABLE]
and the chemical potential is
[TABLE]
We refer to this model as PFC-, and it is effectively the same as PFC- but with and .
Finally, the gradient expansion can be made, replacing by in all expressions in this subsection, resulting in PFC- (without RY/RPA) and PFC- (with RY/RPA).
We refer to these models collectively as the PFC models, and have chosen the names PFC- etc. to distinguish these from the PFC1 and PFC2 models of Ref. van Teeffelen et al. (2009). The quadratic term in the dynamics () can be removed (provided ) by adding a constant to , but we choose not to do this as it implies a change to what was meant by in the reference liquid. In addition, a negative can be scaled to . With these changes, PFC- is equivalent to the original PFC- model (2) of Elder et al. (2002); Elder and Grant (2004):
[TABLE]
where we have written out explicitly, and and (or and after scaling and adding a constant to – returning to the conserved Swift–Hohenberg equation).
The implication of dropping the term in the dynamics (41) for DDFT-3 is now apparent: without this term, Eq. (41) reduces to (58) but with the cubic term removed. The absence of the cubic term here implies a free energy as in (57) that is not bounded below, i.e., a free energy that is non-physical, and so the term can have the effect of stabilizing patterns. In addition, dropping the term is consistent only with a theory with a constant mobility.
II.8 Summary
To summarise, we have carefully laid out the various approximations made in the progression from the DDFT-0 starting point (5) to the final PFC (2,58) written down in Elder et al. (2002); Elder and Grant (2004). We have largely followed earlier derivations van Teeffelen et al. (2009); Huang et al. (2010); Emmerich et al. (2012), seeking to clarify the approximations that are made. Along the way, we have identified four intermediate versions of DDFT, listed for clarity in Table 1. The change in name from DDFT to PFC could be made at any point in this progression, but we prefer to make the name change at the point where the term is dropped (along with all the other changes that are implied by this), since removing this term marks a considerable alteration to the free energy expression and to the dynamics.
The PFC model (54) is appealing in its simplicity, and it gives insight into a variety of crystallisation phenomena, but the derivations of the model from DDFT presented here, as well as the derivation from Ref. Huang et al. (2010), are both problematic. Just dropping the term, as done by Huang et al. Huang et al. (2010), means that the dynamics is not equivalent to a DDFT with mobility proportional to . On the other hand, the alternative is to expand the logarithm up to in (51) in order to provide a nonlinear stabilizing term () in the free energy (57). However, in the original formulation, the logarithm comes from the ideal gas term in (10), and leads to a linear diffusive term in the dynamics. The stabilizing nonlinear terms in (34) are provided by , (in DDFT-2) and by the term – these are all absent in PFC-.
Indeed, all these models only make physical sense if their free energies are bounded below. The free energies for DDFT-0 and DDFT-1 are too general to make any comment, but that for DDFT-2 (32) etc. can be discussed. The term is bounded below by zero, and the term is bounded below because the eigenvalues of are bounded above:
[TABLE]
where is the maximum over of (we have in mind a as in Fig. 1). In any case, this term, along with the other quadratic and cubic terms, is dominated by the quartic in , which is bounded below provided . If , then will do, recalling that . For DDFT-3, with the RY/RPA approximation , the boundedness of the free energy (40) depends on the combination. From (21), the relevant term is
[TABLE]
In general, this is not bounded below, but it is in certain circumstances. For example, it is if , and it is if (or for RPA) for all and , which is the case in the numerical examples below. The PFC models are not constrained to have , but {\cal F_{\text{\beta}}} (52) is bounded by the term as long as its coefficient is positive; {\cal F_{\text{\gamma}}} (57) is always bounded below, because the expansion of the logarithm in (51) was truncated after an even powered term.
Throughout we have made the simplest choices in the approximations, but other authors have made many other choices. For example, the original PFC paper Elder et al. (2002), as well as later papers Elder et al. (2007); Huang et al. (2010); Robbins et al. (2012); Alster et al. (2017); Elder et al. (2018), included a two-component (binary) version of the PFC model. Recently, Wang et al. Wang et al. (2018) took a much closer look at and , expressing these in terms of isotropic tensors and so allowing these functions to introduce bond angle dependence into the free energy. Some choices of and lead to nonlinear terms that include gradients, which can affect the selection of the final stable crystal Wu et al. (2010). The gradient expansion approach has been generalised in two ways: (i) higher order terms or rational functions were considered by Jaatinen et al. (2009); Pisutha-Arnond et al. (2013) in order to improve the fit between the functional form and the Fourier transform of , and (ii) PFC models with two unstable length scales have been put forward by several authors Pisutha-Arnond et al. (2013); Wu et al. (2010); Barkan et al. (2011); Achim et al. (2014); Subramanian et al. (2016); Jiang et al. (2017), since these allow more complex crystals (face-centered cubic, icosahedral quasicrystals, …) to be stabilized. We discuss the model of Jaatinen et al. (2009) in more detail below. Alternative approaches involving weighted densities are also possible Jaatinen and Ala-Nissila (2010).
III Comparison of DDFT and PFC
We are interested in the effects of the approximations made in going from DDFT to PFC. A full assessment of the validity of the RY/RPA approximation for , which in itself constitutes a major simplification, is beyond the scope of the present study. The general conclusion on the validity of the RY/RPA approximation is that it depends on the nature of the interactions between the particles; there are examples in the literature where this approximation is reliable and others where it works badly – see for example the discussion in Refs Evans (2010); Löwen (2010) and references therein.
Here, we consider one particular system where the RPA is accurate and then we focus on the effects of approximating by and of making the suite of other approximations inherent in going from DDFT to PFC: expanding the logarithm, assuming constant mobility and dropping the term. To this end, we start with DDFT-3 and solve (42), rewritten here as:
[TABLE]
The system that we consider is particles interacting via the GEM-4 Mladek et al. (2006); Prestipino and Saija (2014) potential: this is a model for soft-matter particles and in particular for dendrimers and other polymers in suspension, treating the polymers via an effective pair potential between their centers of mass. This potential is soft, i.e., finite for all values of Mladek et al. (2006); Prestipino and Saija (2014); Likos (2001, 2006); Lenz et al. (2012), and is
[TABLE]
where the parameter controls the strength of the potential and controls its spatial range. We consider here the system in 2D Prestipino and Saija (2014); Archer et al. (2014). As long as the temperature and density are high enough that the particle cores regularly overlap (the regime in which the system freezes), the RPA approximation (37) is known to be rather accurate for the GEM-4 system and gives a good account of the phase diagram and the structure of the liquid and solid phases Mladek et al. (2007); Prestipino and Saija (2014); Archer et al. (2014).
From Eqs. (21), (38) and (64) we obtain the linear operator :
[TABLE]
Recall from (22) that has eigenvalues with eigenfunctions . We can choose the combined parameter and soft-particle radius so that the maximum in occurs at when the system is at the linear stability threshold, i.e., this is a maximum with , similar to Fig. 1. In 2D, to satisfy this condition we must have and – see Appendix A for details.
With this choice of parameters, the eigenvalue is shown as a solid line in Fig. 2. The figure also shows (dashed line) the eigenvalue for the gradient expansion of around :
[TABLE]
where is chosen to match the second derivative at , as done for example in Refs. Elder and Grant (2004); Wu and Karma (2007); Jaatinen et al. (2009). The dotted line in Fig. 2 is the eigenvalue for (76), the eighth-order fitting model proposed in Jaatinen et al. (2009) and discussed in more detail below.
In what follows we compare solutions of (63) for DDFT-3 with solutions of the analogous equations for DDFT-5, PFC- and PFC-:
[TABLE]
See Appendix B for details of the pseudo-arclength continuation numerical method we use for solving these equations. Also, in the supplementary material we include a Matlab code for solving DDFT-3. Note that throughout what follows, we refer to the quantity as the ‘density’.
Since the DDFT-5, PFC- and PFC- represent different forms of Taylor expansion around the reference state with density , there are a variety of ways comparison between solutions can be made. Here, we opt to fix and as in (65) and (66) with the specified values of , and . This implies that at the reference state with is at the spinodal point and is marginally unstable to modes with wavenumber . We then vary starting from and follow the liquid, stripe and hexagonal solutions of (63) and (67)–(69) in appropriately sized two-dimensional domains. For a given value of the different solutions have different values for the mean density , where is the area of the domain. For each state we calculate the specific grand potential:
[TABLE]
where is , , {\cal F_{\text{\gamma}}} or {\cal F_{\text{\epsilon}}}, as appropriate. We also minimise with respect to the domain size by applying the approach described in Appendix B. For a given value of the chemical potential and the combined parameter , the thermodynamic equilibrium state is that with the minimum value of . Note that equilibria with the same do not necessarily have the same value of , which is important when considering which equilibria might result from initial conditions via the dynamics.
The solution corresponding to the uniform density liquid state with can readily be found. In this case we have , and so we must solve the following algebraic equations for :
[TABLE]
recalling that the value of depends on whether or not the gradient expansion is carried out (see Fig. 2). Finding for a given value of is done easily using Newton’s method, and the resulting and specific are shown in Fig. 3. In all cases, we see that is an increasing function of , while is a decreasing function of . The figure shows that the specific grand potential for the liquid state predicted by all four models are similar close to , but the predicted liquid state densities are rather different away from . This difference originates from the different values of ( for DDFT-3 and PFC-, in contrast to for DDFT-5 and PFC-). We see from Fig. 3 that the density of the liquid is erroneously predicted to increase too rapidly as is increased by the gradient expansion theories (DDFT-5 and PFC-). This is because these get the value of the isothermal compressibility to be too large Jaatinen et al. (2009). This compressibility is related to via Hansen and McDonald (1992): see Eq. (23) and following discussion. Expanding the logarithm makes relatively little difference over this range of densities.
Since crystallisation occurs at higher densities, we expect a transition from the liquid to the crystal to occur as increases. At the spinodal the uniform liquid becomes linearly unstable and the patterned state solution branches bifurcate from the liquid at this point. To find these states, we seek a solution of the form
[TABLE]
where near the bifurcation point , and is of the form , so that . Expanding Eqs. (63) and (67–69) in powers of we find that the equations to solve are just those for finding the liquid state density, Eqs. (71)–(72). The equations are
[TABLE]
The spinodal point for DDFT-3,5 or for PFC-, is where there are solutions of the equation with .
Since we are looking for a change in stability, we take the extreme value of , i.e., (see Fig. 2). Then, Eq. (74) is solved (with ) only for , which leads to from (71). In contrast, Eq. (75) with has two solutions, and , leading to and from (72). The implication of this is that the PFC has two spinodal points: the liquid loses stability at as increases through [math], but it regains stability at , which gives for PFC- and for PFC-. This prediction that the liquid regains stability for higher is a consequence of expanding the logarithm, or equivalently of Taylor expanding the term in (74) and is confirmed by direct computation of the crystal solutions below. Of course, this prediction is erroneous, since the simulation results for the GEM-4 system Mladek et al. (2006); Prestipino and Saija (2014) show no sign of a second spinodal point or the associated stable second liquid in the equilibrium system phase diagram.
In Fig. 4 we display examples of the three different types of periodic solutions that can be found for DDFT-3. These are (i) the crystal solution, which we refer to as ‘up hexagons’, which exhibits a triangular array of isolated density maxima surrounded by hexagonal regions where the density is close to zero. There are also (ii) ‘down hexagons’ which are the opposite, with isolated density minima and hexagonal density maxima. Finally, there is (iii) the stripe state. Depending on the state point these solutions are not necessarily linearly stable. Our naming convention to distinguish the two different hexagonal solutions originates in the convection literature Bodenschatz et al. (2000). These solutions were initiated at and then continued numerically (see Appendix B) up to . For DDFT-3 it is possible to go a bit higher in , but with increasing (i.e., increasing average density) the peaks in the density profile get narrower and higher and so more and more grid points are required to resolve these peaks correctly. However, as we show below for some of the other models and for different reasons, it is not possible to continue the solutions this far in . The domains on which the profiles are calculated have periodic boundary conditions, with 4 wavelengths in each direction (for stripes), or wavelengths (for hexagons). The wavelength is initially equal to for and is then adjusted by up to about 2% in order to minimise the specific grand potential as is varied; i.e., we minimise with respect to variations in the size of the crystal unit cell or, for the stripe phase, we minimise with respect to variations in the spacing between the stripes – see Appendix B for details.
In Fig. 5 we display a series of plots showing the maximum, minimum and average values of the density profiles for the stripe and hexagonal structures as a function of . We also plot the specific grand potential for the different structures. Recall that for a given the thermodynamic equilibrium phase corresponds to the global minimum of . The results for DDFT-3 are shown in Fig. 5(a–c). The (a) stripes originate in a supercritical pitchfork bifurcation at , and (b) hexagons originate in a transcritical bifurcation at the same value of . The density of the up hexagons ranges from about up to about 50, for . All of these branches can be continued to larger values of .
DDFT-5, in Fig. 5(d–f), initially behaves in the same way, but all three branches have their minimum density heading to zero before gets to 10: this happens at for (d) stripes, and for and for (e) the up and down branches of hexagons, respectively. The numerical method cannot continue the branches beyond these points. We argue in Sec. IV that this is not an artefact of the numerical method, rather it is a genuine feature of solutions of Eq. (67) that the density can go to zero. In this limit, , but this is balanced by a lack of smoothness in : the fourth derivative in can go to and so balance the singularity in . Therefore, is the limit of validity of the DDFT-5 model.
The two PFC examples are similar to each other, and it is easier to discuss PFC-, in Fig. 5(j–l), first. Here, (j) stripes and (k) hexagons bifurcate from the liquid at , but they rejoin the liquid at as explained in the discussion following Eqs. (74–75). The maximum and minimum densities for the up and down hexagon cross between the two bifurcations. The behaviour of PFC-, in Fig. 5(g–i), is similar, though the second bifurcation is at , off the scale of the figure.
Figure 5(c,f,i,l) shows that the curves of the specific grand potential as functions of are very close, so in Fig. 6, we plot instead versus , where is the specific grand potential for the liquid at the same value of . In (a) the DDFT-3 case, the up hexagons clearly have the lowest grand potential for with the uniform liquid being the global minimum for , and at no point do stripes come anywhere near, as one should expect from the particle simulation results Prestipino and Saija (2014). For (b) DDFT-5, the two hexagon branches stop before the stripe branch when their minimum densities go to zero (the limit of validity), but otherwise the relative values for the hexagon and stripe grand potentials is qualitatively similar to DDFT-3. For (c,d) the PFC examples, once again it is easiest to discuss PFC- first. In Fig. 6(d), the hexagon and stripe branches bifurcate from the liquid at and rejoin the liquid at , with stripes having the lowest grand potential for intermediate values of , and up or down hexagons being the lowest grand potential state for smaller or larger values of . The behaviour of (c) PFC- is similar, but stretched to larger values of (off scale).
The insets in the four panels of Fig. 6 display magnifications that show that the behaviour near the spinodal point at is qualitatively similar in all four cases: the up hexagons start with for negative , but the branch changes direction, forming a cusp, close to which is the thermodynamic coexistence point (Maxwell point), where . The down hexagons start with for positive , and the stripes, also with for positive , have a value of the grand potential intermediate between the up and down hexagons. We note that the range of over which this behaviour occurs is about a factor of ten smaller in the DDFT-5 and PFC- cases as compared to DDFT-3, also with a roughly ten-fold drop in the overall range of values of .
The observation that the bulk phase behaviour of the system depends only on and the value of if the pair potential can be written as – see the discussion around Eq. (43) – is true for the GEM-4 system. As a consequence, having calculated the coexisting densities for a particular value of , the linear stability threshold, these results can be scaled to give the phase diagram in the full average density versus dimensionless temperature plane, which is one of the usual ways the GEM-4 phase diagram is displayed Mladek et al. (2006, 2007); Prestipino and Saija (2014); Archer et al. (2014); Archer and Malijevskỳ (2016). The phase diagrams obtained from doing this are in Fig. 7. In Fig. 7(a) we display the phase diagram obtained from DDFT-3, which is identical (to within the resolution of the calculations) to that previously calculated in Refs. Archer et al. (2014); Archer and Malijevskỳ (2016). For example, when , the average densities of the coexisting liquid and the crystal are and , respectively. As a result of the scaling behaviour, the coexisting densities (binodals) are two straight lines going from the origin and passing through these two points.
In Fig. 7(b) we display the phase diagram obtained for the DDFT-5. The binodals are a little closer to the linear stability threshold line than for DDFT-3, but other than that, it looks similar overall. Note however that the up hexagon branch cannot be continued beyond (where the minimum density goes to zero): this line is indicated as the ‘limit of validity’. Beyond this line, in the bottom right region of the phase diagram, there is no up hexagon solution to the equations, for the reasons discussed in Sec. IV.
In Fig. 7(c) we display the phase diagram for PFC- and in (d) for PFC-. The binodals almost overlie each other, so the predicted difference between the average densities of the liquid and the crystal at coexistence are much smaller than that predicted by DDFT-3 and DDFT-5. Furthermore, on moving to higher average densities or to lower temperatures one encounters the stripe phase, followed by the down hexagon phase and then finally the uniform liquid becomes stable again. The prediction of the occurrence of these later phases is of course wrong, signifying a breakdown in the accuracy of the PFC theory at even the qualitative level.
Before finishing this section, we note that it is possible to extend the gradient expansion in (66) by including higher powers of the Laplacian. For example, Ref. Jaatinen et al. (2009) proposed an eighth-order fitting (EOF), which in our notation is
[TABLE]
where fits the curvature of the dispersion relation as before, and allows the eigenvalue of to be matched as well, i.e., allows the model to match correctly the isothermal compressibility . An example of the dispersion relation for this operator is shown as a dotted line in Fig. 2. This EOF version of the theory, with in (76), improves over the standard version, with (66), since for and are the same. Therefore, the liquid properties of DDFT-5 match those of DDFT-3, and the liquid properties of PFC- match those of PFC-, once is replaced by .
However, the drawbacks of the gradient expansion are still present. With , the values of at which the DDFT-5 stripe and hexagon densities go to zero are larger, but this undesirable feature is only deferred, not eliminated. The reason is that the singularity in the logarithm is now balanced against an eighth-order derivative. Note too that introducing even higher derivatives does not cure this problem, it just pushes the singularity to higher order. In addition, with the second liquid spinodal in the PFC- model is still present, it is just pushed to higher values of (similar to the value for PFC-) and since this second spinodal is present, there is still a range of values of for which stripes have the lowest specific .
IV Effect of the approximations
The qualitative change in going from a DDFT to a PFC model (dropping the term, assuming constant mobility and expanding the logarithm) is apparent in the phase diagrams shown in Fig. 7, comparing (a,b) to (c,d). Here we discuss in detail additional effects of the approximations.
IV.1 Expanding the logarithm
The effect of expanding the logarithm as in Eq. (51) is very significant. In Sec. III we demonstrated that this expansion leads to the liquid having a second spinodal point, illustrated in the phase diagrams in Fig. 7(c,d), with the crystal re-melting as the density is increased. The reason for this is that Eq. (75) can be solved with and , while Eq. (74) is only solved by , with in both cases.
Intimately connected to the existence of this second spinodal is the transition from stable up hexagons at the spinodal to stable down hexagons at the higher density spinodal. These connections to the spinodals mean that the free energy of the up hexagons increases again compared to the liquid state free energy as the chemical potential is increased, in order to reconnect to the liquid state at the upper spinodal. An intermediate region of stable stripes is not inevitable, but is evident in both PFC examples in Fig. 6(c,d).
Taking more terms in the expansion in Eq. (51) does not help. The highest power should be even (otherwise the free energy is not bounded below), and the improved versions of Eq. (75), which involves the second derivative of Eq. (51) with respect to , also have and as (the only) real roots, regardless of how many terms are kept in the expansion of the logarithm. The exception is if only terms up to are kept in (51); in this case, and (if they are non-zero) provide the stabilizing nonlinearities and may also lead to a spurious spinodal.
IV.2 Gradient expansion of
As discussed in Sec. III above, the results in Fig. 5(d,e) suggest that for certain values of , the DDFT-5 equation (67) has solutions for the density which go to zero at certain places. In contrast, the density in the PFC models appears to stay away from zero (although there is no reason for it to do so and there would be no singularity if it did), and in DDFT-3, the density minimum gets smaller and smaller as increases, but remains positive, without the sharp cutoff seen in DDFT-5. In this section we argue that the density reaching zero is not an artefact of numerical difficulties, rather it is a feature of the DDFT-5 equation (67). Here, we focus on singularities in the solution, not on stability. Our discussion in this section is mainly framed in terms of the stripe solution, which is unstable, but the stable up-hexagon branch has similar issues, as is illustrated in Fig. 5(e).
Figure 8(a) shows that even close to the end of the branch of DDFT-5 stripes, the density profile remains smooth, but since its minimum at is very close to zero (), therefore the logarithm is sharply spiked towards large negative values at . Writing out the terms in (67) for a density profile only varying in the -direction, we have:
[TABLE]
which suggests that the only way to balance a large negative contribution from is to have a large positive . Figure 8(b) shows that these two terms (solid lines with markers at the grid points) do indeed balance each other. The figure also shows that the other terms in (77) are well behaved and that the equation is satisfied at each grid point. Therefore this singularity is not a numerical artefact, but rather a genuine feature of DDFT-5 stripes: the minimum density goes to zero at a certain finite value of . In Fig. 8(c,d) we show for comparison results from DDFT-3: the stripes have sharply peaked density maxima and density minima just as small as in DDFT-5, but all terms in Eq. (63) (Fig. 8d) are well behaved.
As is further increased, the minimum of the density in DDFT-5 gets closer to zero, so the logarithm of the density goes further towards and correspondingly goes towards . Fig. 5(d) shows that the density minimum gets to zero at a finite value of . We have not been able to develop a consistent asymptotic approximation for this limit in the DDFT-5 equation. However, to illustrate that apparently smooth solutions with logarithmic singularities in their fourth derivatives can easily be found, consider for example taking in (77) and taking a density profile that has a quadratic minimum at :
[TABLE]
where , and are constants. For small , the largest of these three terms is , so , which goes to as . The other terms are and . Adding these three together requires to cancel the logarithmic singularity at , and the remaining terms are constants or go to zero as .
As can be seen from Fig. 8, having an adequate resolution for our numerical calculations was a challenge but for different reasons for the different models. In DDFT-3, the density maxima can be sharply peaked while the logarithm of the density is smooth, so inadequate resolution in the density field prompts an increase in the number of grid points (we implement automatic regridding, as discussed in Appendix B). In contrast, in DDFT-5, the density field can be smooth but with minima very close to zero, so its logarithm has very sharp negative peaks. In this case, inadequate resolution in the logarithm of the density prompts regridding. The difference is that in DDFT-5, the equation involves derivatives so any problem is magnified, while in DDFT-3, the equation involves convolutions that smooth out any problems.
These arguments indicate that a singular solution to the DDFT-5 equation (67) of the type seen in Fig. 8 is possible, with the density going to zero, and that this is not a problem of inadequate numerical resolution, but rather a consequence of replacing the convolution in DDFT-3 with derivatives. A full asymptotic theory should result in a prediction for the value of at which the branch terminates. The stripe solutions of the DDFT-3 equation (63) can also have small density but without any singularity in the solution.
V One mode approximation for DDFT
The data displayed in Fig. 8(a,c) lead to an interesting observation: in (a) DDFT-5, the logarithm of the density is sharply negatively peaked, while the density is smooth (at least up to its second derivative), slowly varying and resembles a cosine. In contrast, in (c) DDFT-3, the density is sharply peaked, while the logarithm of the density is slowly varying and resembles a cosine. One of the attractions of PFC theory is that it has slowly varying solutions that are well represented by a few Fourier modes Elder et al. (2002); Elder and Grant (2004); Emmerich et al. (2012); Wu et al. (2010), and this carries over to some extent to DDFT-5. Such Fourier representations of the density profiles in DDFT-3 are unsatisfactory, apart from for the unstable solutions very close to the spinodal point, since any solution of reasonable amplitude is sharply peaked.
However, the data in Fig. 8 suggest that representing the logarithm of the density with a few Fourier modes should work well in DDFT-3. In this section, we elaborate how such a theory can be developed.
The key is to write Eq. (63) in terms of , and approximate by a few Fourier modes. As a first step, we write out using Eq. (65) and re-write (63) as:
[TABLE]
where . The convolution term (including the prefactor) in this equation is . We know the eigenvalues of : , which means that the convolution term acting on a Fourier mode has eigenvalue . We also know that for high wavenumbers, the convolution averages to zero, and indeed , as can be seen in Fig. 2.
We focus first on stripes, which have Fourier components only at integer wavenumbers, and notice that is already very small (less than ), because is small. This implies that the Fourier components of the convolution term at and higher will be much smaller than the Fourier components at and – regardless of the spectrum of itself. The other two terms in Eq. (79) are , which is constant ( only), and , so can only have significant Fourier components at and : there is nothing to balance modes with . This explains why in the lower left panel of Fig. 8 is smooth, and it is also why approximating the logarithm of the density by a few Fourier modes must work regardless of the amplitude of the modulations in the density, or how sharply they are spiked, or of the value of .
For the stripe phase we write
[TABLE]
where and are constants (real and complex, respectively) that we need to find. This can easily be generalised for hexagons and other periodic phases by adding more modes in (80). The and components of , where c.c. denotes the complex conjugate, can be expressed in terms of integrals, defining two functions and given by
[TABLE]
i.e., is modified Bessel function of the first kind of order zero and is a Fourier transform generalisation of . Using these functions, can be written in terms of its Fourier components as
[TABLE]
The modes with in (82) are large in amplitude, but they are reduced in significance in Eq. (79) by the convolution, as explained above. The action of the convolution on modes with can be written in terms of . Retaining only these terms, we are left with the and components of (79):
[TABLE]
Notice that the only information remaining from the GEM-4 potential is the values of and , i.e., the values of and . Recall also that if the reference density is chosen to be the value at the spinodal, then we have . These equations can also be written in terms of the pair potential as
[TABLE]
The two equations in (83) can easily be solved for and in terms of , from which the density can be reconstructed. The agreement between this and the full solutions of DDFT-3 is astonishing. Figure. 9(a) shows a 1D example at , with the full solution as a black line and the approximate solution as a dashed line. Even though the density varies by two orders of magnitude, the two are almost indistinguishable. There is similar excellent agreement with the branch of stripe solutions (Fig. 9b) in 2D DDFT-3 (recall that the GEM-4 potential has different values of in 1D and 2D).
For 2D hexagons, the approach is similar, with the two terms in Eq. (81) replaced by six similar terms, with wavenumbers that are uniformly spaced around a circle of radius 1 in -space (c.f. Eq. (102) in Appendix B). The agreement in this case (Fig. 9c) is also very good. If one adds a further six modes with , then the agreement is as good as that for stripes. These approximate solutions can easily be continued up to without difficulties, where we observe very sharply peaked density maxima and extremely small but non-zero values for the density minimum.
VI Discussion and conclusions
In this paper, starting from DDFT, we have presented a step-by-step derivation of PFC theory, at each stage explaining the consequences of the approximations. The approximations can be listed under three main groupings: (i) making a truncated functional Taylor expansion approximation for the excess Helmholtz free energy, and then making the RPA/RY approximation. This leads to DDFT-3 in our classification. (ii) Neglecting the term, which effectively also forces making a Taylor expansion of the logarithmic ideal gas term and assuming constant mobility. (iii) Replacing the nonlocal convolution in with a local gradient expansion. The consequence of (ii) is to introduce a second spinodal into the phase diagram and to significantly alter the relative stabilities of the different periodic states, in particular making striped states to become an equilibrium phase for some state points, which is contrary to the physics. The consequence of making (iii) without first making (ii), is to generate a theory (DDFT-5) that has a no-solution region in the phase diagram, such as that displayed for the GEM-4 model in Fig. 7(b). All these consequences have been illustrated for the GEM-4 system, chosen because DDFT-3 is fairly accurate for this model for temperatures , allowing us to see the influence of the subsequent approximations.
Throughout, there is good quantitative agreement between DDFT-3, PFC- and the EOF versions of DDFT-5 and PFC- (data not shown) only for unstable small amplitude solutions close to the spinodal point. The region of quantitative agreement agreement between DDFT-3 and PFC- is circled in red in Fig. 5(b,h). Beyond this region, the agreement between the four theories is at best qualitative.
Given all these problematic consequences for PFC theory, especially the issues related to Taylor expanding the logarithmic ideal gas term, it raises the question of why then is PFC theory so successful? In our view, there are several reasons for this. The first reason is that PFC theory is qualitatively correct near to the spinodal. Therefore, it can satisfactorily describe the coexistence between the liquid and the crystal phase, which is often an important aspect in applications of the theory. Second, despite the approximations, PFC theory still incorporates some very important physics: (i) the free energy satisfies the correct symmetries, (ii) the dynamical equation gives a time evolution that decreases the free energy monotonically over time and (iii) the current is proportional to the gradient of the chemical potential. These are all important features for describing many phenomena. Also, many of the features that PFC theory is used to describe are generic, and the model parameters can be scaled to fit (for example) iron Jaatinen et al. (2009) and graphene Fan et al. (2017), but could equally well be scaled to match other materials, with similar good agreement. This universality (having the correct symmetries etc.) underlines the importance of PFC theory as a powerful model of generic features of crystalization, but it means that PFC theory will in general not be able to predict any unusual (non-generic) behaviour.
Our results in Sec. V for the GEM-4 system showing that one can derive a very accurate one-mode amplitude equation approximation for the field , rather than the density itself, gives a tantalising hint as to how PFC-type theories may more properly be derived and what the order parameter field in PFC theory really represents: Should we consider the PFC order parameter to be a scaled logarithm of the density distribution or some other similar function of the density, rather than being proportional to the density profile itself? On the basis of the work presented here, the answer to this question is ‘probably yes’, but clearly more work is required to fully address this.
Returning to theories for the density profile, in our view it is preferable to retain the logarithmic ideal gas term in the approximation used for the Helmholtz free energy functional, since this is required to have physical (i.e., positive) density profiles, and also because with this the DDFT dynamics leads to the (correct physics) linear diffusion equation term – see Eq. (13). The difficult consequence of retaining this in the free energy is that one then has to deal with terms in the dynamical equation of the form , which makes solving numerically far more difficult. However, this term also contributes to making the crystalline phase more stable than the stripe phase, which also makes it important. The crucial contribution of this term can especially be seen in DDFT-3, since in this version of the theory it is clearly required for stabilizing the crystal structure. In general, we would advocate using one of DDFT-1, DDFT-2 or DDFT-3 (depending on how is treated) over all existing PFC theories, for studying the properties of real materials.
It is worth noting that in all the approximations made here, we only consider those that retain the form of a dynamics that decreases the free energy monotonically over time – see Eq. (6). This is a feature of both DDFT and PFC theory. In our view this structure is important and should not be broken by any approximations made, i.e., any that might be made in future in attempting to avoid any of the above mentioned issues.
It is also worth noting that, while we have not discussed the consequences of the LDA in going from DDFT-1 to DDFT-2 (see Eq. (31)), the polynomial terms in the chemical potential (36) can potentially lead to the same problem of having a second spinodal, even while retaining the logarithm term. This applies to DDFT-4 as well.
In this paper we have largely focussed on making our arguments in two dimensions, in order to keep the presentation as simple and comprehensible as possible. However, we should emphasis that all of our arguments apply for three dimensional (3D) systems. For example, at the higher temperatures we have focussed on here, the 3D GEM-4 model exhibits at equilibrium a single fluid phase and two crystalline phases: the body-centered cubic phase at lower densities and the face-centered cubic structure at higher densities. These are all accurately predicted by the 3D version of DDFT-3 Mladek et al. (2006). There are no columnar or lamellar phases, which are the 3D equivalents of the stripe phase. On the other hand, the 3D versions of the PFC theories presented here all predict a lamellar phase at some state points Thiele et al. (2013), the 3D generalisations of the down hexagons and a second spinodal with the uniform liquid becoming the equilibrium phase at higher densities.
It would be interesting to explore how the dynamics of defects, the elasticity and the plasticity of crystals differs between DDFT and PFC, and our results are also relevant to binary systems. In the derivation in Ref. Huang et al. (2010) of a PFC theory for binary mixtures, the generalisation of the term is retained until the last moment in the derivation, but then dropped for the same reasons that is is neglected for one-component systems. Given the importance of this term for one-component systems, it is surely also important for stabilizing crystal structures in binary systems. Note also that when determining mechanical properties such as elastic constants, the terms in the free energy that are linear in can be important Wang et al. (2018). These have been neglected here throughout since such terms do not contribute to determining density profiles.
The singularity observed for DDFT-5 as the chemical potential (or equivalently, the average density ) is increased was found by continuing equilibrium solutions determined at lower values of . One aspect that needs further investigation relates to determining the influence of this when DDFT-5 is solved for state points where the final equilibrium crystal (or stripe) solution for the density profile does not exist. For example, a situation we have in mind is that studied by van Teeffelen et al. van Teeffelen et al. (2009) consisting of a solidification front propagating into the unstable liquid. These authors compared results for this situation between (in our terminology) DDFT-3, DDFT-5 and PFC-. Their results are for two-dimensional dipolar colloidal particles. From the DDFT-5 results (PFC1 in their terminology) displayed in Figs. 4 and 5 of Ref. van Teeffelen et al. (2009), it can be seen that they did not consider values of the coupling parameter large enough to encounter any of the singularities; the density profiles stay well away from zero. It would be interesting to quench deeper into the crystal phase to study the evolution of the density distribution towards the singular state. However, the numerics to resolve this accurately would surely be difficult.
One aspect of PFC theory that the derivation from DDFT highlights is that in general one is not free to independently vary the parameters and in Eqs. (1) and (2). For example, for the GEM-4 model there are certain values of that are not generated by the mapping from DDFT. Of course, by changing the pair potential, different combinations of the PFC model parameters can become accessible. We should also recall that although we have illustrated many of our conclusions by considering the soft-core GEM-4 model, PFC theory can be derived for systems of particles with hard potentials since it is the pair direct correlation function that enters the theory; this quantity is finite for all values of and .
As a final point, we mention that our results will also be of interest to the pure mathematics community. DDFT-3 is also referred to as the McKean–Vlasov equation and in this context there are a number of recent interesting rigorous results Carrillo et al. (2018); Gomes et al. (2019). Our results for DDFT-5, showing that for a finite value of there is a singularity with the density profile going to zero, may well be of interest to those who study the mathematics of solutions to partial differential equations with compact support – see for example Ref. Bernis et al. (1992). For values of beyond the singular point where it may be that the solutions become complex. If one were interested to find these solutions, we believe it might require treating as a complex variable. Of course, all of this is out of the realm where the model represents a theory for matter.
Acknowledgements.
This work was supported in part by a L’Oréal UK and Ireland Fellowship for Women in Science (PS), by the EPSRC under grants EP/P015689/1 (AJA, DR) and EP/P015611/1 (AMR), and by the Leverhulme Trust (RF-2018-449/9, AMR). We are grateful for conversations with Tapio Ala-Nissilä, Daniele Avitabile, Ken Elder, Zhi-Feng Huang, Kai Jiang, Edgar Knobloch, Ron Lifshitz, Chris Malcotte, Daniel Read, Uwe Thiele, Steve Tobias, Gyula Tóth, Laurette Tuckerman and Joanna Tumelty. We are grateful also for constructive comments from two anonymous referees.
Appendix A Linear theory for GEM-4
In this appendix, we discuss how we compute the linear theory for the GEM-4 potential in (64). To be specific, in a two-dimensional periodic domain, the eigenvalue is defined by and (65), which can be written as
[TABLE]
where the integral is taken over the periodic domain (the GEM-4 potential is replaced by its periodic extension). We set , we integrate from in each dimension, and we choose the integer large enough that the GEM-4 exponential is effectively zero at the boundaries; suffices. We then scale by a factor of , replacing by , so that the integral becomes:
[TABLE]
where is the first component of . With this scaling, the limits of the integral do not depend on .
We choose and so that and . The derivative of with respect to is
[TABLE]
Evaluating this at and removing the constant factor outside the integral gives a function :
[TABLE]
We solve the equation using Newton’s method to give . We then calculate by requiring that in (86). Values for and in one, two and three dimensions are given in table 2. We compute the GEM-4 dispersion relation in Fig. 2 in a similar way, and use the second derivative of (86) with respect to , at , to find the parameter (also given in table 2) in . The table also gives , since this is useful for computing properties of the liquid, as well as , the coefficient in the eighth-order model of Jaatinen et al. (2009), given in Eq. (76).
Appendix B Numerical method: continuation
We use numerical continuation to solve the four equations (63) and (67)–(69) for as the parameters vary. Our approach is based on Doedel et al. (1991) for the pseudo-arclength continuation method, and we use the approach advocated by Kelley (2003) to solve the large linear systems at each Newton step. The main parameters are the chemical potential , the parameters in the linear operators and , and the domain size. In this discussion, we focus on as the parameter that is varied.
B.1 Pseudo-arclength continuation
The main idea behind pseudo-arclength continuation is to suppose that we are looking to calculate a branch of solutions depending on the parameter . The branch may have folds (as in Fig. 5), and the method should be able to go around these. The method defines a parameter (the arclength ) that increases or decreases monotonically along the branch (including its folds) such that both and can be regarded as single-valued functions of . Then the equation to be solved is
[TABLE]
where represents the equation we are solving for . Instead of thinking of as being a function of position , we represent as a series of values on grid points (), so is now a vector in , and is a function from . Equation (89) represents equations for unknowns, and so it is supplemented by an orthogonality condition, that the next point on a branch should lie in a plane orthogonal to a line connecting the two previous points. It is this that allows the branch following technique to go around folds. If we have two points on the branch at and , then we take the derivatives of and with respect to the arclength to be approximately
[TABLE]
with the scaling factor chosen so as to satisfy
[TABLE]
The prefactor means that the parameterization of the branch by the arclength is essentially independent of the number of grid points.
The method then proceeds in a predictor–corrector fashion. The predictor step, with a target stepsize provides :
[TABLE]
Then, is used as an initial iterate for a Newton solver for equation (89), supplemented by the condition that the Newton iterates lie in a plane orthogonal to the line given in (92), parameterised by . This means that we are solving , where is , with the first equations in being the same as , and the last equation being
[TABLE]
To be precise, we take
[TABLE]
where is a linear preconditioner for (see below). The scaling means that the norm (the square root of the sum of the squares of its components) is independent of the number of grid points , and it also means that the equations in and the orthogonality condition (93) are given a similar weighting by the Newton method.
Solving results in a new point on the branch of solutions, , where is given by
[TABLE]
with and given by (90). This last equation comes from replacing by and by in (92) and finding a from times the first equation plus the second equation. This is not quite the actual change to the arclength that was achieved in the step, and the approximation is the reason that the method is called the pseudo-arclength method.
B.2 Newton’s method
For Newton’s method, we define and solve . We start with given by the predictor step above in (92), and follow Kelley (2003), at each step solving the linear equation
[TABLE]
where is the matrix of derivatives of with respect to , and then improving our estimate of the root by using .
The Newton method proceeds until convergence, defined by
[TABLE]
where and are the Newton absolute and relative convergence tolerances respectively, typically and . We also monitored the maximum of across the domain, and this was typically no larger than ten times , so the equations are well satisfied at each point in space as well as in norm.
The linear equations in (96) are solved to find using Matlab’s biconjugate gradient stabilized (l) (bicgstabl) method. This allows the matrix–vector multiplications to be evaluated using a function (rather than by explicitly computing a large matrix). The method is iterative, and proceeds until
[TABLE]
where the relative tolerance of the linear solver is chosen so as to balance the number of Newton steps against the number of bicgstabl iterations. Based on Kelley (2003), we choose
[TABLE]
subject to the constraint that should be no larger than . The effect of this is that in the initial first or second of the Newton iterations, when is at its largest, the linear solver is not asked to work too hard to solve (96), since any reasonably good approximate solution is likely to improve the estimate of the root, and an absolutely perfect solution isn’t going to do much better. In the middle stages of the Newton iterations, when is about , the tolerance is about , which is not good enough for quadratic convergence of Newton’s method, but is good enough to provide two or three orders of magnitude improvement to the quality of the solution at a considerably lower cost. In the final stages of the Newton iterations, , good enough for polishing the solution to the tolerance while not attempting to solve the linear problem down to round-off error.
Also based on Kelley (2003), we implement the Armijo rule, which ensures that each Newton step results in an improvement to the solution. The idea is that the solution of the linear equation (96) should give the correct direction for improving the solution of , but taking a full step may not actually result in an improvement, so instead we set
[TABLE]
where is chosen to be the smallest such that
[TABLE]
In most cases, the first () Armijo step satisfies (101), equivalent to the normal Newton method, but when the density is close to zero in the DDFT calculations, and small changes in density lead to large changes in its logarithm, the Armijo rule is helpful.
We do not use a preconditioner in the GEM-4 calculations (so in (94) is the identity), but in the gradient expansion calculations, a preconditioner is helpful. In Fourier space, can easily be inverted, so the preconditioner is when the absolute value of the eigenvalue is greater than , otherwise the preconditioner is the identity. This has the effect of reducing the number of iterations needed to solve (96) by a factor of 10 or even 100.
A sample Matlab code to solve Eq. (63) for DDFT-3 by Newton’s method (without the continuation aspect) is given in the supplementary material.
B.3 Additional considerations
We start the computation of each branch close to and using an approximate solution derived from weakly nonlinear theory. For example, for hexagons in DDFT-3, we take
[TABLE]
where the initial value of is small, comes from Table 2, , , , and c.c. stands for complex conjugate.
The equations are posed on periodic domains and we use grid points, depending on the number of wavelengths in the domain and the nature of the solution. The GEM-4 hexagonal calculations require wavelength domains, with resolutions starting at Fourier modes close to onset. At larger amplitude, Fourier modes (or even more) are needed, especially if the density maxima are sharply peaked (in DDFT-3) or if the density minima are very close to zero (in DDFT-5). In order to accommodate the changing needs for resolution along a branch, we monitor whether the solutions are well resolved and implemented automatic regridding, so as to maintain enough grid points to resolve the solution well, regardless of what features emerge as is varied. Typically we require that the amplitudes of the highest-wavenumber Fourier modes be no higher than times the largest Fourier amplitude.
We also implement automatic pseudo-arclength stepsize control: is increased by a factor of 1.1 (up to a maximum of 0.1) if the Newton method converges quickly (in fewer than 5 iterations), or is decreased by a factor of 2 (down to a minimum of ) if it converges slowly (more than 8 iterations) or fails.
Finally, we adjust the domain size continuously along each branch so as to minimise the specific grand potential . This is done by adding an extra parameter (the domain stretch factor ), so that the real domain size is instead of an unstretched . The number of grid points is not altered. Then the real GEM-4 potential is proportional to , where is the unstretched coordinate on the unaltered grid. Quantities like the mean value of are the sum of the values of at each grid point divided by the number of grid points, and so are not affected by the stretch factor. The only parts of that are affected are the convolutions (for and the GEM-4 potential) and the spatial derivatives (for ). In the case of the GEM-4 potential, when considering the specific grand potential arising from (40) for example, and given by (65), the integrals in are proportional to , with additional dependence coming from the GEM-4 potential itself. Therefore,
[TABLE]
where represents the convolution integral evaluated on the unstretched grid, and the integral is also on the unstretched grid. In the case of , Laplacians on the real grid are a factor of times Laplacians on the unstretched grid, so is evaluated accordingly. In both cases, an extra equation () is added to in (94), and this is solved alongside all the other equations. The Jacobian also needs to be evaluated. In practice this made little difference in the cases considered here, and the domain stretch factor largely stayed between and .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Elder et al. (2002) K. R. Elder, M. Katakowski, M. Haataja, and M. Grant, “Modeling elasticity in crystal growth,” Phys. Rev. Lett. 88 , 245701 (2002).
- 2Elder and Grant (2004) K. R. Elder and M. Grant, “Modeling elastic and plastic deformations in nonequilibrium processing using phase field crystals,” Phys. Rev. E 70 , 051605 (2004).
- 3Backofen and Voigt (2010) R. Backofen and A. Voigt, “A phase-field-crystal approach to critical nuclei,” J. Phys.: Condens. Matter 22 , 364104 (2010).
- 4Toth et al. (2010) Gyula I. Toth, Gyoergy Tegze, Tamas Pusztai, Gergely Toth, and Laszlo Granasy, “Polymorphism, crystal nucleation and growth in the phase-field crystal model in 2D and 3D,” J. Phys.: Condens. Matter 22 , 364101 (2010).
- 5Archer et al. (2012) A. J. Archer, M. J. Robbins, U. Thiele, and E. Knobloch, “Solidification fronts in supercooled liquids: How rapid fronts can lead to disordered glassy solids,” Phys. Rev. E 86 , 031603 (2012) . · doi ↗
- 6Berry et al. (2008) J. Berry, K. R. Elder, and M. Grant, “Simulation of an atomistic dynamic field theory for monatomic liquids: Freezing and glass formation,” Phys. Rev. E 77 , 061506 (2008).
- 7Emmerich et al. (2012) Heike Emmerich, Hartmut Löwen, Raphael Wittkowski, Thomas Gruhn, Gyula I. Tóth, György Tegze, and László Gránásy, “Phase-field-crystal models for condensed matter dynamics on atomic length and diffusive time scales: an overview,” Adv. Phys. 61 , 665–743 (2012) . · doi ↗
- 8Boettinger et al. (2002) William J. Boettinger, James A. Warren, Christoph Beckermann, and Alain Karma, “Phase-field simulation of solidification,” Annu. Rev. Mater. Res. 32 , 163–194 (2002).
