Special Issue

## Recent Advancements in Signal Processing and Machine Learning

View this Special Issue

Research Article | Open Access

Volume 2013 |Article ID 894384 | 7 pages | https://doi.org/10.1155/2013/894384

# Application of Fuzzy Set Theory to Quantitative Analysis of Correctness of the Mathematical Model Based on the ADI Method during Solidification

Revised21 Oct 2013
Accepted24 Oct 2013
Published24 Nov 2013

#### Abstract

The explicit finite difference (EFD) method is used to calculate the casting temperature field during the solidification process. Because of its limited time step, the computational efficiency of the EFD method is lower than that of the alternating direction implicit (ADI) method. A model based on the equivalent specific heat method and the ADI method that improves computational efficiency is established. The error of temperature field simulation comes from model simplification, the acceptable hypotheses and calculation errors caused by different time steps, and the different mesh numbers that are involved in the process of numerical simulation. This paper quantitatively analyzes the degree of similarity between simulated and experimental results by the hamming distance (HD). For a thick-walled position, the time step influences the simulation results of the temperature field and the number of casting meshes has little influence on the simulation results of temperature field. For a thin-walled position, the time step has minimal influence on the simulation results of the temperature field and the number of casting meshes has a larger influence on the simulation results of temperature field.

#### 1. Introduction

The 3D heat transfer equation of the temperature field during the solidification process is as follows : where is the temperature, is the time, is the average density of the liquid phase and the solid phase, is the specific heat, is the convectional parameter, is the inner heat source, and is the latent heat, is the solid phase fraction.

The energy conservation equation is usually solved by the EFD method, and computational efficiency is lower due to its limited time step .

The critical time step in the EFD method can be taken as follows : where , , and are the mesh sizes in the , , and directions, respectively.

In this study, the equivalent specific heat method is adopted to describe the latent heat and the high-order ADI method that is fourth order in space and second order in time. This high-order mathematical model is based on the equivalent specific heat method, and the high-order ADI method is more accurate than the EFD method .

The error of temperature field simulation comes from model simplification, the acceptable hypotheses and calculation errors of the different time steps, and the different mesh numbers involved in the process of numerical simulation. The degree of similarity between the simulation and the experimental results is quantitatively analyzed using the hamming distance .

#### 2. Mathematical Model

The energy conservation equation can be given as the following: where is the temperature of the liquid phase and is the temperature of the solid phase. With the equivalent specific heat method :

The discretization equations of this high-order mathematical model based on the equivalent specific heat method and the high-order ADI method can be given as the following: where ; , , and are the second-order central difference operators.

Finally, can be obtained from (6). Each step has a tridiagonal system of equations that can be quickly calculated using the Thomas algorithm .

The calculation speed of this high-order mathematical model is faster because it is unconditionally stable. Table 1 shows that this high-order mathematical model is more accurate than the EFD method.

 Method Truncation errors This new high-order mathematical model Fourth order in space and second order in time The EFD method Second order in space and first order in time

Because the figure analysis cannot be used for quantitative analysis, the fuzzy mathematical theory is introduced . The fuzzy set of the universe of discourse , , with a generic element of denoted by , is a set of ordered pairs , where   is the membership function of the fuzzy set , , and indicates the grade of membership of in . Similar expression for the fuzzy set is readily understood with obvious notation.

In this study, represents time nodes; and are two membership functions; is the experimentally derived temperature; is the temperature obtained by simulation; and denotes the “typical” temperature .

According to the HD, the degree of similarity between sets and can be evaluated by the function :

Equation (7) is used to quantitatively analyze the degree of similarity between the simulation results and the experimental results.

#### 3. Experimental Results and Discussion

The 3D model is shown in Figure 1; the geometric figure of the casting is shown in Figure 2; the casting mould is 200 mm × 100 mm × 100 mm; the pouring speed is 0.35 m/s; and the pouring temperature is 670°C. The necessary physical parameters are shown in Table 2. The size of the mesh is 1.0 mm × 1.0 mm × 1.0 mm and the number of meshes is 2,000,000.

 Material Latent heat (kJ/kg) Density (kg/m3) Specific heat (kJ/kg·K) Solidus temperature (°C) Liquidus temperature (°C) AlSi9Cu3 471 2596–2750 0.83–0.97 504 585 Sand — 2780 0.54–1.00 — —

All of the thermocouples are connected by coaxial cables to a data logger and interfaced with a computer. The temperature data are automatically acquired. A schematic representation of the experimental setup, which is connected to the data acquisition and analysis system, is shown in Figure 3. The experimental results are shown in Figure 4.

##### 3.1. Temperature Simulation of Point A

In this section, the high-order mathematical model, which is based on the equivalent specific heat method and the high-order ADI method, is used to compute the energy conservation equation. First, the number of casting meshes is 124031 and this number remains constant. The different time steps (, , and ) are adopted to compute the temperature simulation of point A. Second, the time step is and this remains constant. The different mesh numbers (6825, 124031, and 672963) are adopted to compute the temperature simulation of point A. The hamming distance can be used to evaluate the degrees of similarity between the simulation results and the experimental results. The figure analysis is shown in Figure 5.

