In my master’s thesis research, I have focused on the numerical simulation of the solidification process in a sand casting foundry environment. The primary objective is to predict common casting defects such as shrinkage cavities, deformation, and hot tearing by accurately modeling the temperature field evolution and its coupling with thermal stress. This work integrates modern computational tools, specifically large-scale finite element software platforms, to build a complete computer-aided engineering (CAE) procedure for sand casting foundry applications. In this article, I present the methodology, mathematical models, numerical techniques, and a practical application to a hammer head casting, demonstrating that simulation results closely match actual production outcomes.
1. Introduction
Sand casting has remained one of the most widely used manufacturing processes in the world. In a conventional sand casting foundry, molten metal is poured into a sand mold, where it solidifies and cools. The quality of the final casting depends strongly on the solidification history, including heat transfer, phase change, fluid flow, and stress generation. For decades, foundry engineers have relied on trial-and-error methods and empirical rules to design gating, risers, and chills. However, the increasing complexity of castings and the demand for higher quality have motivated the development of numerical simulation techniques that can predict solidification behavior and defects before actual production.
The numerical simulation of casting solidification involves solving transient heat conduction equations in a geometrically complex domain consisting of the casting, the sand mold, and sometimes chills or cores. Finite difference methods have been traditionally used due to their simplicity, but finite element methods offer greater flexibility in handling complex geometries and boundary conditions. In this work, I adopt the finite element method as the basis for temperature field simulation, which also facilitates the subsequent thermal stress analysis.
The main research contents are as follows: first, I establish a mathematical model for the solidification temperature field considering temperature-dependent thermophysical properties, various boundary conditions, and latent heat release. Second, I implement the model using a commercial finite element software platform to simulate the three-dimensional temperature distribution during solidification. Third, based on the temperature field results, I apply several criteria to predict shrinkage cavities and porosity. Fourth, I couple the temperature field with a thermo-elasto-plastic stress analysis to predict hot tearing and permanent deformation. Finally, I demonstrate the complete procedure on a hammer head casting produced in a sand casting foundry.
Figure 1 illustrates a typical sand casting foundry setup, where the mold and pouring system are crucial for controlling solidification.

