Research Article  Open Access
Xiaofeng Niu, Guanqian Wang, Wei Liang, Hua Hou, Hongxia Wang, Jinshan Zhang, "Application of Fuzzy Set Theory to Quantitative Analysis of Correctness of the Mathematical Model Based on the ADI Method during Solidification", Mathematical Problems in Engineering, vol. 2013, Article ID 894384, 7 pages, 2013. 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
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 thickwalled 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 thinwalled 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 [1–3]: 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 [4–6].
The critical time step in the EFD method can be taken as follows [6–8]: 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 highorder ADI method that is fourth order in space and second order in time. This highorder mathematical model is based on the equivalent specific heat method, and the highorder ADI method is more accurate than the EFD method [7–12].
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 [13–15].
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 [8]:
The discretization equations of this highorder mathematical model based on the equivalent specific heat method and the highorder ADI method can be given as the following: where ; , , and are the secondorder 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 [16].
The calculation speed of this highorder mathematical model is faster because it is unconditionally stable. Table 1 shows that this highorder mathematical model is more accurate than the EFD method.

Because the figure analysis cannot be used for quantitative analysis, the fuzzy mathematical theory is introduced [15–19]. 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 [19–21].
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.

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 highorder mathematical model, which is based on the equivalent specific heat method and the highorder 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.
(a) The mesh number remains constant
(b) The time step remains constant
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 highorder mathematical model is based on the equivalent specific heat method and the highorder ADI method, which can be used to calculate the temperature field. For the thickwalled 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 thickwalled 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.
(a) The mesh number remains constant
(b) The time step remains constant
The conclusions are that for the thinwalled 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 highorder mathematical model, which is based on the equivalent specific heat method and the highorder 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 highorder mathematical model is shown in Table 3.
 
The hardware environment: microcomputer. 
4. Conclusions
(1)The highorder mathematical model based on the equivalent specific heat method and the highorder 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 thickwalled 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 thinwalled 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).
References
 D.C. Tsai and W.S. Hwang, “Numerical simulation of solidification morphologies of Cu0.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
 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
 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
 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
 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
 J.J. Droux, “Threedimensional numerical simulation of solidification by an improved explicit scheme,” Computer Methods in Applied Mechanics and Engineering, vol. 85, no. 1, pp. 57–74, 1991. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 Y.F. Chiu, Y.L. Tsai, and W.S. Hwang, “Mathematical modeling for the solidification heattransfer phenomena during the reflow process of leadtin alloy solder joint in electronics packaging,” Applied Mathematical Modelling, vol. 27, no. 7, pp. 565–579, 2003. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 H. Hou, Studies on Numerical Simulation for LiquidMetal Filling and Solidification during Casting Process, Saitama Institute of Technology, Saitama, Japan, 2005.
 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
 W. Y. Liao, “A highorder ADI finite difference scheme for a 3D reactiondiffusion 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
 S. Karaa and J. Zhang, “High order ADI method for solving unsteady convectiondiffusion problems,” Journal of Computational Physics, vol. 198, no. 1, pp. 1–9, 2004. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 Y.B. Ge, Z.F. Tian, and W.Q. Wu, “A highorder 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
 L. A. Zadeh, “Fuzzy sets,” Information and Control, vol. 8, no. 3, pp. 338–353, 1965. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 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. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 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
 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
 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
 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. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 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
 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
 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
Copyright
Copyright © 2013 Xiaofeng Niu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.