Let be the universe of discourse, , with a generic element of denoted by ; °C denotes “typical” temperature; and are two membership functions; represents a temperature measured from the experimental method, and represents the temperature derived from the simulation method. These include the different time steps and the different mesh numbers.

The fuzzy set can be described as follows:

The mesh number remains constant.(1) The time step is and the number of casting meshes is 124031. The fuzzy set can be described as follows: According to (7), the degree of similarity between sets and can be evaluated: (2) The time step is and the number of casting meshes is 124031. The fuzzy set can be described as follows: According to (7), the degree of similarity between sets and can be evaluated: (3) The time step is and the number of casting meshes is 124031. The fuzzy set can be described as follows: According to (7), the degree of similarity between sets and can be evaluated:

The time step remains constant.(1) The time step is and the number of casting meshes is 6825. The fuzzy set can be described as follows: According to (7), the degree of similarity between sets and can be evaluated: (2) The time step is and the number of casting meshes is 672963. The fuzzy set can be described as follows: According to (7), the degree of similarity between sets and can be evaluated:

The error of temperature field simulation comes from model simplification, the acceptable hypotheses and calculation errors that can be caused by the different time steps, and the different mesh numbers that are involved in the process of numerical simulation. Because the heat transfer model is based on the energy conservation equation (see (1)) and the governing equations (6), the loss of accuracy comes from calculation error that can be caused by the different time steps and the different mesh numbers.

The conclusions of the analysis and computations can be described as follows. (1)The number of casting meshes remains constant and the different time steps are adopted to compute the temperature simulation, with great changes in the degrees of similarity between the simulation results and the experimental results: (2)The time step remains constant and the different mesh numbers are adopted to compute the temperature simulation, with the degrees of similarity between the simulation results and the experimental results changing slightly:

In short, this high-order mathematical model is based on the equivalent specific heat method and the high-order ADI method, which can be used to calculate the temperature field. For the thick-walled position (see point A), the time step has a large influence on the simulation results of the temperature field and the number of casting meshes has little influence on the simulation results of temperature field.

In Figure 5, for the thick-walled position, the same conclusions hold: (a) the number of casting meshes remains constant and the changes of the time steps change the simulation results of the temperature field; (b) the time step remains constant and change in the mesh numbers brings little change in the simulation results of the temperature field. These are given to illustrate the validity of the analysis method that uses the hamming distance.

The simulation results and the experimental results can only be qualitatively analyzed by the figure analysis. For the first time, this study analyzes the hamming distance to quantitatively ascertain the degree of similarity between the simulation results and the experimental results. The quantitative analysis is based on hamming distance and it is more accurate than qualitative analysis based on the figure analysis.

##### 3.2. Temperature Simulation of Point B

The analysis method is similar and its steps are as follows. First, the number of casting meshes is 124031 and this number remains constant. The different time steps (, , and ) are adopted to compute the temperature simulation of point B. Second, the time step is and this remains constant. The different mesh numbers (6825, 124031, and 672963) are adopted to compute the temperature simulation of point B. The hamming distance can evaluate the degrees of similarity between the simulation results and the experimental results. Figure 6 illustrates the validity of the analysis method of the hamming distance.

The conclusions are that for the thin-walled position (see point B); the time step has little influence on the simulation results of the temperature field and the number of casting meshes has a large influence on the simulation results of the temperature field.

This high-order mathematical model, which is based on the equivalent specific heat method and the high-order ADI method, is superior to the explicit finite difference method. In this section, the number of casting meshes remains constant and the calculation time between the explicit finite difference method and the high-order mathematical model is shown in Table 3.

 Method The number of casting meshes Calculation time/second The EFD method 124031 2579 This new high-order mathematical model (the time step is ) 124031 1742 This new high-order mathematical model (the time step is ) 124031 253
The hardware environment: microcomputer.

#### 4. Conclusions

(1)The high-order mathematical model based on the equivalent specific heat method and the high-order ADI method can be used to effectively compute the temperature simulation. Because this mathematical model is unconditionally stable, the different time steps can be chosen with quick calculation. (2)For the first time, this paper demonstrates how the analysis method of the hamming distance can be used to quantitatively analyze the degree of similarity between the simulation results of the temperature field and the experimental results of the temperature field.(3)For the thick-walled position (see point A), the time step has a large influence on the simulation results of the temperature field and the number of casting meshes has little influence on the simulation results of the temperature field. For the thin-walled position (see point B), the time step has little influence on the simulation results of the temperature field and the number of casting meshes has a sizable influence on the simulation results of the temperature field.

#### Acknowledgment

This research is financially supported by the National Natural Science Foundation of China (Grant nos. 51304145 and 51301118).

