Introduction

During solidification of alloys, partitioning of elements leads to the formation of a solute boundary layer in the vicinity of the liquid–solid interface. This paper considers the behavior of alloys, such as industrial nickel-based superalloys, where the density of the solute may be lighter than that of the bulk liquid. This leads to strong buoyancy forces in this solute layer directed back towards the bulk liquid, causing the formation of solute plumes that emanate from the interface. Under certain conditions, the escaping solute can form stable channels, or chimneys, that when fully solidified become a defect known as “freckles”.1,2,3,4 The aim of this work is to investigate the effects of applying a magnetic field on such systems, with the long-term goal of using magnetic fields to tailor the microstructure and control the solute segregation so as to enhance the properties of cast components.

During solidification, inherent thermoelectric currents are formed due to the variation in composition by phase and thermal gradient. These currents interact with an externally applied magnetic field, generating a thermoelectric Lorentz force (TEF) that drives flow through a phenomenon known as thermoelectric magnetohydrodynamics (TEMHD). The TEMHD effect, also known as thermoelectric magnetic convection (TEMC), has been shown to introduce many changes to the microstructure, including macrosegregation5,6,7 that leads to a tilted interface,8 the formation of solute pockets,6,9 banded structures,10 modification to the primary arm spacing,11 and the formation of stray grains in single-crystal castings.12 Most of the cited studies were carried out on alloys where the solute density was higher than in the bulk liquid, hence solute plumes do not spring from the interface; however, similar changes are also observed in systems where the solute is the lighter element.11,12,13 Most of these studies use post mortem analysis of the final solidified structures to investigate the changes in order to understand the associated mechanisms. Dynamic in situ observations can provide further insights into the underlying physics of the process; for example, in previous work, the authors investigated the formation of large-scale channels through a joint experimental and numerical approach, using the analogous Ga-25 wt%In system.14 The current investigation uses a similar approach, but with the addition of a transverse external magnetic field to both the experiment and the numerical predictions.

Experimental Setup

In situ solidification experiments were performed at the Helmholtz-Zentrum Dresden-Rossendorf (HZDR). The solidification setup had already been employed in previous radiographic investigations carried out by means of a microfocus X-ray tube and is described in detail elsewhere.15,16

The nominal composition of the Ga-25 wt%In alloy was prepared from 99.99% Ga and 99.99% In. The alloy was melted and filled into a windowed Hele–Shaw cell with liquid metal dimensions of 30 mm × 30 mm × 0.15 mm (Fig. 1a).

Fig. 1
figure 1

Experimental setup with magnetic field: (a) schematic view of solidification cell aligned to X-ray source, (b) isometric view, and (c) top-down view with calculated magnetic field lines.

A transverse direct-current (DC) magnetic field was generated by two ring-shaped permanent magnets (Nd–Fe-B) with internal intensity of 1.17 T. The inner diameter of the magnet was 10 mm, the outer diameter was 18 mm, and the thickness was 5 mm. An iron core was designed to constrain the magnetic flux to the sample volume. The magnets were fixed onto the iron core and the sample was placed in between, as shown in Fig. 1b. The magnetic field intensity measured by means of a Gauss meter was found to be reasonably homogeneous, varying from 0.18 T at the outer edge of the magnetic system to 0.26 T between the ring magnets and 0.19 T in the center. More details of the magnetic system can be found in Ref.17 A COMSOL Multiphysics V5.2 simulation shows that the direction of the magnetic field is perpendicular to the sample surface, as displayed in Fig. 1c.

The heating/cooling system contained two sets of Peltier units which were in thermal contact with the top and bottom edges of the solidification cell. The synchronized regulation of the power of both Peltier elements, by means of a proportional–integral–derivative (PID) controller unit, allowed for the adjustment of the cooling rate and the temperature gradient during the process. The distance between the heater and the cooler was ~ 23 mm. The temperature difference ΔT between the heater and the cooler was measured using two miniature K-type thermocouples in thermal contact with the outer surface of the cell near the edge of the Peltier elements. The accuracy of the temperature control was ± 0.3 K. The samples were directionally solidified from bottom to top using a temperature gradient of 2 K/mm and cooling rates of 0.01 K/s or 0.005 K/s.

