Keywords

Introduction

There is increasing importance to be able to simulate and/or predict the properties of materials in order to expedite production and also to decrease costs. If one were to know, in advance, the microstructure or material properties via some form of model, then production processes could be streamlined. Thus, a decrease in overall production costs can be achieved. As such, a “digital twin” or computer model is an invaluable tool for modern alloy development. As one of the most commonly used magnesium alloys, AZ91 is an ideal selection to produce a model. A common practice which can help to modify the microstructures of cast materials such as Mg alloys is quenching. Changing the cooling rates of a material via quenching has been used to affect a number of microstructural features such as grain size, interdendritic arm spacing, concentration of solute in solid solution, etc. [1, 2]. By selecting four different quenching media with different cooling rates such as air, 20 ℃ water, 5 ℃ water and liquid nitrogen (LN2) differences in the microstructure of AZ91 are expected. The AZ91 alloys are quenched immediately following casting. To generate a digital twin of the microstructure, the phase-field method has been employed. In computational materials science, this method is notably a versatile technique for simulating microstructure or interfacial evolution at the microscale. Steinbach et al. [3] pioneered such work and proposed the multi phase-field approach to capture the complete physics behind solidification and related phenomena for an arbitrary number of phases. The idea revolves around tracking the interface in space x and time t, and is represented quantitatively by the phase-field variable \( \phi \left( {x,t} \right) \). This variable refers to the local phase fraction of a phase in N phase system and is defined in the range of \( 0 \le \phi \le 1 \), where 0 and 1 point to either existence or non-existence of any representative phase while values between 0 and 1 correspond to the diffused nature of the interface between phases. The phase-field variables are constrained in such a way that the sum is unity, i.e.,

$$ \mathop \sum \limits_{\alpha = 1}^{N} \phi_{\alpha } = 1 $$
(1)

This allows easy identification of all interfacial and bulk contributions. In general, the multi phase-field model introduces the total free energy density F given as:

$$ F = \mathop \smallint \limits_{\Omega } \left( {f^{\text{chem}} + f^{\text{int}} + f^{\text{mech}} + \cdots } \right){\text{d}}\Omega $$
(2)

F can be obtained as an integral sum of chemical free energy density \( f^{\text{chem}} \), interfacial free energy density \( f^{\text{int}} \) and mechanical free energy density \( f^{\text{mech}} \) over the domain \( \Omega \). The first two hold vital importance for simulating solidification or growth process and other free energies like mechanical, magnetic, electrical, etc. can be added for more detailed studies. The \( f^{\text{chem}} \) and \( f^{\text{int}} \) are given as

$$ f^{\text{chem}} = \mathop \sum \limits_{\alpha = 1}^{N} \phi_{\alpha } f_{\alpha } \left( {c_{\alpha } } \right) + \mathop \sum \limits_{i = 1}^{{n_{i} }} \mu^{i} \left[ {c^{i} - \mathop \sum \limits_{\alpha = 1}^{N} \left( {\phi_{\alpha } c_{\alpha }^{i} } \right)} \right] $$
(3)
$$ f^{\text{int}} = \mathop \sum \limits_{\alpha = 1,\beta \ne \alpha }^{N} \frac{{4\sigma_{\alpha \beta } }}{\eta }\left\{ { - \frac{{\eta^{2} }}{{\pi^{2} }}\nabla \phi_{\alpha } \cdot \nabla \phi_{\beta } + \phi_{\alpha } \phi_{\beta } } \right\} $$
(4)

where \( \phi_{\alpha } \) (or \( \phi_{\beta } \)) is the phase-field variable of phase \( \alpha \) (or \( \beta \)), \( f_{\alpha } \left( {c_{\alpha } } \right) \) is the chemical-free energy of phase \( \alpha \), \( \mu^{i} \) is the chemical potential, \( c^{i} \) is the total concentration of component i, \( c_{\alpha }^{i} \) is the concentration of component i in phase \( \alpha \) and \( n^{i} \) is the number of components in the system. In \( f^{\text{int}} \), \( \sigma_{\alpha \beta } \) is the interfacial energy between phases α and β, and \( \eta \) is the interface width. Each contribution depends on various state variables passed initially as an input parameter. Substituting Eqs. 3 and 4 in Eq. 2, the kinetics of phase evolution can be written as

