Selecting Pouring Parameters for a Titanium-Alloy Pump Body through Simulation
Published:
2026-05-12
The study compares how pouring temperature, pouring time and shell-preheating temperature affect casting defects in a ZTA2 titanium-alloy pump body, using ProCAST to compare the initial process with the optimized scheme.
Pump Geometry, Casting Simulation and Defect Prediction
The object of study is the pump body designed and optimized by the cooperative entity. The pump body is casing-in casting with approximate size of 265 mm×185 mm× 340 mm. Castings must meet the requirements for titanium and titanium alloy castings specified in the relevant national titanium alloy casting technical specifications of China to ensure that they meet the quality and performance standards of the whole industry. Together with the pump cover, it must withstand a hydrostatic test of 2.4 MPa for 10 minutes without any visible leakage. Mechanical property requirements of pump casing (ZTA2 cast titanium alloy): tensile strength ≥440 MPa, yield strength ≥370 MPa, hardness ≥235 HBW, elongation after fracture ≥13%. The castings are produced by investment casting, and the tolerance grade of castings reaches CT9 grade. The casting material is ZTA2 titanium alloy, and its chemical composition is listed in Table 1.
| The mass fraction of impurity elements in ZTA2 shall not exceed %. | ||||||
|---|---|---|---|---|---|---|
| element | Ti | Fe | C | N | H | O |
| content | balance | ≤0.30 | ≤0.10 | ≤0.05 | ≤0.015 | ≤0.35 |
The 3D solid model of the casting was created using UG NX 12.0 software, as shown in Figure 1. Pump body inlet flange thickness is 24 mm, the outlet flange thickness is 22 mm, spiral case channel circular section wall thickness is 10 mm, the footing thickness is 12 mm. The average wall thickness is 13.57 mm and the maximum wall thickness is 36.65 mm. This significant thickness variation (up to a maximum of 26.65 mm) makes the castings susceptible to hot spots during investment casting, resulting in defects such as hot tears, shrinkage cavities, blowholes, and blowholes.

The procedure for simulating the casting process using ESI ProCAST 2024.0 software is as follows. First, an initial finite element model was constructed, including the gating system and the casting itself, and gravity casting was selected as the simulation process. After the model is created, the Visual-Mesh module is used for mesh generation. To balance calculation accuracy and efficiency, the mesh size for casting areas was set to 3 mm (to ensure detail resolution) and the mesh size for risers and runners was set to 6 mm (to simplify calculations in non-critical areas). At the same time, the mold shell thickness was set to 10 mm. The final mesh consists of 165,448 surface elements and 1,489,229 volume elements. The parameters of the initial scenario were as follows: pouring temperature 1725 °C, shell preheating temperature 400 °C, pouring time 7 s. Further simulation parameter settings are configured (see Table 2).
| casting material | Formwork material | interfacial heat transfer coefficient | cooling method | pouring time |
|---|---|---|---|---|
| ZTA2 | zirconia (ZrO2 ) | 500 W/(m 2 ·K) | vacuum cooling | 7 s |
As-cast ZTA2 titanium alloy has a tensile strength of 440 MPa, a yield strength of 370 MPa and a density of 4.505 g/cm3。 Its melting temperature range is 1668~1688 °C, solidus temperature is 1668 °C, liquidus temperature is 1688 °C.