The solidification setup was mounted on a three-axis translation stage between a microfocus X-ray source (XS225D-OEM, Phoenix X-ray, Germany) and an X-ray detector (TH9438HX 9″, Thales, France). The configuration of the ring magnets, which mask part of the observation window, leads to a circular field of view with a diameter of about 5.6 mm (Fig. 1a). Radiographs were captured at a scan rate of 50 half-frames per second, then integrated over a period of 1 s.

The analysis of the solidification front velocity, plume, tip growth, and primary dendritic arm spacing followed the algorithm proposed by Boden et al.18 The concentration profiles were determined from measurements of the local brightness in the images. Composition calibrations were performed by using reference measurements in cells filled with pure liquid Ga and with the Ga-25 wt%In alloy.

Numerical Method

The bespoke numerical code Thermo Electric Solidification Algorithm (TESA) used in this work couples the governing equations for solidification, fluid flow, electromagnetism, and transport of heat and mass. Transient phase change and the partitioning of solute are given by

$$ C_{l} \left( {1 - k} \right)\frac{{\partial \phi_{s} }}{\partial t} = - \nabla \cdot \left( {D_{e} \nabla C_{l} } \right) + \left[ {1 - \left( {1 - k} \right)\phi_{s} } \right]\frac{{\partial C_{l} }}{\partial t} $$
(1)

where \( C_{l} \) is the liquid concentration, \( k \) is the partitioning coefficient, \( D_{e} \) is the mass diffusivity, and \( \phi_{s} \) is the volume solid fraction. Mass transport in terms of concentration is given by

$$ \frac{{\partial C_{e} }}{\partial t} + {\mathbf{u}} \cdot \nabla C_{l} = \nabla \cdot \left( {D_{e} \nabla C_{l} } \right) , $$
(2)

where \( C_{e} = \left( {1 - \phi_{s} } \right)C_{l} + \phi_{s} C_{s} \), \( {\mathbf{u}} \) is the fluid velocity, and \( C_{s} \) is the concentration in the solid. The current density, \( {\mathbf{j}} \), comes from a generalized form of Ohm’s law that includes the thermoelectric field, given by

$$ {\mathbf{j}} = \sigma \left( {{\mathbf{E}} - S\nabla T + {\mathbf{u}} \times {\mathbf{B}}} \right) $$
(3)

where \( \sigma \) is the electrical conductivity, \( {\mathbf{E}} \) is the electric field, S is the Seebeck coefficient, \( \nabla T \) is the thermal gradient, and B is the magnetic field. The fluid flow is governed by the Navier–Stokes equations, given by

$$ \frac{{\partial {\mathbf{u}}}}{\partial t} + {\mathbf{u}} \cdot \nabla {\mathbf{u}} = - \frac{1}{\rho }\nabla p + \nu \nabla^{2} {\mathbf{u}} + {\mathbf{F}}, $$
(4)

where \( \rho \) is the reference density, p is the pressure, \( \nu \) is the kinematic viscosity, and \( {\mathbf{F}} \) is the sum of body forces acting on the fluid, namely the Lorentz force, \( {\mathbf{j}} \times {\mathbf{B}} \), and solutal buoyancy forces giving

$$ {\mathbf{F}} = {\mathbf{j}} \times {\mathbf{B}} + \rho {\mathbf{g}}\left( {\beta_{C} \left( {C_{l} - C_{0} } \right)} \right), $$
(5)

where g is the acceleration due to gravity, \( \beta_{C} \) is the solutal expansion coefficient, and \( C_{0} \) is a reference concentration set to bulk conditions.

TESA consists of four key solvers: a cellular automata (CA) method for solidification19 based on the µMatIC code,20,21,22,23 a lattice Boltzmann method24 for hydrodynamics, and finite difference methods for electromagnetism and the transport equations. TESA25,26 has been validated and applied to various similar systems, including a study of channel formation in Ga-25 wt%In alloy.14 The computational domain is on the scale of the entire experiment, using 3200 × 16 × 3200 cubic cells with length of 10 µm. The boundaries of the domain represent walls with zero velocity and no mass flux, except for the far-field boundary at the top, which is set to fixed pressure and bulk concentration values. In all the numerical cases, \( \nabla T = \) 2 K/mm and the cooling rate is 0.01 K/s. The base of the domain is nucleated with 20 equally spaced seeds with growth orientations aligned along the thermal gradient. This idealized grain structure was selected as the growth orientation has been shown to influence plume formation23 and may dominate over TEMHD-based mechanisms (Table 1).