$$ \dot{\phi }_{\alpha } = \mathop \sum \limits_{\alpha \ne \beta }^{N} M_{\alpha \beta } \left[ {\frac{\delta F}{{\delta \phi_{\beta } }} - \frac{\delta F}{{\delta \phi_{\alpha } }}} \right] $$
(5)

where \( M_{\alpha \beta } \) is the phase-field mobility. The kinetics of diffusion of each component i is given as

$$ \dot{c}^{i} = \nabla \cdot \left( {D^{i} \nabla c^{i} } \right) $$
(6)

here \( D^{i} \) is the diffusion coefficient of component i. The evolution of phase-field and concentration tracks the microstructural changes for a given set of parameters.

Experimental Methods

The alloys were cast by permanent mould indirect chill casting, described in greater detail in [4]. The composition was measured via Spark-Optical Emission Spectroscopy using an Ametek-Spectro Spectrolab M9. AZ91 ingots were quenched in air, 20 ℃ water, 5 ℃ water or liquid nitrogen from an initial temperature of approximately 700 ℃. The AZ91 alloys were ground and polished using standard metallography sample preparation techniques for microstructural investigations. In order to record polarised optical micrographs of the different samples, each sample was etched in an acetic acid, picric acid, and ethanol solution for approximately 2 s. Optical micrographs are recorded for each of the quenched samples using a Leica DMLM optical microscope using polarised light. Grain size measurements were obtained using the linear intercept method. Grain size measurements were measured from three regions from each sample and averaged to obtain grain size statistics. A TESCAN Vega3 Scanning Electron Microscope (SEM) in backscattered electron (BSE) mode was used to investigate changes to the microstructure and for qualitative compositional analysis via energy-dispersive X-ray spectroscopy (EDXS). Intermetallic area fraction measurements were obtained from five regions per quenched sample. SEM micrographs of those regions were converted to binary contrast images and ImageJ software was used to determine the area fraction of intermetallic. To produce a digital twin, simulations were performed for Mg–9Al–1Zn (wt%) in 2D (500 µm × 1 µm × 500 µm) in a coupled environment of two commercial tools Themo-Calc (TQ interface) and MICRESS. As given in Eq. 1, only chemical and interfacial contributions were taken into consideration. The chemical part is responsible for the thermodynamics which is provided by Thermo-Calc on the basis of Gibbs energy data using the CALPHAD methodology [5]. On the other hand, the interfacial part takes care of how interfaces of similar and different phases behave and also controls the morphology of grains. A number of processing, material and numerical parameters needed to be initialized for setting up the model. The type of coupling in MICRESS was set to “concentration” in which the phase-field is coupled with the concentration field, and diffusion and solute partitioning are evaluated. An automatic time stepping criteria was chosen with grid spacing of 1 µm and interface width of 4 µm. In the present simulations, heterogeneous nucleation was achieved using the seed density model, i.e., allowing seeds of various radii to nucleate if the critical undercooling permits, to have an equiaxed microstructure. The model required a predefined density-radius distribution of grains and was only applied to α-Mg, while Mg17Al12 was set to precipitate in the interfacial regions. The temperature model with heat extraction rate as an input parameter was selected for equiaxed growth. The different cooling conditions in simulations were implemented by varying the heat extraction rate \( \dot{h} \), i.e., high value of \( \dot{h} \) refers to high cooling rate. The extraction rates implemented in this study were \( \dot{h} = 5, 15, 25 \) and \( 35\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). The model assumes homogenous temperature, with no temperature gradients, which is approximated from the mean values of heat extraction rate and specific heat over the whole domain. The thermodynamic data, i.e., nucleation undercooling, driving force, solute partitioning, diffusion coefficient/matrix, etc., are communicated by the TQ interface which is then used by the phase-field and diffusion solvers of MICRESS. The pairwise interfacial energies of phases and anisotropy parameters to exhibit hexagonal anisotropy of liquid/α-Mg interface were adopted from the existing literature [6]. Other simulation specific numerical parameters were calibrated according to instructions mentioned in the software’s manual [7]. In general, the TQ interface and four MICRESS models namely: nucleation, multi phase-field, diffusion and temperature work side by side to yield the microstructure. The simulation starts with a pure liquid phase followed by the nucleation α-Mg and afterwards with Mg17Al12 in the interdendritic regions. The simulation ends as soon as the solid fraction reaches 100%.