With increasing solidification time, group a (FIG. 3a) with lower pouring temperature and mold temperature began to form isolated liquid phase regions at 53 s. Comparing the defect predictions of the two groups, it was found that there were significant differences in defect location and volume at different pouring temperatures and shell preheating temperatures.
| Casting temperature (°C) | Pouring Time (sec) | Shell preheating temperature (° C) |
|---|---|---|
| 1700–1800 | 3–7 | 400–500 |
Based on the optimized gating system, the effects of three key process parameters-pouring temperature, pouring time and shell preheating temperature-on the total defect volume and shrinkage cavity volume of TA2 titanium alloy pump body were studied. The orthogonal experimental design method [19] was used to plan the simulation experiment, utilizing a three-factor, five-level design. Factor Level Combinations by L25 ( 5 3The orthogonal array is arranged as shown in Table 4:
| organization | Casting temperature (°C) | Pouring Time (sec) | Shell preheating temperature (° C) | organization | Casting temperature (°C) | Pouring Time (sec) | Shell preheating temperature (° C) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| L 1 | U 1 | 1700 | V 1 | 3 | W 1 | 400 | L 14 | U 3 | 1750 | V 4 | 6 | W 5 | 500 |
| L 2 | U 1 | 1700 | V 2 | 4 | W 3 | 450 | L 15 | U 3 | 1750 | V 5 | 7 | W 2 | 425 |
| L 3 | U 1 | 1700 | V 3 | 5 | W 5 | 500 | L 16 | U 4 | 1775 | V 1 | 3 | W 3 | 450 |
| L 4 | U 1 | 1700 | V 4 | 6 | W 2 | 425 | L 17 | U 4 | 1775 | V 2 | 4 | W 5 | 500 |
| L 5 | U 1 | 1700 | V 5 | 7 | W 4 | 475 | L 18 | U 4 | 1775 | V 3 | 5 | W 2 | 425 |
| L 6 | U 2 | 1725 | V 1 | 3 | W 5 | 500 | L 19 | U 4 | 1775 | V 4 | 6 | W 4 | 475 |
| L 7 | U 2 | 1725 | V 2 | 4 | W 2 | 425 | L 20 | U 4 | 1775 | V 5 | 7 | W 1 | 400 |
| L 8 | U 2 | 1725 | V 3 | 5 | W 4 | 475 | L 21 | U 5 | 1800 | V 1 | 3 | W 2 | 425 |
| L 9 | U 2 | 1725 | V 4 | 6 | W 1 | 400 | L 22 | U 5 | 1800 | V 3 | 4 | W 4 | 475 |
| L 10 | U 2 | 1725 | V 5 | 7 | W 3 | 450 | L 23 | U 5 | 1800 | V 5 | 5 | W 1 | 400 |
| L 11 | U 3 | 1750 | V 1 | 3 | W 4 | 475 | L 24 | U 5 | 1800 | V 4 | 6 | W 3 | 450 |
| L 12 | U 3 | 1750 | V 2 | 4 | W 1 | 400 | L 25 | U 5 | 1800 | V 5 | 7 | W 5 | 500 |
| L 13 | U 3 | 1750 | V 3 | 5 | W 3 | 450 | |||||||
As shown in Figure 4, defect and shrinkage porosity and shrinkage volume were calculated by ESI ProCAST (v2 024.0) software. The results show that the larger defects are mainly concentrated in the parameter range of pouring temperature between 1700 °C and 1750 °C and shell preheating temperature between 425 °C and 475 °C. On the contrary, when the casting temperature is between 1775 °C and 1800 °C and the shell preheating temperature is between 475 °C and 500 °C, the observed defect volume is significantly smaller.


| Input:input layer nodes, hidden layer nodes, output layer nodes; Number of iterations; Population size; c1、c2; step size |
| Output:optimal weight w, threshold b |
| Step 1: Initialize Particle Swarm |
| Step 2: For each particle, calculate the prediction error (MSE) of the corresponding BP model as its fitness value |
| Step 3: Record the personal best fitness (pbest) of each particle and the global best fitness (gbest) of the population |
| step 4: for t = 1 to 100: |
| One. For each particle, update speed: |
| b. Update Location: |
| c. Calculate new fitness values and update pbest and gbest |
| Step 5: Output the weight w and threshold b corresponding to gbest |
The original paper compares the sensitivity of network structure and training parameters, and then compares ordinary BP and PSO-BP through five-fold cross-validation. Figure 6 to Figure 9 show the network structure, activation function, key parameter sensitivity, and cross-validation results, respectively.

As for the activation function, as shown in Figure 7, the hidden layer uses a hyperbolic tangent sigmoid function (tansig) and the output layer uses a linear function (purelin), which is suitable for regression problems.



Based on the principle of "optimization of high sensitive parameters first, efficiency balance of medium and low sensitive parameters", combined with the actual demand of titanium alloy pump body casting defect prediction, the optimal combination of network structure hyperparameters and PSO parameters is determined through single-factor sensitivity analysis, as shown in Table 5. After the optimized initial parameters of PSO algorithm are substituted into BP neural network, trainbr function (Bayesian regularization training algorithm) is used to train the network formally. The training algorithm constrains the complexity of the network by introducing a regularization term into the loss function, and forms a dual optimization mechanism with the initial parameter optimization based on PSO: PSO optimization solves the local optimization problem in the training process, and Bayesian regularization inhibits the over-fitting risk of the model, thus further improving the generalization performance of the model on small sample data sets.
| parameter categories | parameter values |
|---|---|
| network structure | Number of hidden neurons = 5 |
| BP Training Parameters | Learning rate = 0.005 |
| parameter of particle swarm optimization | Population size = 40, number of iterations = 100, learning factor = [ 2.05, 2.05 ] |
In order to objectively evaluate the generalization performance of the model, the code introduces 5 -Fold Cross Validation. The dataset is randomly divided into K mutually exclusive subsets. One subset is selected as the test set and the remaining K-1 subset is selected as the training set. Cycle through the K rounds and test. By averaging K evaluation indexes, the randomness caused by single data set partition is eliminated, and the reliability of model performance evaluation is guaranteed.

For prediction of total defect volume (left): In terms of RMSE, the RMSE of the basic BP neural network on the training set is 0.5329, while the reduction of the PSO-BP neural network is 0.3254 (a 38.94% reduction), indicating that PSO with initial weights can effectively avoid local optima. RMSE on the test set ranged from 0.6709 to 0.4472 (a reduction of 33.34%), verifying that Bayesian regularization can suppress overfitting and improve the generalization stability of the model. for R2,R2the increase on the training set from 0.8636 to 0.9497 (an increase of 9.97%), and R2On the test set jump from 0.7463 to 0.9017 (an increase of 20.82%), it proves that the generalization ability of PSO-BP is significantly better than that of basic BP, and solves the overfitting problem.
Prediction of porosity and shrinkage volume (right): RMSE decreases from 0.0451 to 0.0348 (22.84% decrease) on the training set and from 0.0568 to 0.0439 (22.71% decrease) on the test set; R on training set2increased from 0.9327 to 0.9596 (2.88% increase), R on test set2Jumped from 0.8548 to 0.9226 (an increase of 7.93%). This result indicates that the dual mechanism of PSO weight optimization + Bayesian regularization has cross-task generalization and is not an accidental improvement of a single task.

The fitness curves in both plots show a continuous downward trend and gradually stabilize, gradually converging from an initial value of about 0.0382 to about 0.0368. This indicates that PSO approaches the optimal solution continuously in the iterative process without divergence or oscillation, which accords with the normal convergence characteristics of PSO.



It can be seen from Table 6 that the PSO-BP model achieves the validation set R for the prediction of total defect volume and shrinkage porosity and shrinkage cavity volume, respectively.20.96333 and 0.98108, the fitting effect is good, the MAPE value of validation set is controlled at 3.8101% and 2.9847%, respectively, all error indicators are kept at a low level. Moreover, there is no significant difference between the performance of the training set and the performance of the validation set, which indicates that the model does not have the problem of over-fitting, and the generalization ability and the prediction accuracy of the model can meet the actual requirements of quantitative prediction of casting defects.
| assess | PSO-BP Total Defect Volume | PSO-BP Shrinkage porosity/shrinkage void volume |
|---|---|---|
| TRAINING PACKAGE R2 | 0.95613 | 0.96158 |
| Validation Set R2 | 0.96333 | 0.98108 |
| Validation Set RMSE | 0.33246 | 0.0307 |
| Validation Set MSE | 0.11053 | 0.00094 |
| Validation Set MAPE | 3.8101% | 2.9847% |
| Validation Set MAE | 0.2746 | 0.02047 |
Parameter Effects, Process Optimization and Conclusions

The importance analysis of SHAP global characteristics shows that pouring time is the common core factor affecting the total defect volume and the volume of shrinkage porosity and shrinkage cavity, and its SHAP value is higher than other process parameters. On this basis, the secondary influencing factors of the two types of defects show obvious differences: for the total defect volume, the pouring temperature is significantly more important than the shell preheating temperature; For the volume of shrinkage porosity and shrinkage cavity, the preheating temperature of shell is more important than the pouring temperature. This difference indicates that different parameter adjustment logic should be used for process optimization according to different defect types.




| element | U (°C) | V (s) | W (°C) |
|---|---|---|---|
| 1 | 1750 | 3~7 | 400~500 |
| 2 | 1700~1800 | 5 | 400~500 |
| 3 | 1700~1800 | 3~7 | 450 |
When the casting time is fixed (see Fig. 15), the optimum range of total defect volume corresponds to a casting temperature of 1740 {1760°C combined with a shell preheat temperature of 480 {500°C. The optimum ranges of shrinkage porosity and shrinkage cavity are similar, both of which fall within the pouring temperature of 1750 ° 1800 °C and the shell preheating temperature of 480 ° 500 °C.
When the pouring temperature is kept constant (see Fig. 16), the optimum range for total defect volume is 4.0 {6.0 s for the pouring time and 480 {500 °C for the shell preheat. Under these conditions, the optimal range of shrinkage porosity and shrinkage cavity volume is pouring time 3.0 - 5.5 s and shell preheating temperature 460 - 500 ° C.
When the shell preheat temperature is kept constant (see Fig. 17), the optimum range for total defect volume is 3.0 {4.0 s for the pouring time and 1700 {1730 °C for the pouring temperature. Under these conditions, the optimal range of shrinkage porosity and shrinkage volume is pouring time of 3.0 - 4.0 s and pouring temperature of 1780 - 1800 ° C.
To sum up, the analysis of multi-factor influence law shows that the sensitivity of pump body defects to process parameters from big to small is: pouring time, pouring temperature, shell preheating temperature. In addition, contour analysis shows that the coupling effect between pouring temperature and pouring time has the most significant effect on total defect volume and shrinkage cavity rate, while the coupling effect between pouring temperature and shell preheating temperature shows the least coupling effect.
NSGA-II is a multi-objective optimization algorithm based on genetic algorithm. It ranks the population by nondominated sorting, uses crowding distance to retain solution diversity, and combines parent and offspring populations before selection. This elitist strategy maintains convergence and diversity during optimization [31].
| Input:decision variables (pouring temperature: 1700–1800 °C; pouring time: 3–7 s; shell-preheating temperature: 400–500 °C); Population size: 100; Number of iterations: 100 |
| Output:Pareto optimal solution set. |
| Step 1: Initialize the population, and calculate the objective function values (total defect volume, shrinkage cavity volume) for each individual. |
| Step 2: RightNon-dominated sorting, calculating the crowding distance, and selecting the top 100 individuals as the parent population 。 |
| Step 3: For t = 1 to 100: |
| One. Crossover: Generation of progeny populations using simulated binary crossover (SBX)(Size: 100). |
| b. Mutation: Polynomial mutation is performed (mutation step size: 0.1). |
| c. Combine Pt andin order to get groups(Size: 200). |
| d. YesNon-dominated sorting, divided into Front 1, Front 2,... |
| e. Calculate the crowding distance of each Front, and select 100 individuals as the next-generation population according to "Front priority + crowding distance."。 |
| f. If the rate of change of the target value for the first 1 of 10 consecutive generations is less than 0.1%, the iteration is stopped early. |
| and step 4, outputting the final Front 1 as a Pareto optimal solution set. |

Figure 19 shows the histogram of the distribution of the Pareto optimal solution sets generated by the NSGA-II algorithm for Objective 1 and Objective 2 in the context of titanium investment casting, with the red dotted line marking the single objective optimal location for each objective. The corresponding Pareto optimal solution set is visualized in Figure 20. In addition, ProCAST was used to simulate and verify the optimal solution set, and the total defect volume and shrinkage cavity volume were compared and analyzed, which are summarized in Table 8.


| Casting temperature (°C) | Pouring Time (sec) | Shell preheating temperature (° C) | Prader. Total Capacity (cm3) | Prader. Shrinkage (cm3) | Hey, Sim. Total Capacity (cm3) | Hey, Sim. Shrinkage (cm3) | |
|---|---|---|---|---|---|---|---|
| 1 | 1800 | 4 | 475 | 6.156584325 | 0.624084359 | 6.125182 | 0.62823155 |
| 2 | 1725 | 5 | 500 | 5.289102648 | 0.706907094 | 5.741780 | 0.632726 |
| 3 | 1750 | 4 | 450 | 7.587146024 | 0.691785429 | 7.507708 | 0.662608 |
| 4 | 1700 | 4 | 450 | 6.381000493 | 0.820719872 | 6.40854 | 0.769607 |
The prediction error for defects is shown in Figure 21. The error of the total defect volume is generally kept within a small range (the maximum error is less than 1 cm.3The error curve shows a smooth trend. At the same time, the error between shrinkage porosity and shrinkage cavity volume is always kept at a very low level (less than 0.1 cm3There is minimal fluctuation between different test cases. This indicates that the model achieves excellent prediction performance and achieves the expected performance goal.

The selected combination is pouring temperature 1800 ℃, pouring time 4 seconds and shell preheating 475 ℃. Higher superheat of molten metal is helpful for filling complex flow channels. Shorter pouring time and higher shell preheating temperature jointly affect the initial temperature difference, solidification sequence and feeding conditions.
Simulation verification based on this ideal optimized parameter combination is performed, and the comparison results are shown in Figure 22a and b, showing the defect distribution corresponding to the original process scheme (1725 ° C, 7 s, 400 ° C) and the optimized scheme respectively. the comparison show a significant reduction in that total defect volume. Predicted total defect volume from 10.027715 cm3Reduced to 6.125 cm3(reduce about 38.92%), shrinkage porosity and shrinkage cavity volume from 1.298505 cm3Reduction to 0.6282 cm3(Approximately 51.62% decrease). This shows that casting defects have been further optimized.

Dongcheng He、Yingjie Dong、Qi Zhang,Coatings2026, 16(5), 589。 According to the original paper, the chart is quoted from the original paper.Original Paper and References · CC BY 4.0
Related News