Table 1 Material property values used for simulation

Results

Using the ring magnet system described above, experiments were conducted on a thin sample of Ga-25 wt%In alloy with in situ X-ray radiography imaging. In contrast to experiments in the absence of a magnetic field, the application of the magnetic field introduced significant microstructural changes. The main feature is preferential growth of secondary arms, caused by TEMHD interdendritic flow. In this case, the flow due to TEMHD in the mushy zone is from right to left, sweeping concentration downstream and creating a growth bias of the secondary arms. A second feature is a modification to the primary arm spacing that has been observed in ex situ experiments11 and can also be attributed to the TEMHD effect. A comparison of the experimental microstructures with and without a magnetic field is shown in Fig. 2. Figure 2a shows the symmetric secondary growth without a magnetic field, while Fig. 2b, c shows preferential growth under a magnetic field, highlighting that TEMHD effects can be observed with differing solidification conditions, in this case cooling rate, hence growth velocity.

Fig. 2
figure 2

Morphology of dendritic structure of directionally solidified Ga-25 wt%In alloy at temperature gradient of 2 K/mm with and without the transverse magnetic field: (a) 0.01 K/s, 0 T; (b) 0.01 K/s, 0.19 T; (c) 0.005 K/s, 0.19 T.

The in situ experiments also revealed an additional phenomenon ahead of the interface, with the lateral migration of the escaping plumes to the left side of the sample. Since buoyancy only acts in the vertical direction, an initial analysis of these results indicated that a pressure bias introduced by TEMHD flow was the primary mechanism underlying the observed phenomenon.17

To provide a clearer explanation of the overall mechanism, TESA was configured to simulate the experimental parameters. Figure 3a, b shows good agreement between the experimental and numerical results, highlighting that plume migration and preferential secondary arm growth are also captured by the numerical model.

Fig. 3
figure 3

Comparison of experiments (a) with numerical calculations (b); individual plumes are numbered and tracked in time at 25-s increments. (a1–a4) Experimental transient migration of plumes. (b1–b4) Numerical transient migration of plumes. (c) Current density. (d) Average x-component of velocity. (e) Average z-component of velocity. (f) Relative pressure.

The thermoelectric currents generally form circulations between the solid and liquid, with a dominant component along the thermal gradient. In this case, Fig. 3c shows current flowing up in the liquid and down in the solid, and with the magnetic field normal to the plane of the sample, the TEF in the liquid points to the left of the sample, driving fluid flow from the right to left, while in the solid the TEF is balanced by elastic structural forces. This leads to transverse flow through the dendritic network, shown in Fig. 3d, which causes preferential growth and macrosegregation. The latter leads to the formation of a stable channel on the side of the sample, fed by TEMHD. A continuous high-velocity stream of high-concentration fluid emanates from the channel, shown in Fig. 3e; this in turn introduces a suction force that manifests as a low-pressure region that extends from the mouth of the channel ahead of the interface as shown in Fig. 3e. This pressure drop not only sucks fluid from inside the channel, but also generates a lateral pressure gradient ahead of the interface, driving a cross flow, and it is this flow which, as predicted by the model, is the main driver of plume migration. Figure 3d shows the strong lateral flow ahead of the interface.

The ring magnets used to apply the external field obscure the field of view in the experiments, preventing a direct comparison with the simulations in the vicinity of the sample walls. Nevertheless, the numerical results also reveal the mechanism for the initiation of plume migration. During the initial solidification of the first 4 mm of the sample, there was no strong evidence of lateral plume migration, although the influence of TEMHD on the microstructure is still evident. This can be seen in Fig. 4a, where both preferential growth of the secondary arms and the formation of a macrosegregation region can be seen. However, towards the bulk, high concentration plumes are relatively evenly distributed across the top of the domain. Once the interface had grown to 8 mm, the migration of plumes became evident and can be seen in Fig. 4b, where the high-concentration regions in the bulk have shifted to the left side of the sample. This contrasts with Fig. 4c, which shows the growth with no magnetic field at a height of 10 mm but exhibits similar behavior to the results in Fig. 4a. The plume migration behavior therefore cannot be explained by the influence of TEMHD alone, as the volumetric TEF would be similar at both interface heights. Furthermore, the current density is localized to the mushy zone, thus the TEF is also localized and diminishes far from the interface as shown in Fig. 3c. However, the initiation of the plume migration coincided with the formation of a stable channel on the left side of the sample. After this had formed, the plumes continuously migrated across the interface as a consequence of continuity.