Results and Discussion

The composition of each AZ91 casting quenched in air, 20 ℃ water, 5 ℃ water or LN2 is given in Table 1. In general, each casting of AZ91 has a comparable composition with the exception of the casting used to quench in 5 ℃ water. This casting has approximately 1 wt% more Al in comparison to the other 3 alloys cast as a result of it being the final ingot cast. This may explain, in combination with a possible higher amount of oxide (owing to it being the final casting) the greater amount of voids and inclusions present as shown in Fig. 1g. However, the compositional range of the castings given in Table 1 all still falls within the accepted margins for AZ91 alloys. Additionally, there is still sufficient surface area from AZ91 quenched in 5 ℃ water to perform unimpeded microstructural analysis.

Table 1 Compositional measurements via Spark-Optical Emission Spectroscopy for each casting of AZ91 ingot
Fig. 1
figure 1

Polarised light optical micrographs of AZ91 quenched in ab air, cd liquid nitrogen, ef 20 ℃ water and gh 5 ℃ water

In Fig. 1, the influence of different cooling rates on the microstructure, in terms of grain size and interdendritic arm spacing is apparent. It is interesting to note, however, that the grain size does not decrease proportionally with respect to the temperature of the quenching media.

The AZ91 castings left to cool in air have the largest grains and the greater interdendritic arm spacing Fig. 1a–b. It would be understandable if one would then expect the 20 ℃ water quenched AZ91 sample to have the next largest grain size since this is the next “warmest” quenching media. Table 2 shows quite the opposite. The AZ91 sample quenched in LN2 (the coldest quenching medium selected, −196 ℃) has the next largest average grain size. This is due to the Leidenfrost effect [8] which occurs when an object that is significantly hotter (in this case approximately 700 ℃) than the boiling point of the liquid (in this case −196 ℃) come in contact. An insulating vapour is produced around the AZ91 casting, which prevents the LN2 from rapidly quenching the material. Thus, the expected rapid cooling properties of the LN2 are significantly reduced. Furthermore, from Table 2, both water at 20 ℃ and water at 5 ℃ are shown to be more effective quenching media with regards to average grain size reduction. The average grain size of AZ91 quenched in 5 ℃ water is approximately 25% of the size of grains in AZ91 quenched in air (Table 2).

Table 2 Average grain sizes of AZ91 quenched in different media following casting
Table 3 EDXS point scan measurements of x1 and x2 of AZ91 air quenched intermetallics shown in Fig. 2a

The different cooling rates also have an influence on the intermetallic morphology and area fraction. Figure 2 shows micrographs of the AZ91 alloys following their respective quenching. The air quenched alloy (Fig. 2a) is composed of α-Mg, a continuous β phase, Mg17Al12 and an Al–Mn rich phase [9] (which appears brighter in the SEM micrographs).

Fig. 2
figure 2

Backscattered electron SEM micrographs of AZ91 quenched in a air, b liquid nitrogen, c 20 ℃ water and d 5 ℃ water. Note in a x1 and x2 are EDXS point measurements given in Table 3