1. D.-C. Tsai and W.-S. Hwang, “Numerical simulation of solidification morphologies of Cu-0.6Cr casting alloy using modified cellular automaton model,” Transactions of Nonferrous Metals Society of China, vol. 20, no. 6, pp. 1072–1077, 2010. View at: Publisher Site | Google Scholar
2. Y. Chen, Y.-H. Zhao, and H. Hou, “Numerical simulation for thermal flow filling process casting,” Transactions of Nonferrous Metals Society of China, vol. 16, pp. 214–218, 2010. View at: Google Scholar
3. X.-F. Niu, W. Liang, Y.-H. Zhao et al., “New algorithm for solving 3D incompressible viscous equations based on projection method,” Transactions of Nonferrous Metals Society of China, vol. 21, no. 8, pp. 1826–1832, 2011. View at: Publisher Site | Google Scholar
4. T. R. Vijayaram, S. Sulaiman, A. M. S. Hamouda, and M. H. M. Ahmad, “Numerical simulation of casting solidification in permanent metallic molds,” Journal of Materials Processing Technology, vol. 178, no. 1–3, pp. 29–33, 2006. View at: Publisher Site | Google Scholar
5. X. Niu, W. Liang, Y. Zhao, and H. Hou, “A new implicit finite difference algorithm of thermal melt flow in filling process based on projection method,” Journal of Computational and Theoretical Nanoscience, vol. 9, pp. 1–5, 2012. View at: Google Scholar
6. J.-J. Droux, “Three-dimensional numerical simulation of solidification by an improved explicit scheme,” Computer Methods in Applied Mechanics and Engineering, vol. 85, no. 1, pp. 57–74, 1991.
7. Y.-F. Chiu, Y.-L. Tsai, and W.-S. Hwang, “Mathematical modeling for the solidification heat-transfer phenomena during the reflow process of lead-tin alloy solder joint in electronics packaging,” Applied Mathematical Modelling, vol. 27, no. 7, pp. 565–579, 2003.
8. H. Hou, Studies on Numerical Simulation for Liquid-Metal Filling and Solidification during Casting Process, Saitama Institute of Technology, Saitama, Japan, 2005.
9. X. P. Zhang, S. M. Xiong, and Q. Y. Xu, “Numerical methods to improve the computational efficiency of solidification simulation for the investment casting process,” Journal of Materials Processing Technology, vol. 173, no. 1, pp. 70–74, 2006. View at: Publisher Site | Google Scholar
10. W. Y. Liao, “A high-order ADI finite difference scheme for a 3D reaction-diffusion equation with neumann boundary condition,” Numerical Methods for Partial Differential Equations, vol. 29, no. 3, pp. 778–798, 2013. View at: Publisher Site | Google Scholar
11. S. Karaa and J. Zhang, “High order ADI method for solving unsteady convection-diffusion problems,” Journal of Computational Physics, vol. 198, no. 1, pp. 1–9, 2004.
12. Y.-B. Ge, Z.-F. Tian, and W.-Q. Wu, “A high-order alternating direction implicit method for solving the high dimensional heat equations,” Journal of University of Shanghai for Science and Technology, vol. 29, no. 1, pp. 55–58, 2007. View at: Google Scholar
13. L. A. Zadeh, “Fuzzy sets,” Information and Control, vol. 8, no. 3, pp. 338–353, 1965.
14. R. Scozzafava and B. Vantaggi, “Fuzzy inclusion and similarity through coherent conditional probability,” Fuzzy Sets and Systems, vol. 160, no. 3, pp. 292–305, 2009.
15. C.-Y. Zhang and H.-Y. Fu, “Similarity measures on three kinds of fuzzy sets,” Pattern Recognition Letters, vol. 27, no. 12, pp. 1307–1317, 2006. View at: Publisher Site | Google Scholar
16. F.-P. Tan, “A modified Thomas algorithm and its error estimation,” in Proceedings of the 14th Conference of International Linear Algebra Society, pp. 261–264, 2007. View at: Google Scholar
17. Y. Li, D. L. Olson, and Z. Qin, “Similarity measures between intuitionistic fuzzy (vague) sets: a comparative analysis,” Pattern Recognition Letters, vol. 28, no. 2, pp. 278–285, 2007. View at: Publisher Site | Google Scholar
18. S. Raha, A. Hossain, and S. Ghosh, “Similarity based approximate reasoning: fuzzy control,” Journal of Applied Logic, vol. 6, no. 1, pp. 47–71, 2008.
19. S.-H. Wei and S.-M. Chen, “A new approach for fuzzy risk analysis based on similarity measures of generalized fuzzy numbers,” Expert Systems with Applications, vol. 36, no. 1, pp. 589–598, 2009. View at: Publisher Site | Google Scholar
20. Z. Xu, S. Shang, W. Qian, and W. Shu, “A method for fuzzy risk analysis based on the new similarity of trapezoidal fuzzy numbers,” Expert Systems with Applications, vol. 37, no. 3, pp. 1920–1927, 2010. View at: Publisher Site | Google Scholar
21. J. Z. C. Lai, E. Y. T. Juan, and F. J. C. Lai, “Rough clustering using generalized fuzzy clustering algorithm,” Pattern Recognition, vol. 46, no. 9, pp. 2538–2547, 2013. View at: Publisher Site | Google Scholar