2. Heat Transfer Fundamentals and Finite Element Method
2.1 Basic Modes of Heat Transfer
Heat transfer in the casting system occurs by three mechanisms: conduction, convection, and radiation. In a sand casting foundry, conduction is dominant through the mold and casting, while convection and radiation play important roles at the mold outer surface and in the air gap between the casting and the mold. The fundamental law of heat conduction is Fourier’s law, which states that the heat flux vector is proportional to the temperature gradient:
$$ q = -\lambda \nabla T $$
where \( q \) is the heat flux density, \( \lambda \) is the thermal conductivity, and \( \nabla T \) is the temperature gradient. In one-dimensional form with coordinate \( x \), we have:
$$ q = -\lambda \frac{\partial T}{\partial x} $$
Convective heat transfer at a solid-fluid interface is described by Newton’s law of cooling:
$$ q_c = h (T_s – T_\infty) $$
where \( h \) is the convective heat transfer coefficient, \( T_s \) is the surface temperature, and \( T_\infty \) is the ambient temperature. Radiation heat transfer obeys the Stefan-Boltzmann law:
$$ q_r = \varepsilon \sigma (T_s^4 – T_{surr}^4) $$
where \( \varepsilon \) is the emissivity and \( \sigma \) is the Stefan-Boltzmann constant. In most casting simulations, radiation is either neglected or linearized to the form of a convective boundary condition to simplify numerical treatment.
2.2 Heat Conduction Equation
For a three-dimensional transient temperature field \( T(x,y,z,t) \), the governing equation is the Fourier heat conduction equation with internal heat generation:
$$ \rho c_p \frac{\partial T}{\partial t} = \frac{\partial}{\partial x}\left(k_x \frac{\partial T}{\partial x}\right) + \frac{\partial}{\partial y}\left(k_y \frac{\partial T}{\partial y}\right) + \frac{\partial}{\partial z}\left(k_z \frac{\partial T}{\partial z}\right) + \dot{Q} $$
where \( \rho \) is density, \( c_p \) is specific heat, \( k_x, k_y, k_z \) are thermal conductivities in the coordinate directions, and \( \dot{Q} \) is the internal heat generation rate per unit volume. During solidification, latent heat is released, which acts as an additional heat source term. In a two-dimensional simplification, the equation becomes:
$$ \rho c_p \frac{\partial T}{\partial t} = \frac{\partial}{\partial x}\left(k_x \frac{\partial T}{\partial x}\right) + \frac{\partial}{\partial y}\left(k_y \frac{\partial T}{\partial y}\right) + \dot{Q} $$
For steady-state problems, the time derivative vanishes, yielding the steady heat conduction equation.
2.3 Boundary Conditions
The solution of the heat conduction equation requires appropriate initial and boundary conditions. In casting solidification, the following boundary conditions are typically encountered:
First kind (Dirichlet): prescribed temperature on the boundary:
$$ T = T_0 \quad \text{on} \quad \Gamma_1 $$
Second kind (Neumann): prescribed heat flux normal to the boundary:
$$ -k \frac{\partial T}{\partial n} = q_s \quad \text{on} \quad \Gamma_2 $$
where \( q_s \) is the given heat flux. When \( q_s = 0 \), it is an adiabatic boundary.
Third kind (Robin): convective heat transfer condition:
$$ -k \frac{\partial T}{\partial n} = h (T – T_\infty) \quad \text{on} \quad \Gamma_3 $$
In addition, there may be a contact resistance at the casting-mold interface, which can be expressed as a similar condition with an interface heat transfer coefficient.
2.4 Finite Element Formulation
The finite element method (FEM) is particularly suitable for modeling complex casting geometries. The domain is divided into a finite number of elements, and within each element the temperature is interpolated using nodal values:
$$ T(x,y,z,t) = \sum_{i=1}^{n} N_i(x,y,z) T_i(t) = \mathbf{N}^T \mathbf{T} $$
where \( N_i \) are shape functions and \( T_i \) are nodal temperatures. The Galerkin weighted residual method can be applied to the heat conduction equation to obtain the discrete system of ordinary differential equations:
$$ \mathbf{C} \dot{\mathbf{T}} + \mathbf{K} \mathbf{T} = \mathbf{F} $$
where \( \mathbf{C} \) is the heat capacity matrix, \( \mathbf{K} \) is the heat conduction matrix, \( \mathbf{F} \) is the heat load vector, \( \mathbf{T} \) is the nodal temperature vector, and \( \dot{\mathbf{T}} \) is the time derivative. The global matrices are assembled from element contributions. For a quadratic triangular element, the element matrices are computed by integrating the shape function gradients over the element domain.
For transient problems, a time-stepping scheme such as the Crank-Nicolson method or the backward Euler method is used to advance the solution. The resulting algebraic equations are solved iteratively to obtain the temperature history at every node.
3. Numerical Simulation of Solidification Temperature Field
3.1 Temperature-Dependent Material Properties
In a sand casting foundry, the thermophysical properties of the casting alloy and the mold material vary significantly with temperature. For example, the thermal conductivity and specific heat of steel change as the temperature rises from ambient to the pouring temperature. It is essential to account for this variation to achieve accurate temperature predictions. Table 1 shows typical thermophysical properties of cast steel and silica sand used in my simulation.
| Material | Property | Value | Unit |
|---|---|---|---|
| Cast steel | Thermal conductivity | 30-40 | W/(m·K) |
| Specific heat | 500-700 | J/(kg·K) | |
| Density | 7800 | kg/m³ | |
| Liquidus temperature | 1520 | °C | |
| Solidus temperature | 1450 | °C | |
| Latent heat | 270,000 | J/kg | |
| Silica sand mold | Thermal conductivity | 0.6-1.0 | W/(m·K) |
| Specific heat | 800-1100 | J/(kg·K) | |
| Density | 1500-1700 | kg/m³ |
Because the temperature range during solidification is large, I treated the material properties as functions of temperature. For simplicity, piecewise linear interpolation was used based on published data. The density is often assumed constant, except for shrinkage calculations.
3.2 Boundary Conditions and Heat Transfer Coefficients
The heat transfer at the casting-mold interface is a critical factor in a sand casting foundry. As the casting solidifies and contracts, an air gap may form between the casting surface and the mold wall, which reduces the heat transfer coefficient. Table 2 summarizes typical values of interface heat transfer coefficients used in my simulations.
| Interface | Condition | Heat transfer coefficient (W/(m²·K)) |
|---|---|---|
| Casting-mold | Tight contact (no gap) | 500-1000 |
| Casting-mold | With air gap | 100-200 |
| Mold-ambient | Natural convection | 10-50 |
| Mold-ambient | With radiative contribution | 20-80 |
The outer surface of the sand mold was assigned a convective boundary condition with a heat transfer coefficient of about 20 W/(m²·K) and an ambient temperature of 25°C. The initial mold temperature was set to 25°C, and the initial pouring temperature of the steel was 1560°C.
3.3 Latent Heat Treatment
Latent heat release during solidification significantly affects the cooling rate and thermal gradients. Three common methods are used to account for latent heat in the energy equation:
Temperature recovery method: suitable for pure metals or eutectic alloys with a constant solidification temperature. The heat released is used to raise the temperature of the cell that has reached the melting point.
Equivalent specific heat method: The latent heat is incorporated into an enhanced specific heat within the freezing range:
$$ c_{eq} = c_p + \frac{L}{T_L – T_S} $$
where \( L \) is the latent heat, \( T_L \) and \( T_S \) are liquidus and solidus temperatures respectively.
Enthalpy method: This method is general and works for alloys with a wide freezing range. The enthalpy \( H \) is defined as the integral of the heat capacity including latent heat:
$$ H = \int_{T_0}^{T} c_p(T) dT + L (1 – f_s) $$
where \( f_s \) is the solid fraction. The heat conduction equation can be written in terms of enthalpy:
$$ \rho \frac{\partial H}{\partial t} = \nabla \cdot (k \nabla T) $$
The enthalpy method is numerically robust and avoids the discontinuities associated with the equivalent specific heat. In my simulation, I selected the enthalpy method because the hammer head casting is made of cast steel, which has a substantial freezing range.
To verify the effectiveness of the enthalpy treatment, I performed a simple one-dimensional test. Figure 2 compares the cooling curves with and without latent heat treatment. The temperature plateau observed in the enthalpy-treated curve clearly represents the release of latent heat. This validation confirms that the enthalpy method correctly captures the solidification behavior.
3.4 Model Geometry and Meshing
The hammer head casting used in this study is a typical wear-resistant component produced in a sand casting foundry. Its geometry consists of a thick central section and two tapered ends, creating a hot spot at the center. I created a three-dimensional solid model of the casting and the sand mold, and then discretized them using tetrahedral elements. The finite element mesh included about 150,000 nodes for the casting and 250,000 nodes for the mold. Table 3 lists the mesh statistics.
| Component | Element type | Number of elements | Number of nodes |
|---|---|---|---|
| Casting | Tetrahedral | 350,000 | 150,000 |
| Sand mold | Tetrahedral | 500,000 | 250,000 |
To reduce computational cost without sacrificing accuracy, I used a finer mesh in the casting and a coarser mesh in the mold. The boundary between the casting and mold was aligned to properly apply the interface heat transfer condition.
4. Prediction of Shrinkage Cavities and Porosity
4.1 Formation Mechanisms
Shrinkage defects are caused by the volume contraction of the metal during solidification. As the liquid cools and solidifies, the volume decreases. If adequate liquid metal is not available to compensate for this contraction, cavities form at the last solidifying regions. In a sand casting foundry, risers are designed to feed liquid metal to the casting. However, if the feeding path is blocked or the freezing pattern is unfavorable, shrinkage porosity becomes inevitable.
There are several types of shrinkage defects: primary pipe (conical cavity), secondary shrinkage cavity, macro-porosity, and micro-porosity. The primary pipe forms at the riser or the last free surface, while internal cavities are often caused by insufficient feeding through the dendritic network.
4.2 Prediction Criteria
I applied several criteria to predict shrinkage defects based on the calculated temperature field. The most widely used methods are outlined below.
Isothermal curve method: This method is based on the principle of directional solidification. If the isotherms form a closed loop around a region, that region is likely to be isolated from the riser and will shrink. Practically, after calculating the temperature field, I plot the solidus temperature contour. A closed loop of the solidus isotherm indicates a potential shrinkage cavity.
Temperature gradient method: This method evaluates the thermal gradient at the final stage of solidification. The temperature gradient \( G \) is defined as:
$$ G = \frac{T_i – T_j}{d_{ij}} $$
where \( T_i \) is the temperature of the current node, \( T_j \) is the temperature of the adjacent node, and \( d_{ij} \) is the distance between them. The maximum positive gradient from the node to its neighbors is taken as the local thermal gradient. If this gradient is lower than a critical value \( G_{cr} \), shrinkage porosity is expected. The critical gradient depends on the alloy and casting geometry; typical values for cast steel in sand casting foundry practice are given in Table 4.
| Alloy | Casting shape | Critical gradient (°C/cm) |
|---|---|---|
| Steel | Bars and plates | 3-5 |
| Steel | Complex castings | 5-10 |
| Bronze | Bars | 2-3 |
Niyama method: A common dimensionless parameter for steel castings is defined as:
$$ N = \frac{G}{\sqrt{\dot{T}}} $$
where \( G \) is the thermal gradient and \( \dot{T} \) is the local cooling rate. A value of \( N \) below a critical threshold (around 0.1 for steel) indicates shrinkage porosity. This criterion accounts for the effect of cooling rate on feeding resistance.
Feed path length method: This is based on the concept that liquid metal can only be fed over a certain distance. If the required feeding distance exceeds the possible feeding distance, defects occur.
In my work, I mainly utilized the isothermal curve method and the temperature gradient method because they are straightforward to implement and provide intuitive results.
4.3 Results for Hammer Head Casting
After simulating the solidification of the hammer head casting, I extracted the temperature field at several time steps. Figure 3 shows the isothermal contours at the central cross-section when the casting surface temperature has dropped to the solidus. A closed loop can be observed near the center of the thick section, indicating that this region is isolated from the riser. The temperature gradient at the center was calculated to be about 1.8 °C/cm, which is below the critical value for steel castings. Therefore, I predicted that a significant shrinkage cavity would form in the central region. The predicted defect location and shape were consistent with the actual defects observed in trial castings produced without modified gating.
5. Coupled Thermal-Stress Simulation for Hot Tearing and Deformation
5.1 Hot Tearing Mechanism
Hot tearing is a severe defect that occurs during solidification when the partially solidified casting cannot accommodate the thermally induced strains. It usually appears in the mushy zone near the solidus temperature, where the dendrites are surrounded by a thin liquid film. If the contraction of the casting is restrained by the mold or by internal geometric constraints, tensile stresses develop. When these stresses exceed the weak strength of the liquid film, cracks form. Factors affecting hot tearing include alloy composition, casting geometry, mold restraint, pouring temperature, and solidification rate.
5.2 Thermal Stress and Deformation Model
To predict hot tearing and distortion, I performed a coupled thermal-stress analysis. The temperature history from the solidification simulation was used as a thermal load for the stress analysis. The constitutive model accounts for elastic, plastic, and thermal strain increments. In the elastic region, the stress-strain relation is given by:
$$ \Delta \boldsymbol{\sigma} = \mathbf{D} \, (\Delta \boldsymbol{\varepsilon} – \Delta \boldsymbol{\varepsilon}_{th}) $$
where \( \mathbf{D} \) is the elastic stiffness matrix, \( \Delta \boldsymbol{\varepsilon} \) is the total strain increment, and \( \Delta \boldsymbol{\varepsilon}_{th} \) is the thermal strain increment:
$$ \Delta \boldsymbol{\varepsilon}_{th} = \alpha \, \Delta T \, \boldsymbol{1} $$
with \( \alpha \) being the thermal expansion coefficient and \( \boldsymbol{1} \) the identity vector.
For plastic behavior, the yield criterion and flow rule are applied. The plastic strain increment is given by:
$$ \Delta \boldsymbol{\varepsilon}_p = \lambda \frac{\partial F}{\partial \boldsymbol{\sigma}} $$
where \( \lambda \) is the plastic multiplier and \( F \) is the yield function. Thermal elasto-plastic analyses are nonlinear; I used the finite element solver to integrate the incremental equations at each time step.
5.3 Hot Tearing Criteria
While a full simulation of hot tearing remains challenging, I used an empirical criterion based on the local solidification parameters. One criterion evaluates the ratio of the solidification front velocity to the strain rate. Another criterion, which I adopted, is based on the concept of “ability to resist hot tearing” \( C_{hr} \), expressed as:
$$ C_{hr} = \frac{G}{\sqrt{\dot{T}}} \cdot \frac{L_{eff}}{A_{c}} \cdot \psi $$
where \( G \) is the temperature gradient, \( \dot{T} \) is the cooling rate, \( L_{eff} \) is the effective feeding length, \( A_c \) is the cross-sectional area, and \( \psi \) is a mold restraint factor. Values of \( C_{hr} \) below a critical threshold indicate a high risk of hot tearing. However, due to the complexity, I also relied on visual inspection of the stress distributions to identify potential crack initiation sites.
5.4 Predicted Results for the Hammer Head
The thermal stress analysis predicted that the maximum tensile stress occurs in the central section of the hammer head during the later stages of solidification. However, the magnitude of the stress remained below the critical value for crack initiation. The deformed shape shown in Figure 4 indicates a slight downward bending at the ends, which is well within acceptable limits. The maximum shear stress was found to be lower than the critical shear stress, confirming that hot tearing is unlikely for the given casting design and process parameters.
6. Application to Hammer Head Casting in a Sand Casting Foundry
6.1 Process Description
The hammer head casting used in this study is a high-chromium white iron part used in crushing machinery. It is produced in a green sand mold using a sand casting foundry setup. The original process design included a simple top riser, but the initial trial castings exhibited severe shrinkage at the center. My goal was to analyze the solidification pattern, predict defects, and optimize the feeding system.
6.2 Simulation Model and Boundary Conditions
Using the CAD model of the hammer head and its riser, I constructed a finite element mesh consisting of the casting, the sand mold, and the riser. The thermophysical properties of high-chromium white iron were approximated using data for cast steel, adjusted for the higher chromium content. Table 5 lists the key parameters used in the simulation.
| Parameter | Value |
|---|---|
| Pouring temperature | 1480°C |
| Mold initial temperature | 20°C |
| Ambient temperature | 20°C |
| Convective coefficient at mold surface | 15 W/(m²·K) |
| Casting-mold interface coefficient | 400 W/(m²·K) |
| Density | 7700 kg/m³ |
| Thermal conductivity | 25-35 W/(m·K) |
| Specific heat | 460-600 J/(kg·K) |
| Latent heat | 260,000 J/kg |
6.3 Temperature Field Results
Figure 5 shows the temperature distribution at three different times after pouring: 2 minutes, 5 minutes, and 10 minutes. In the early stages, the surface cools rapidly, and the center remains at a high temperature. After 5 minutes, the solidus isotherm begins to form a closed loop at the center, isolating this region from the riser. This confirms the high shrinkage tendency in the original design.
6.4 Defect Prediction and Process Optimization
Using the isothermal curve method and temperature gradient method, I predicted a major shrinkage cavity in the center of the hammer head. To mitigate this defect, I evaluated three alternative feeding designs:
1. Increase the riser size: This ensures that the feeding path remains open for a longer time, allowing more liquid metal to compensate for solidification shrinkage.
2. Add chills near the center: Chills accelerate local solidification, shifting the hot spot toward the riser and promoting directional solidification.
3. Use an insulating sleeve on the riser: This keeps the riser molten longer, improving its feeding efficiency.
The simulation indicated that all three modifications reduce the size of the closed-loop region. However, when considering cost and complexity, the most effective solution was simply to enlarge the riser. In the final optimized design, the riser diameter was increased from 80 mm to 120 mm, and the riser height was raised accordingly. The temperature field simulation showed no closed solidus isotherm in the casting, and the temperature gradient at the center increased to about 4 °C/cm, above the critical value. Thus, the optimized design eliminates shrinkage porosity.
6.5 Thermal Stress and Hot Tearing Evaluation
For the optimized process, the thermal stress analysis predicted a maximum principal stress of 45 MPa during solidification, which is well below the high-temperature strength of the alloy. The deformation was minimal, with a maximum displacement of less than 0.3 mm. No hot tearing risk was indicated by the stress criteria. Production trials with the optimized riser design produced defect-free hammer head castings, confirming the accuracy of the simulation.
7. Conclusion
In this research, I established a complete numerical simulation procedure for solidification temperature field and defect prediction in a sand casting foundry environment. The finite element method was successfully applied to simulate the three-dimensional temperature history during solidification, taking into account temperature-dependent properties, complex boundary conditions, and latent heat release. The enthalpy method proved to be a robust approach for latent heat treatment.
Shrinkage defects were predicted using the isothermal curve method and the temperature gradient method. For the hammer head casting, these methods correctly identified the central hot spot and predicted a large shrinkage cavity in the original design. The subsequent thermal stress analysis enabled the evaluation of hot tearing risk and permanent deformation. The simulation-guided design optimization, which involved enlarging the riser, eliminated the shrinkage defect and produced sound castings.
This work demonstrates the practical value of casting process simulation in a sand casting foundry. The developed CAE technology can be applied to various alloys and complex shapes. It not only provides a deeper understanding of solidification phenomena but also serves as an effective tool for optimizing casting designs, reducing trial-and-error costs, and improving product quality.