The morphology of the intermetallic changes in the LN2 quenched alloy from continuous to a eutectic morphology composed of β phase and α-eutectic, Fig. 2b. This structure is maintained in the 20 and 5 ℃ water quenched AZ91 alloys but with a lower area fraction of intermetallic. This is due to the greater amounts of solute remaining in solid solution as a result of the more rapid cooling rates [10]. Table 4 shows the decrease in intermetallic area fraction from the air quenched alloy (7.3 ± 1.8% intermetallic) to the LN2 and water quenched alloys (<5% intermetallic).

Table 4 Average area fraction of intermetallic particles of AZ91 quenched in different media

Digital twins generated by the phase-field model are used to comprehend the underlying physics behind solidification phenomena. Figure 3 depicts the four simulated microstructures with \( \dot{h} = 5, 15, 25 \) and \( 35\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). It is evident that the increasing cooling rate leads to small (or fine) grains. The grain size from the experiments appears to be exceptionally large as compared to simulations. The grain size of these twins is sensitive to parameters such as the inoculant’s initial size, density, critical undercooling, shielding distance, etc. Absence of these physical parameters for nucleation makes it challenging to achieve such large grain sizes. In this regard, the simulated microstructures, in which final grain size is sensitive to the density and size of initially precipitated grains, can only be seen in terms of qualitative comparison with the experiments.

Fig. 3
figure 3

Simulated microstructures with varying cooling conditions; a \( \dot{h} = 5\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \), b \( \dot{h} = 15\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \), c \( \dot{h} = 25\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \) and d \( \dot{h} = 35\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). Note in a x3 is virtual EDXS line measurement given in Fig. 4

One can also notice that the increasing heat extraction rate affects the morphology. The grains prefer to exhibit dendritic morphology rather than globular for higher values of \( \dot{h} \). Furthermore, the grain refining effect is more pronounced as \( \dot{h} \) changes from \( 5 \) to \( 25\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). The twins are more sensitive to changes with lower values of \( \dot{h} \) than higher values, as no effective change in grain size can be observed for \( 25 \) to \( 35\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). Similar observations of grain size have been reported elsewhere in the benchmark studies of technical magnesium alloys [6].

Figure 4 represents the virtual EDXS of line x3 for microstructure \( \dot{h} = 5\,{\text{J}}/{\text{cm}}^{3} \,{\text{s}} \). The concentrations of Al and Zn in the interdendritic region are similar to the one observed in experiments. The phase-field method has predicted the correct concentrations of alloying elements. It benefits in capturing the concentration kinetics/maps and can lead to insight knowledge of phenomena like solute pile-up or segregation in cases where slow diffusing elements, e.g., Mn, are involved [11]. Since simulations are performed for a ternary system, i.e., Mg, Al, and Zn, a slight difference between the experimental and modelled concentrations is possibly caused by the absence of elements which are present in the casting.

Fig. 4
figure 4

Virtual EDXS line scan of the region marked as x3 in Fig. 3a

Conclusions

AZ91 cast alloys were quenched in air, 20 ℃ water, 5 ℃ water or liquid nitrogen immediately following casting. The alloy microstructures were investigated via optical and scanning electron microscopy. The AZ91 alloy left to cool in air (air quenched) had the largest average grain size. As a result of the Leidenfrost effect, the AZ91 quenched in liquid nitrogen had the next largest grain size then followed by the 20 and 5 ℃ water quenched alloys.

On the other hand, the phase-field simulation results are in accordance with the experiments to an extent that the varying cooling conditions yield different grain sizes. The modelled concentrations in the interdendritic region also comply with the EDXS measurement. Simulated digital twins have smaller grains as compared to the experiments due to lack of nucleation parameters. However, these twins as a preliminary attempt potentially fulfil the purpose of a qualitative comparison with the experiments and reveal a better understanding of physics behind solidification.