Fig. 4
figure 4

Simulation of early stages of growth with and without magnetic field: (a) 4 mm growth and |B| = 0.2 T, (b) 8 mm growth and |B| = 0.2 T (circle indicates experimental FOV), and c 10 mm growth and |B| = 0.

To summarize, plume migration is caused by macrosegregation at the sample wall from TEMHD, which in turn forms a stable channel that then creates a suction force across the interface. This also explains why there is a delay in the numerical model before the onset of plume migration. There is a critical interface height for a stable channel to form,3,4,14,27 which is a consequence of the required mass flux from the interdendritic region feeding the mass flux exiting the channel. As the interface height increases through solidification, the cross-sectional area of the interdendritic region increases until TEMHD flow can sustain a stable channel.

The model also predicts significant microstructural changes. As discussed above, preferential growth of the secondary arms due to incident TEMHD flow was observed in the experiments and predicted in the model. The model shows that, in the downstream direction, toward the channel, there is significant remelting and regrowth, and the formation of large pockets of high-concentration liquid. Such pockets have been observed experimentally with the application of a magnetic field.6,9 Upstream, on the right side of the sample, bulk flow is incident to the interface to preserve continuity of mass from TEMHD driving interdendritic flow. This flow encourages growth, causing coarsening as the low-concentration liquid passes through the interdendritic network. This can be seen in the results as a low-concentration region of tightly packed dendrites in Fig. 3b. The primary arm spacing varies across the domain from the smallest on the right side with incident bulk flow and increasing toward the left side with the channel. These predictions are consistent with ex situ findings in literature,11 but this work highlights how capturing the in situ dynamics both experimentally and computationally can reveal the underlying dynamics.

Conclusion

The effects of applying a 0.2-T transverse magnetic field to a solidifying Ga-25 wt%In alloy were investigated through a joint experimental and numerical study. The magnetic field introduced several significant changes to both the microstructure and the dynamics of escaping high-concentration Ga plumes. The microstructure exhibited preferential growth of the secondary arms, modification to the primary arm spacing, coarsening on one side of the sample, and the formation of pockets or bands through remelting and resolidification on the other. These effects can all be attributed to TEMHD flow. TEMHD also introduced macrosegregation that led to the formation of a stable channel downstream of the flow. This in turn was shown to introduce a secondary hydrodynamic phenomenon that led to the migration of plumes across the interface. Some of these phenomena could not be directly observed as they were obscured by the magnetic rig. However, an excellent match between the experimental observations and numerical predictions was found in the region where observations could be taken. This gives a high confidence in the predictive power of the model presented, opening new avenues of investigation on how magnetic fields can be used to beneficially control the microstructural evolution of related alloys such as nickel-based superalloys. Further investigation, to apply a magnetic field without obscuring the field of view of the sample, would be a worthwhile exercise, to capture both the microscopic and macroscopic dynamics.

Although the magnetic field was relatively homogeneous in the center of the sample, there are larger variations towards the edges and outside the outer diameter of the magnet. These magnetic field variations would lead to a spatial variation in the Lorentz force within the mushy zone. This would lead to variations in pressure gradient to balance this force, but with the Lorentz force still oriented in the same direction there would still be a net transport of solute as predicted by the current simulations. To obtain a better match between the experimental and numerical results, these magnetic field variations could also be included in future work.

The primary arm spacing in the model is larger than those in the experiments and may be a consequence of the idealized orientation used. It is not immediately clear whether this is a numerical artifact. Numerical methods can suffer from grid anisotropy, which could explain this, however with the dendrites orientated along the thermal gradient, the flow effect of preferential secondary growth would also be at a maximum. Thus, a competition between primary arms and secondary arms would take place and, with conditions favorable for secondaries, would lead to an effective increase in the primary arm spacing. Therefore, there are still many interesting avenues to explore for investigating the combined interaction of grain orientation, TEMHD, and channel formation.