A lattice model approach to the morphology formation from ternary mixtures during the evaporation of one component

Stimulated by experimental evidence in the field of solution--born thin films, we study the morphology formation in a three state lattice system subjected to the evaporation of one component. The practical problem that we address is the understanding of the parameters that govern morphology formation from a ternary mixture upon evaporation, as is the case in the fabrication of thin films from solution for organic photovoltaics. We use, as a tool, a generalized version of the Potts and Blume-Capel models in 2D, with the Monte Carlo Kawasaki-Metropolis algorithm, to simulate the phase behaviour of a ternary mixture upon evaporation of one of its components. The components with spin $+1$, $-1$ and $0$ in the Blume-Capel dynamics correspond to the electron--acceptor, electron--donor and solvent molecules, respectively, in a ternary mixture used in the preparation of the active layer films in an organic solar cell. Further, we introduce parameters that account for the relative composition of the mixture, temperature, and interaction between the species in the system. We identify the parameter regions that are prone to facilitate the phase separation. Furthermore, we study qualitatively the types of formed configurations. We show that even a relatively simple model, as the present one, can generate key morphological features, similar to those observed in experiments, which proves the method valuable for the study of complex systems.

components. This is a crucial issue in the morphology formation in solution borne thin films, as for example in the preparation of the active layer in organic photovoltaics. In this specific case, the components of the ternary mixture are usually an electron-donor molecule, an electron-acceptor molecule, and a solvent. This subject is of large interest in the community and is discussed in many experimental and computational [1,2,18,21,25,26,28,30] studies; see also [20] for related work done for stochastic models for competitive growth of phases.
To tackle the problem briefly described above, we need to consider the stochastic version of our spin system and study its non-equilibrium properties. More precisely, we start the system with the initial configuration chosen at random with uniform probability, but with a fixed fraction of the three different spin species. Then we follow the evolution until all (or a vast majority of) the zeroes evaporate. At this point we stop the dynamics and analyze the morphology of the final configuration.
The dynamics will be of the Kawasaki-type [23], namely, nearest neighboring spins will be allowed to exchange their positions according to the Metropolis rule [29]. Moreover, the zeroes in the first row of the lattice will evaporate from the system and will be replaced by a plus or a minus with probability chosen proportionally to the initial fractions. Finally, a parameter called volatility will control the way in which we force upward vertical motion of zeroes. In computing the energy differences associated to possible spin exchanges periodic boundary conditions will be used.
Our study is, to some extent, connected to the spinodal decomposition problem [5]. Indeed, the high temperature initial configuration (uniform random choice of the initial spins), after an abrupt quench, is let to evolve at a low temperature and the phase separation phenomenon is observed. The difference, in our dynamics, is that one species (the zeroes) is let to evaporate from the system. We mention, in passing, that, for the Potts model, the domain growth in the spinodal decomposition regime is not completely understood. The scenario is quite clear for the Glauber dynamics at q = 3, 4, where the standard 1/2 growth exponent is recovered [34], whereas the understanding is still partial for q > 4. We refer to [22] for more details. We were not able to find any reference for the Potts model with conservative dynamics and for the Blume-Capel model. The lattice gas model we consider in this work includes only short range, nearest neighbor-like, interactions and, in this respect, is hence a refined version of the paradigmatic 2D Ising model, which undergoes a phase transition when the temperature falls below a critical temperature computed by Onsager [31].
In spite of its relatively simple microscopic dynamics, our model permits to capture some of the relevant physical features of the thin film evaporation phenomenon that are experimentally accessible. The main results obtained based on our numerical investigations are explained in section 3.

ccmmms-morph˙preprint.tex -29 agosto 2018
The paper is organized as follows: In section 2, we introduce our Blume-Capel like model in the spirit of [14] to describe the evaporation of the solvent in a ternary reactive mixture. We show our main results on the effects of the evaporation on the morphology formation and discuss them in section 3. We conclude the paper with a summary of our results in section 4.

The model
Consider the 2D rectangular torus Λ = {1, . . . , L 1 } × {1, . . . , L 2 } endowed with periodic boundary conditions. An element of Λ is called site. Two sites are said to be nearest neighbors if their Euclidean distance is one. A pair of nearest neighboring sites is called a bond.

ccmmms-morph˙preprint.tex -29 agosto 2018
Stop the dynamics when the total number of zeroes in the system becomes smaller than n 0 (note that the dynamics never stops if n 0 = 0). The dynamics is, in spirit, the Kawasaki dynamics complemented with a Metropolis updating rule, with the addition of the evaporation rule (step ii) of the algorithm) and the forced zeroes vertical motion (step iii) of the algorithm).

