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.

Table 1 Chemical composition of ZTA2 titanium alloy (wt.%).
The mass fraction of impurity elements in ZTA2 shall not exceed %.
elementTiFeCNHO
contentbalance≤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.

Fig. 1
Fig. 1 3-D model of pump body: 1. Outlet flange 2. Inlet flange 3. Cover flange 4. the flow passage 5. According to the.

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).

Table 2 simulation parameter Settings.
casting materialFormwork materialinterfacial heat transfer coefficientcooling methodpouring time
ZTA2zirconia (ZrO2 )500 W/(m 2 ·K)vacuum cooling7 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.

Fig. 2
Figure 2 simulates the setup process.
Fig. 3
Fig. 3 Simulation results of shrinkage evolution of titanium alloy pump body during secondary solidification process. (a) Pouring temperature 1725 °C; (bThe pouring temperature is 1800 °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.

Table 3 Levels of three variables.
Casting temperature (°C)Pouring Time (sec)Shell preheating temperature (° C)
1700–18003–7400–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:

Table 4 Orthogonal experimental layout.
organizationCasting temperature (°C)Pouring Time (sec)Shell preheating temperature (° C)organizationCasting temperature (°C)Pouring Time (sec)Shell preheating temperature (° C)
L 1U 11700V 13W 1400L 14U 31750V 46W 5500
L 2U 11700V 24W 3450L 15U 31750V 57W 2425
L 3U 11700V 35W 5500L 16U 41775V 13W 3450
L 4U 11700V 46W 2425L 17U 41775V 24W 5500
L 5U 11700V 57W 4475L 18U 41775V 35W 2425
L 6U 21725V 13W 5500L 19U 41775V 46W 4475
L 7U 21725V 24W 2425L 20U 41775V 57W 1400
L 8U 21725V 35W 4475L 21U 51800V 13W 2425
L 9U 21725V 46W 1400L 22U 51800V 34W 4475
L 10U 21725V 57W 3450L 23U 51800V 55W 1400
L 11U 31750V 13W 4475L 24U 51800V 46W 3450
L 12U 31750V 24W 1400L 25U 51800V 57W 5500
L 13U 31750V 35W 3450

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.

Fig. 4
Fig. 4 Effect of pouring temperature, pouring time and shell preheating temperature on total defect volume, shrinkage porosity and shrinkage cavity volume. In the three-dimensional surface plots, total defect volume is shown in blue and shrinkage-porosity/cavity volume in red. The legends are at the upper left and upper right, respectively; the distinction uses a critical porosity boundary of 4% [20].
Fig. 5
FIG. 5 is a flow chart of a particle swarm optimization (PSO) algorithm.
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:vi=w×vi+c1×rand()×(pbesti−xi)+c2×rand()×(gbest−xi)
b. Update Location:xi=xi+0.2×vi(restrictxi∈[−1,1])
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.

Fig. 6
Fig. 6 Structure of BP neural network.

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.

Fig. 7
Fig. 7 Function diagram. (a) hyperbolic tangent function (tansig); (b) linear function (purelin).
Fig. 8Fig. 8
Figure 8 (aSingle factor sensitivity analysis curve of hidden neuron number. (b) Single-factor sensitivity curves for the BP learning rate. (cSensitivity analysis curve of PSO population size. (d) Single-factor sensitivity analysis curve of PSO iteration times. (eOne-way sensitivity analysis curve of PSO learning factor combination. (f) Comparative analysis of the sensitivity coefficients of 5 core parameters.

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.

Table 5. Parameter values of the PSO-BP neural-network model.
parameter categoriesparameter values
network structureNumber of hidden neurons = 5
BP Training ParametersLearning rate = 0.005
parameter of particle swarm optimizationPopulation 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.

Fig. 9
Figure 9 (a) Comparison of total-defect-volume prediction based on five-fold cross-validation (RMSE and R2 ) ( bComparison of shrinkage porosity and shrinkage volume prediction performance based on five-fold cross validation (RMSE and R)2)。

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.

Fig. 10
fig. 10 (a) Total-defect-volume prediction: fitness-error curves over PSO iterations (b) Shrinkage porosity/void volume prediction: PSO iteration fitness error variation curve.

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.

FIG. 11FIG. 11
Fig. 11 Comparison of fitting effect and prediction performance of total defect volume prediction models (a) Predicted versus Actual Curve in Training Set (bPredicted vs. Actual Curve for Test Set (c) Scatterplot of predicted versus actual values in the training set (dScatter fit plot of predicted versus actual values in test set.
FIG. 12
Fig. 12 Comparison of fitting effect and prediction performance of shrinkage porosity and shrinkage cavity volume prediction models (a) Comparison curve of predicted and actual values in the training set (bComparison curve of predicted and actual values in the test set (cScatter plot of predicted versus actual values in the training set (dScatter fit plot of predicted versus actual values in test set.

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.

Table 6 Evaluation of neural network model.
assessPSO-BP Total Defect VolumePSO-BP Shrinkage porosity/shrinkage void volume
TRAINING PACKAGE R20.956130.96158
Validation Set R20.963330.98108
Validation Set RMSE0.332460.0307
Validation Set MSE0.110530.00094
Validation Set MAPE3.8101%2.9847%
Validation Set MAE0.27460.02047

Parameter Effects, Process Optimization and Conclusions

FIG. 13
FIG. 13 SHAP analysis of casting defect prediction model (a) SHAP feature importance (total defect volume) (b) SHAP feature importance (shrinkage-cavity/porosity volume) (c) SHAP beeswarm plot (total defect volume) (d) SHAP beeswarm plot (shrinkage cavities/porosity or void volume).

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.

FIG. 14
Figure 14 SHAP single feature correlation diagram,(a – c) represents the total defect volume,(d – f) represents shrinkage porosity and shrinkage volume. (a、d) is the pouring temperature,(b、e) is the pouring time,(c、f) for shell preheating temperature.
FIG. 15
Fig. 15 Relationship between pouring temperature and shell preheating temperature.
FIG. 16
Fig. 16 Relationship between pouring time and preheating temperature of shell.
FIG. 17
Fig. 17. Relationship between pouring temperature and pouring time.
Table 7 Parameters of multivariate interaction analysis.
elementU (°C)V (s)W (°C)
117503~7400~500
21700~18005400~500
31700~18003~7450

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].

the workflow of that algorithm is shown in figure 18, and the flow is as follow: first, the problem solution is encoded into a chromosome (e. g., a binary str). After the initial population is randomly generated, the fitness of each individual is assessed. It should be noted that in NSGA-II, the concept of fitness is mainly reflected in the non-dominant ranking and crowding distance in the selection phase. The algorithm uses fast non-dominated sorting to stratify individuals into different frontier levels (ranks) according to Pareto dominance relations. This is combined with crowding distance (a measure related to the perimeter of the hypercube formed by an individual's nearest neighbors) to preserve population diversity. The selection operation prioritizes individuals who rank better (lower) and those who are in sparse areas (larger crowded distances). Crossover is used to enhance global search capability, while mutation improves local search efficiency. Elitist strategies combine parent and offspring populations before selecting the next generation, helping to prevent the loss of high-quality individuals. The population is iteratively updated until certain convergence criteria are met (e.g., a Pareto optimal set is found, a maximum number of generations is reached, or stability of the population fitness distribution is achieved). Through this cooperative multi-objective optimization mechanism, the algorithm efficiently identifies uniformly distributed approximations of Pareto optimal frontiers in the solution space.
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 populationP0, and calculate the objective function values (total defect volume, shrinkage cavity volume) for each individual.
Step 2: RightP0Non-dominated sorting, calculating the crowding distance, and selecting the top 100 individuals as the parent populationPt 。
Step 3: For t = 1 to 100:
One. Crossover: Generation of progeny populations using simulated binary crossover (SBX)Qt(Size: 100).
b. Mutation: Polynomial mutation is performed (mutation step size: 0.1).
c. Combine Pt andQtin order to get groupsRt(Size: 200).
d. YesRtNon-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."Pt+1。
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.
FIG. 18
Figure 18 NSGA-II algorithm flow.

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.

FIG. 19
Figure 19. Histogram of the distribution of the optimal solution set.
FIG. 20
Figure 20. Pareto optimal solution set.
Table 8 Pareto optimal solution set.
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)
1180044756.1565843250.6240843596.1251820.62823155
2172555005.2891026480.7069070945.7417800.632726
3175044507.5871460240.6917854297.5077080.662608
4170044506.3810004930.8207198726.408540.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.

FIG. 21
Figure 21 Predicted defect error values.

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.

FIG. 22
Figure 22 Defect comparison before and after optimization. (aThe defect distribution corresponding to the original parameter scheme. (bThe defect distribution corresponding to the optimized parameter scheme.

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