Simulation results and discussion
In this section we report our main remarks on the effect of a number of model parameters (including the temperature and the strength of the interactions) on the onset of the phase transitions leading to the strong spatial separation of the two phases. We also investigate the parameter effects on the shape of the obtained morphologies.
We simulate the process when the characteristic time scale of evaporation is close to the characteristic time scale of diffusion. We show a lateral view with the evaporation taking place along the upper boundary, while the bottom and the lateral sides are reflecting. This is motivated by the experimental condition that in a coated layer on a substrate the solvent evaporates through the surface of the thin film.
Unless otherwise specified, we shall fix the initial proportion of the three different species of spins, namely 0, +1, −1, to 40 : 30 : 30. That is, the initial configuration considered in our simulations is the one in which each spin on the lattice is drawn at random from the set {0, +1, −1} with probability, respectively, equal to 0.4, 0.3 and 0.3. Our model contains a number of tunable parameters, that allow one to capture a rich variety of morphologies as a result of the annihilation of the "0" spins (namely, the evaporation).
It seems that the morphology formation is essentially controlled by the temperature and by the strength of the interaction parameter J +1,−1 . If the temperature is high, no phase separation appears. It is worth noting that if β = 0.6 or larger and if a phase separation appears, then this will happen within the interval [0.4, 0.3] of the ratio of residual solvent. It seems that this phenomenon happens for all the investigated interaction parameters. Microstructures and morphologies appear at low temperatures, which, then, signals the likely presence of a phase transition of the kind of those typically met with the 2D Ising model.
The effect of the temperature is well visible in Fig. 3.1, which shows, for three different values of β, the microscopic configurations corresponding to different values of the fraction of solvent (namely, the ratio of the actual number of spins "0" to the total number of spins in Λ). For small values of β (first row of Fig. 3.1) no significant microstructures appear, the resulting configurations resembling the paramagnetic phase observed in the standard 2D Ising model for values of temperatures above the critical one [31]. When the temperature is lowered, a rich microstructure is observed to appear, characterized by two different phases, ccmmms-morph˙preprint.tex -29 agosto 2018 mostly constituted by either spins "+1" or "−1" (represented, respectively, by the blue and the yellow pixels in the figure), and containing a small amount of solvent, displayed in red, dispersed inside the sea of the "+1" or "−1" spins. These features can be seen also in the experimental results in [35], e.g. Remarkably, the chosen set of parameters makes the presence of an interface between the two phases energetically unfavorable: hence, the residual solvent is mainly concentrated along the whirling interface of the blue and yellow regions, acting as a sort of "shield" between the two.
In Fig. 3.2 we explore in more detail the dynamics with β = 0.6 and report the microscopic configurations obtained for values of the fraction of residual solvent between 0.4 and 0.35, in an attempt to capture the moment of phase separation. We observe that, in a relatively short interval of residual solvent, the "+1" and "−1" spins have the tendency to minimize the interface between them by creating larger phases of "+1" or "−1" spins and by "pushing" the "0" spins to the interface between these two phases.
In Fig. 3.3 we attempt to capture the phase separation in a similar way as in Fig. 3.2, but with the initial proportion of the three species being 80 : 10 : 10. Since the initial quantity of solvent is much larger, as compared to the previous case, the diffusion of the solvent require more time. We observe the formation of a depletion zone for the solvent and the formation of phases rich in "+1" and "−1" spins as soon as a critical concentration of "0" spins is reached.
The shielding effect of the solvent is clearly highlighted in Fig. 3.4 (check the rightmost column), in which we tuned the interaction parameter J +1,−1 . This parameter is proportional to the energy cost for forming the interface. In the first row of Fig. 3.4 the parameter J +1,−1 =2 and the interface is rough, hence larger and not "shielded" by the solvent. In the third row we have J +1,−1 =10 and we observe a much smoother interface and the residual solvent positioned at the interface. Figure 3.5 clarifies the effect of introducing a "mismatch" between the coefficients J +1,0 and J −1,0 . As the interaction between +1 spins and the 0 spins is now unfavored, the simulations reveal the onset of a pure phase constituted only by the spins "+1". Remarkably, due to the evaporation and the consequent replacement with spins +1 and −1, such phase is located on the top layer of the lattice and behaves as a sort of "cap", in that it hinders the evaporation of the solvent, thus ultimately slowing down the dynamics. This resembles the wetting layers discussed in [26]. The difference between the system with initial composition 40 : 30 : 30 and 80 : 10 : 10 (second and third rows in Fig. 3.5) is rather quantitative and is determined by the longer time necessary for the system, starting with composition 80 : 10 : 10, to reach the state with 10% residual solvent content and hence allowing the system to reduce the interface more. Due to the asymmetry in the interaction coefficients J +1,0 and J −1,0 , we observe the formation of a large phase of spins +1 (blue), with the residual solvent positioned at the interface and in the phase of −1 spins (yellow). Phase purity was also discussed in [25].
The effect induced by varying the initial proportion between the three species of spins is portrayed in Fig. 3.6, in which, in the first three rows, we fixed the initial amount of solvent and increased (respectively decreased) the amount of spins "+1" (respectively "−1"). In the last row we show the results for the same parameters as the first three rows, but initial composition 80 : 16 : 04, thus ratio of "+1" and "−1" spins comparable with the third row. We observe that the shape of the two phases changes with the initial composition, from interpenetrated fingers to islands of the less abundant phase (yellow) immersed in the abundant phase (blue). A similar situation can be found in experiments such as in [19,36]. We also observe that the size of the islands is larger in the bottom of the pictures, in the regions where the solvent stays longer, allowing the other two species to diffuse laterally and, hence, forming larger phases. This effect is more pronounced in the last row, with initial composition 80 : 16 : 04, where the evaporation of the solvent takes even longer. We also observe a difference in domain sizes between top and bottom of the picture whenever the evaporation of the solvent takes a long enough time.
We also considered different lattice sizes for our model, the results obtained for a square or, rather, a rectangular box are portrayed in Fig. 3.7.
The effect induced by the volatility parameter φ is highlighted in Fig. 3.8. We see here the microscopic configurations obtained for different values of volatility, namely φ=0, φ=0.1 and φ=1 in the first, second and third row, respectively. Remarkably, even small values of volatility give rise to vertical channels, the thickness of the channels decreasing with increasing volatility. For the chosen parameters, the solvent evaporates by diffusing upwards, in the bulk, mainly along the interfaces between the yellow and blue laminar structures. We conjecture that a suitable tuning of this parameter may help to account for the effect of the buoyancy, in presence of gravity.
Finally, Fig. 3.9 illustrates the effect of an unfavorable interaction between the "0" spins and the spins "+1" or "−1". While in the first row, where J +1,0 = J −1,0 = 1, J +1,−1 = 6, the "0" spins acted as a sort of shield between the spins "+1" and "−1", in the second and third rows the situation is somehow reversed: the high energy cost of a spin "0" neighbor to the spins "+1" or "−1" induces an interesting phenomenon of coalescence of the "0" spins, that form a single, large drop immersed in a sea of "+1" or "−1" spins. The difference between the second and the third row is the initial composition, hence the longer time needed for the residual solvent to reach 10%. This results in the formation of a compact layer of residual solvent, rather than individual drops.  Figure 3.9: Effect of strong repulsion between spins "0" and spins "−1" and between spins "0" and spins "+1", as well as weak repulsion between spins "+1" and spins "−1" on the microscopic configurations, for different fractions of residual solvent (same as in Fig. 3 . The blue, yellow and red pixels represent the sites occupied by a "+1", "−1" or "0" spin, respectively.

Conclusions
This work is a first step of a program that aims at describing the morphology observed in thin film evaporation experiments on the basis of lattice gas models that are amenable to an analytical or, typically, a numerical investigation. We showed that even this relatively simple model can be used to understand the influence of the multiple external and internal parameters on the morphology formation in ternary systems upon evaporation of one component. We observed that for low temperatures the phase separation appear for all range of interaction parameters considered. The ratio of the components, the strength of interaction, and the volatility of the solvent influence the shapes of the formed phases.
In future works we plan to consider also the effect of an intermediate, mesoscopic scale of interaction, that is expected to be vastly separated from the microscopic scale (conventionally taken as the unity) corresponding to the distance between two neighboring sites on the lattice, and also from the macroscopic scale describing the length of the box [33]. A promising route points towards the use of Kac interaction potentials, following the analysis traced in [15][16][17]. Also, it is worth investigating the same system in a multiscale perspective, aiming to obtain hierarchical structure formation as shown in Figure 3c in [35]. Finally, it would also be of interest to consider the effect of local heterogeneities in the lattice gas dynamics [7-10] on the characteristic time scales of morphology formation.