Skip to main content

Advertisement

Log in

Nature inspired algorithms for the solution of inverse heat transfer problems applied to distinct unsteady heat flux orientations in cylindrical castings

  • Published:
Journal of Intelligent Manufacturing Aims and scope Submit manuscript

Abstract

One of the most important parameters in the foundry design of castings is the heat transfer coefficient at the casting/mold surface (h), which significantly affects the solidification cooling rate and defines the as-cast microstructure and, consequently, its properties. The inverse heat transfer problem (IHTP) is a needed task to be solved in many casting processes to evaluate this coefficient. In this work, four different nature inspired algorithms [genetic algorithm (GA), evolutionary strategy (ES), artificial immune system (AIS) and particle swarm algorithm (PSO)] have been integrated to a numerical model of solidification to solve the IHTP problem with a view to evaluating the transient profile of h during solidification of three different cylindrical casting setups (outward, inward and upward). The aim is to reduce the number of iterations to achieve successful results by the association between metaheuristics and different sets of h values. Therefore, an objective function was modeled to match the temperatures predicted by the numerical model to those of experimental measurements. Sets of 10, 20, 50, 100 and 200 h values used to compose its transient profile have been evaluated by the four metaheuristics approaches aiming to characterize each casting situation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

Availability of data and material

Data will be made available on request.

Code availability

As comprehensive implementation details are provided, we have decided not to pub-lish the code. Scientists or interested parties are welcome to contact the authors for further explanations.

Notes

  1. https://www.scilab.org/.

  2. https://help.scilab.org/docs/5.5.2/en_US/gsort.html.

References

  • Abualigah, L., Abd Elaziz, M., Sumari, P., Geem, Z. W., & Gandomi, A. H. (2022). Reptile Search Algorithm (RSA): A nature-inspired meta-heuristic optimizer. Expert Systems with Applications, 191, 116158. https://doi.org/10.1016/j.eswa.2021.116158

    Article  Google Scholar 

  • Abualigah, L., Yousri, D., Abd Elaziz, M., Ewees, A. A., Al-qaness, M. A., & Gandomi, A. H. (2021a). Aquila Optimizer: A novel meta-heuristic optimization Algorithm. Computers & Industrial Engineering, 157, 107250. https://doi.org/10.1016/j.cie.2021.107250

    Article  Google Scholar 

  • Abualigah, L., Diabat, A., Mirjalili, S., Abd Elaziz, M., & Gandomi, A. H. (2021b). The arithmetic optimization algorithm. Computer Methods in Applied Mechanics and Engineering, 376, 113609. https://doi.org/10.1016/j.cma.2020.113609

    Article  Google Scholar 

  • Ali, A. B., Luque, G., & Alba, E. (2020). An efficient discrete PSO coupled with a fast local search heuristic for the DNA fragment assembly problem. Information Sciences, 512, 880–908. https://doi.org/10.1016/j.ins.2019.10.026

    Article  Google Scholar 

  • Ateeq, M., Habib, H., Umer, A., & Rehman, M. U. (2014). C++ or Python? Which One to Begin with: A Learner's Perspective. In 2014 International Conference on Teaching and Learning in Computing and Engineering (pp. 64–69). IEEE. https://doi.org/10.1109/LaTiCE.2014.20

  • Baserinia, R., Ng, H., Weckman, D. C., Wells, M. A., Barker, S., & Gallerneault, M. (2012). A simple model of the mold boundary condition in direct-chill (dc) casting of aluminum alloys. Metallurgical and Materials Transactions B, 43, 887–901. https://doi.org/10.1007/s11663-012-9658-y

    Article  Google Scholar 

  • Beck, J. V., Blackwell, B., & Haji-Sheikh, A. (1996). Comparison of some inverse heat conduction methods using experimental data. International Journal of Heat and Mass Transfer, 39(17), 3649–3657. https://doi.org/10.1016/0017-9310(96)00034-8

    Article  Google Scholar 

  • Beielstein, T., Parsopoulos, K. E., & Vrahatis, M. N. (2002). Tuning PSO parameters through sensitivity analysis. Universitätsbibliothek Dortmund.

  • Bertelli, F., Silva-Santos, C. H., Bezerra, D. J., Cheung, N., & Garcia, A. (2015). An effective inverse heat transfer procedure based on evolutionary algorithms to determine cooling conditions of a steel continuous casting machine. Materials and Manufacturing Processes., 30(4), 414–424. https://doi.org/10.1080/10426914.2014.952038

    Article  Google Scholar 

  • Bertelli, F., Faria, J. D., Goulart, P. R., Brito, C., Cheung, N., & Garcia, A. (2016). Numerical and experimental modelling of two-dimensional unsteady heat transfer during inward solidification of square billets. Applied Thermal Engineering, 96, 454–462. https://doi.org/10.1016/j.applthermaleng.2016.06.177

    Article  Google Scholar 

  • Bilir, L., & Ilken, Z. (2005). Total solidification time of a liquid phase change material enclosed in cylindrical/spherical containers. Applied Thermal Engineering, 25(10), 1488–1502. https://doi.org/10.1016/j.applthermaleng.2004.10.005

    Article  Google Scholar 

  • Brimacombe, J. K. (1999). The challenge of quality in continuous casting processes. Metallurgical and Materials Transactions a., 30, 1899–1912. https://doi.org/10.1007/s11661-999-0001-4

    Article  Google Scholar 

  • Caetano, M., Zacharakis, A., Barbancho, I., & Tardón, L. J. (2019). Leveraging diversity in computer-aided musical orchestration with an artificial immune system for multi-modal optimization. Swarm and Evolutionary Computation, 50, 100484. https://doi.org/10.1016/j.swevo.2018.12.010

    Article  Google Scholar 

  • Cante, M. V., Soares, T., Brito, C., Garcia, A., Cheung, N., & Spinelli, J. E. (2018). An alternative to the recycling of Fe-contaminated Al. Journal of Sustainable Metallurgy, 4, 412–426. https://doi.org/10.1007/s40831-018-0188-y

    Article  Google Scholar 

  • Cemernek, D., Cemernek, S., Gursch, H., et al. (2021). Machine learning in continuous casting of steel: A state-of-the-art survey. Journal of Intelligent Manufacturing. https://doi.org/10.1007/s10845-021-01754-7

    Article  Google Scholar 

  • Chang, X. W., & Paige, C. C. (2007). Euclidean distances and least squares problems for a given set of vectors. Applied Numerical Mathematics, 57(11–12), 1240–1244. https://doi.org/10.1016/j.apnum.2007.01.008

    Article  Google Scholar 

  • Cheung, N., Ferreira, I. L., Pariona, M. M., Quaresma, J. V. M., & Garcia, A. (2009). Melt characteristics and solidification growth direction with respect to gravity affecting the interfacial heat transfer coefficient of chill castings. Materials & Design, 30(9), 3592–3601. https://doi.org/10.1016/j.matdes.2009.02.025

    Article  Google Scholar 

  • Cheung, N., Santos, C. A., Spim, J. A., & Garcia, A. (2006). Application of a heuristic search technique for the improvement of spray zones cooling conditions in continuously cast steel billets. Applied Mathematical Modelling, 30(1), 104–115. https://doi.org/10.1016/j.apm.2005.03.008

    Article  Google Scholar 

  • Coello Coello, C. A. (2017). Constraint-handling techniques used with evolutionary algorithms. In Proceedings of the Genetic and Evolutionary Computation Conference Companion, pp 675–701. https://doi.org/10.1145/2908961.2926986

  • Coment, E., Loulou, T., & Maillet, D. (2015). Estimation of local heat transfer coefficient on a cylinder: Comparison between an analytical and an optimization method. Inverse Problems in Science and Engineering, 13(5), 449–467. https://doi.org/10.1080/17415970500031791

    Article  Google Scholar 

  • Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2009). Introduction to algorithms. MIT press.

    Google Scholar 

  • De Castro, L. N. (2008). Fundamentals of natural computing: Basic concepts, algorithms, and applications. Chapman & Hall/CRC Press.

    Google Scholar 

  • De Castro, L. N., & Von Zuben, F. J. (2020). Artificial immune systems: Part I–basic theory and applications. Retrieved July 10, 2021, from http://www0.cs.ucl.ac.uk/staff/p.bentley/teaching/L9_reading/trdca0199.pdf.

  • Diakonikolas, I., Kamath, G., Kane, D. M., Li, J., Moitra, A., & Stewart, A. (2017). Being robust (in high dimensions) can be practical. In Proceedings of the 34th International Conference on Machine Learning, pp 999–1008.

  • Fellows, M. R., Fomin, F. V., Lokshtanov, D., Rosamond, F., Saurabh, S., & Villanger, Y. (2012). Local search: Is brute-force avoidable? Journal of Computer and System Sciences, 78(3), 707–719. https://doi.org/10.1016/j.jcss.2011.10.003

    Article  Google Scholar 

  • García-Nieto, J., Alba, E., Jourdan, L., & Talbi, E. G. (2007). A comparison of PSO and GA approaches for gene selection and classification of microarray data. In Proceedings of the 9th annual conference on genetic and evolutionary computation, pp 427–427. https://doi.org/10.1145/1276958.1277047

  • Hansen, N., Auger, A., Ros, R., Finck, S., & Posik, P. (2010). Comparing results of 31 algorithms from the black-box optimization benchmarking bbob-2009. In Proceedings of the 12th annual conference companion on Genetic and evolutionary computation, pp 1689–1696. https://doi.org/10.1145/1830761.1830790

  • Hetmaniok, E., Hristov, J., Słota, D., & Zielonka, A. (2017). Identification of the heat transfer coefficient in the two-dimensional model of binary alloy solidification. Heat and Mass Transfer, 53, 1657–1666. https://doi.org/10.1007/s00231-016-1923-1

    Article  Google Scholar 

  • Hetmaniok, E., Słota, D., & Zielonka, A. (2007). Using the swarm intelligence algorithms in solution of the two-dimensional inverse Stefan problem. Computers & Mathematics with Applications, 69(4), 995–999. https://doi.org/10.1016/j.camwa.2014.12.013

    Article  Google Scholar 

  • Hetmaniok, E., Słota, D., & Zielonka, A. (2015). Restoration of the cooling conditions in a three-dimensional continuous casting process using artificial intelligence algorithms. Applied Mathematical Modelling, 39(16), 4797–4807. https://doi.org/10.1016/j.apm.2015.03.056

    Article  Google Scholar 

  • Hetmaniok, E., Słota, D., & Zielonka, D. (2013). Experimental verification of immune recruitment mechanism and clonal selection algorithm applied for solving the inverse problems of pure metal solidification. International Communications in Heat and Mass Transfer, 47, 7–14. https://doi.org/10.1016/j.icheatmasstransfer.2013.07.009

    Article  Google Scholar 

  • Heybrock, S., Arnold, O., Gudich, I., Nixon, D., & Vaytet, N. (2020). Scipp: Scientific data handling with labeled multi-dimensional arrays for C++ and Python. Journal of Neutron Research, 22, 169–181. https://doi.org/10.3233/JNR-190131

    Article  Google Scholar 

  • Ho, K., & Pehlke, R. D. (1985). Metal-Mold interfacial heat transfer. Metallurgical Transactions B, 16, 585–594. https://doi.org/10.1007/BF02654857

    Article  Google Scholar 

  • Holden, N., & Freitas, A. A. (2008). Improving the performance of hierarchical classification with swarm intelligence. In European conference on evolutionary computation, machine learning and data mining in bioinformatics. Berlin, Heidelberg, pp 48–60.

  • Hruschka, E. R., Campello, R. J., Freitas, A. A., & De Carvalho, A. C. P. F. (2009). A survey of evolutionary algorithms for clustering. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 39(2), 133–155. https://doi.org/10.1109/TSMCC.2008.2007252

    Article  Google Scholar 

  • Incropera, F. P., & Dewitt, D. P. (1990). Fundamentals of heat and mass transfer. Wiley.

    Google Scholar 

  • Kazimipour, B., Li, X., & Qin, A. K. (2014). A review of population initialization techniques for evolutionary algorithms. In IEEE Congress on Evolutionary Computation (CEC), Beijing, pp 2585–2592. https://doi.org/10.1109/CEC.2014.6900618

  • Khare, A., & Rangnekar, S. (2013). A review of particle swarm optimization and its applications in solar photovoltaic system. Applied Soft Computing, 13(5), 2997–3006. https://doi.org/10.1016/j.asoc.2012.11.033

    Article  Google Scholar 

  • Khouadjia, M. R., Sarasola, B., Alba, E., Jourdan, L., & Talbi, E. G. (2012). A comparative study between dynamic adapted PSO and VNS for the vehicle routing problem with dynamic requests. Applied Soft Computing, 12(4), 1426–1439. https://doi.org/10.1016/j.asoc.2011.10.023

    Article  Google Scholar 

  • Krishnan, M., & Sharma, D. G. R. (1996). Determination of the interfacial heat transfer coefficient h in unidirectional heat flow by Beck’s nonlinear estimation procedure. International Communications in Heat and Mass Transfer, 23(2), 203–214. https://doi.org/10.1016/0735-1933(96)00006-1

    Article  Google Scholar 

  • Loulou, T., Artyukhin, E. A., & Bardon, J. P. (1999). Estimation of thermal contact resistance during the first stages of metal solidification process: I—Experiment principle and modelisation. International Journal of Heat and Mass Transfer, 42(12), 2119–2212. https://doi.org/10.1016/S0017-9310(98)00333-0

    Article  Google Scholar 

  • Michalis, M., Li, C., & Yang, S. (2017). A survey of swarm intelligence for dynamic optimization: Algorithms and applications. Swarm and Evolutionary Computation, 33, 1–17. https://doi.org/10.1016/j.swevo.2016.12.005

    Article  Google Scholar 

  • Miranda, E. S., Fabris, F., Nascimento, C. G., Freitas, A. A., & Oliveira, A. C. (2018). Meta-learning for recommending metaheuristics for the maxsat problem. In 7th Brazilian Conference on Intelligent Systems (BRACIS), pp 169–174.

  • Osório, W. R., Cheung, N., Spinelli, J. E., Cruz, K. S., & Garcia, A. (2008). Microstructural modification by laser surface remelting and its effect on the corrosion resistance of an Al–9 wt%Si casting alloy. Applied Surface Science, 254(9), 28. https://doi.org/10.1016/j.apsusc.2007.10.013

    Article  Google Scholar 

  • Pedroso, R. I., & Domoto, G. A. (1973). Inward spherical solidification—Solution by the method of strained coordinates. International J Heat Mass Trans, 16(5), 1037–1043. https://doi.org/10.1016/0017-9310(73)90042-2

    Article  Google Scholar 

  • Raissi, M., Perdikaris, P., & Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378, 686–707. https://doi.org/10.1016/j.jcp.2018.10.045

    Article  Google Scholar 

  • Rajaraman, R., & Velraj, R. (2008). Comparison of interfacial heat transfer coefficient estimated by two different techniques during solidification of cylindrical aluminum alloy casting. Heat and Mass Transfer, 44, 1025–1034. https://doi.org/10.1007/s00231-007-0335-7

    Article  Google Scholar 

  • Ransing, R. S., Srinivasan, M. N., Lewis, R. W. (1995). ICADA: Intelligent computer aided defect analysis for castings. Journal of Intelligent Manufacturing, 6, 29–40 (1995).

  • Ruddle, R. W. (1957). The Solidification of Castings. Institute of Metals.

    Google Scholar 

  • Salto, C., & Alba, E. (2009). Cellular Genetic algorithms: Understanding the behavior of using neighborhoods. Applied Artificial Intelligence, 39(10), 133–155. https://doi.org/10.1080/08839514.2019.1646005

    Article  Google Scholar 

  • Santos, C. A., Quaresma, J., & Garcia, A. (2001). Determination of transient interfacial heat transfer coefficients in chill mold castings. Journal of Alloys and Compounds, 319(1–2), 174–186. https://doi.org/10.1016/S0925-8388(01)00904-5

    Article  Google Scholar 

  • Santos, C.A., Cheung, N., Garcia, A. (2005). Application of a solidification mathematical model and a genetic algorithm in the optimization of strand thermal profile along the continuous casting of steel. Materials and Manufacturing Processes, 20(3), 421, 434. https://doi.org/10.1081/AMP-200053451

  • Scheil, E. (1947). Beitrag Zum Problem Der Blockseigerung. Metallforschung, 38, 69–75.

    Google Scholar 

  • Scilab. (2020). Retrieved November 30, 2020, from https://help.scilab.org/docs/5.3.3/en_US/rand.html.

  • Silva, B. L., Cheung, N., Garcia, A., & Spinelli, J. E. (2012). Thermal parameters, microstructure, and mechanical properties of directionally solidified Sn-0.7 wt.%Cu solder alloys containing 0 ppm to 1000 ppm Ni. Journal of Electronic Materials, 42, 179–191. https://doi.org/10.1007/s11664-012-2263-7

    Article  Google Scholar 

  • Silva, B. L., Cheung, N., Garcia, A., & Spinelli, J. E. (2015). Evaluation of solder/substrate thermal conductance and wetting angle of Sn–0.7 wt%Cu–(0–0.1 wt%Ni) solder alloys. Materials Letters, 142, 153–167. https://doi.org/10.1016/j.matlet.2014.11.088

    Article  Google Scholar 

  • Silva, G.C., Dasgupta, D. (2016). A survey of recent works in artificial immune systems, in: P. P. Angelov (Ed.) , Handbook on Computational Intelligence, Evolutionary Computation, Hybrid Systems, and Applications (pp. 547–586). https://doi.org/10.1142/9789814675017_0015

  • Silva, L. G., Sodré, A. C., Jr., & Silva-Santos, C. H. (2014). Development of tri-band RF filters using evolutionary strategy. AEU - International Journal of Electronics and Communications, 68(12), 1156–1164. https://doi.org/10.1016/j.aeue.2014.06.004

    Article  Google Scholar 

  • Silva-Santos, C. H., Goulart, P. R., Bertelli, F., Garcia, A., & Cheung, N. (2018a). An artificial immune system algorithm applied to the solution of an inverse problem in unsteady inward solidification. Advances in Engineering Software, 121, 178–187. https://doi.org/10.1016/j.advengsoft.2018.04.012

    Article  Google Scholar 

  • Silva-Santos, C. H., Goncalves, M. S., & Hernández-Figueroa, H. E. (2018b). Evolutionary strategy algorithm in a complex photonic coupler device optimization. IEEE Latin America Transactions, 16(2), 613–619. https://doi.org/10.1109/TLA.2018.8327420

    Article  Google Scholar 

  • Silva-Santos, C. H., Rodríguez-Esquerre, V. F., & Hernández-Figueroa, H. E. (2015). Artificial immune network design of optical multiplexers/demultiplexers. Journal of Microwaves, Optoelectronics and Electromagnetic Applications, 14(2), 229–237. https://doi.org/10.1590/2179-10742015v14i2442

    Article  Google Scholar 

  • Souza, E. N., Cheung, N., Santos, C. A., & Garcia, A. (2006). The variation of the metal/mold heat transfer coefficient along the cross section of cylindrical shaped castings. Inverse Problems in Science and Engineering, 14(5), 467–481. https://doi.org/10.1080/17415970600573650

    Article  Google Scholar 

  • Sun, Jy., Le, Qc., Wang, T., et al. (2019). Investigation on heat-transfer-coefficient between aluminum alloy and organic/inorganic sand mold based on inverse method. China Foundry, 16, 336–341. https://doi.org/10.1007/s41230-019-9065-y

    Article  Google Scholar 

  • Tian, D., & Shi, Z. (2018). MPSO: Modified particle swarm optimization and its applications. Swarm and Evolutionary Computation, 41, 49–68. https://doi.org/10.1016/j.swevo.2018.01.011

    Article  Google Scholar 

  • Vidal, J. M., Orozco, A. L. S., & Villalba, L. J. G. (2018). Adaptive artificial immune networks for mitigating DoS flooding attacks. Swarm and Evolutionary Computation, 38, 94–108. https://doi.org/10.1016/j.swevo.2017.07.002

    Article  Google Scholar 

  • Vishweshwara P.S., Gnanasekaran N., Arun M. (2019a) Estimation of interfacial heat transfer coefficient for horizontal directional solidification of Sn-5 wt%Pb alloy using genetic algorithm as inverse method. In Bansal J., Das K., Nagar A., Deep K., Ojha A. (Eds.) Soft Computing for problem solving. Advances in intelligent systems and computing (pp. 447–460). Springer. https://doi.org/10.1007/978-981-13-1592-3_35

  • Vishweshwara, P. S., Gnanasekaran, N., & Arun, M. (2019b). Simultaneous estimation of unknown parameters using a-priori knowledge for the estimation of interfacial heat transfer coefficient during solidification of Sn–5wt%Pb alloy—An ANN-driven Bayesian approach. Sadhana-Academy Proceedings in Engineering Sciences, 44, 1–15. https://doi.org/10.1007/s12046-019-1076-2

    Article  Google Scholar 

  • Vishweshwara, P. S., Gnanasekaran, N., & Arun, M. (2020). Inverse approach using bio-inspired algorithm within bayesian framework for the estimation of heat transfer coefficients during solidification of casting. Journal of Heat Transfer, 142, 012403. https://doi.org/10.1115/1.4045134

    Article  Google Scholar 

  • Zhang, Z. (2019). Fast multiobjective immune optimization approach solving multiobjective interval number programming. Swarm and Evolutionary Computation, 51, 100578. https://doi.org/10.1016/j.swevo.2019.100578

    Article  Google Scholar 

  • Zielonka, A., Hetmaniok, E., & Slota, D. (2018). Application of the immune algorithm IRM for solving the inverse problem of metal alloy solidification including the shrinkage phenomenon. Computer Methods in Materials Science, 18, 1–10.

    Google Scholar 

Download references

Funding

This study was financed by: FAPESP (São Paulo Research Foundation: grant 2009/52197-7) and CNPq—National Council for Scientific and Technological Development and IFSP—Federal Institute of Education, Science and Technology of São Paulo (Grant PRP-IFSP 226/2016) for their financial support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Noé Cheung.

Ethics declarations

Conflict of interest

The authors declare no potential conflicts of interest with respect to the research and/or publication of this article.

Ethical approval

Not applicable.

Consent to participate

Not applicable.

Consent for publication

Not applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendices

Appendix A: Nature Inspired Algorithms

Among the several types of nature inspired algorithms, four have been chosen to be compared due to their particular characteristics. The Genetic Algorithm (GA) metaheuristic has mechanisms of variability (mutation and recombination) similar to the Evolutionary Strategy (ES). While GA starts with a single population that interacts itself over generations, ES interacts with different populations which can provide greater variability. On the other hand, the Particle Swarm optimization (PSO) is the starting point of metaheuristics inspired by a swarm of particles, in which the optimization considers the spatial relationships of each candidate solution (particle) in space over time, e.g., local, and relative velocities of the particles. Artificial Immune System (AIS) deals with both global and local searches, since its suppression function delimits a region of interest representing the zone at which the antibody survives and therefore more antibodies can be randomly created by clonal expansion (De Castro, 2008; Silva-Santos et al., 2015; Silva-Santos, Goncalves, et al., 2018). This, consequently, brings another difference in relation to the previous metaheuristics due to the variation in the size of the population along the optimization.

The nature inspired algorithms are herein designated by a bi-dimensional matrix (Eq. 20), where each line is associated with a candidate solution that is differently named in each heuristic, such as antibody in AIS, chromosome in GA, parent or offspring in ES and particle in the PSO algorithm. Therefore, according to Eq. (20), each of the n matrix lines is associated with one candidate solution and the m columns of them are the attributes necessary to be searched in the optimization procedure described in previous studies (Silva-Santos et al., 2015; Silva-Santos et al., 2018). Furthermore, each of the m attributes of the n individuals of the population can vary in the range from \(VM \in_{{\left[ {1:m} \right]}}\) to \(VMax_{{\left[ {1:m} \right]}}\). This hn,m attribute constraint is associated with the number of heat transfer coefficients h, where here m columns are executed with 10, 20, 50, 100 and 200 values to designate different random input values of h.

$$ Population = \left[ {\begin{array}{*{20}c} {h_{1,1} } & {h_{1,2} } & {h_{1,3} } & \ldots & {h_{1,m} } \\ {h_{2,1} } & {h_{2,2} } & {h_{2,3} } & \ldots & {h_{2,m} } \\ \vdots & \vdots & \vdots & \vdots & \vdots \\ {h_{n,1} } & {h_{n,2} } & {h_{n,3} } & \ldots & {h_{n,m} } \\ \end{array} } \right] \vee \left\{ {VMin_{m} \le h_{n,m} \le VMax_{m} } \right\} $$
(20)

Each candidate solution, i.e., each line of the matrix (Eq. 20), is randomly generated by Eq. (21), where its probability density function is given by a uniform distribution function given by Eq. (22), where u is the result from the randomly distribution limited by d and g designated as the normalized values between the lowest (0) and highest (1) value interval limits, respectively. In addition, each hn is a data vector with m attributes and associated with each Population matrix to identify each candidate solutions, where their attributes values are set in the predefined range between \(VMin_{{\left[ {1:m} \right]}}\) = 400 and \(VMax_{{\left[ {1:m} \right]}}\) = 10,000 (Silva-Santos, Goulart, et al., 2018).

$$ h_{{n,\left[ {1:m} \right]}} = rand\left( {} \right)_{{\left[ {1:m} \right]}} \cdot \left( {VMax_{{\left[ {1:m} \right]}} - VMin_{{\left[ {1:m} \right]}} } \right) + VMin_{{\left[ {1:m} \right]}} $$
(21)
$$ u = \frac{1}{d - g} \vee \left[ {d,g} \right) \cup 0 $$
(22)

Considering the development of the metaheuristics in Scilab toolbox, according to its manual, the rand function seed is by default initiated in zero (Scilab, 2020).

The number of candidate solutions is fixed in GA and PSO, but in ES it is cyclically resized along each iteration by the parents and offspring populations considered. In AIS, the number of antibodies depends on the convergence of results achieved along the iterations. These population resize in AIS and ES algorithms is essentially associated with their search space solution. In AIS, the antibody population is initiated with 30% of the predefined n population size and it can be cloned (expanded) until n to maximize the search exploration. When the AIS is converging, the number of antibodies is randomly reduced until 10% of m according to the suppression criteria defined by antibodies local proximity defined by \(\sigma_{local}\). The σlocal is a parameter to determine a local search space region to identify best solutions in this region, which will be further detailed.

Nevertheless, the ES population resize is iteratively controlled, where each generation starts with µpar that generates another novel λoff offspring’s, filling out the Population matrix with n lines (n = µpar + λoff). Afterwards, only µpar best individuals in the Population is selected to be reused in the next generation, returning the matrix size to µpar lines. Therefore, λoff is associated with the number of offspring population, as µpar defines the number of individuals in the parents´ population. Furthermore, considering the numerical accuracy necessary to define the heat transfer coefficient (h) vector, its random values were defined as double float precision.

Other different computational approaches to characterize each algorithm is associated with randomly variational operators that are designated as recombination and mutation in GA and ES, by their evolutive based structure (Fig. 13) (De Castro, 2008; Hruschka et al., 2009; Salto & Alba, 2009). In GA and ES a pair of candidate solutions are required to generate a new one, but in ES, only parents are considered to generate a new candidate solution designated by chromosome in GA and offspring in ES (Coello Coello, 2017; Kazimipour et al., 2014). This recombination is herein randomly performed by the vector breaking point to consider the m attributes from each individual. As example, to generate a certain individual m/2 attributes were considered from two different previous solution candidates (Silva et al., 2014). On the other hand, in ES and GA, only the mutation operator is similar in both algorithms, and they are designated randomly by the Cauchy values in the range of \(VMin_{{\left[ {1:m} \right]}}\) and \(VMax_{{\left[ {1:m} \right]}}\). Therefore, these operators are responsible for generating new and different candidates.

Fig. 13
figure 13

General evolutionary algorithm (ES and GA) dataflow representation

The AIS and PSO algorithms are different from the evolutive algorithms (GA and ES). The PSO algorithm was initially proposed to mimetize the bird flock flying behavior and, since them, variations have been developed to overcome some limitations, such as the local minima search (Ali et al., 2020; García-Nieto, et al., 2007; Khouadjia et al., 2012; Miranda et al., 2018). This mimetization procedure concerns solving multidimensional space problems by positioning each bird in the space according to its previous experience or randomly generated, associating them with their neighbors’ positions. Therefore, each element is considered as a particle described by a velocity vector without mass and volume (Holden & Freitas, 2008; Khare & Rangnekar, 2013).

The main vector velocity calculation is described by Eq. (23), where Vglobal is associated with the global particle velocity in each iteration, C1 and C2 are constants to provide the stochastic acceleration terms by the particle weighting representation for Pbest (particle best value) and Gbest (global best positions), respectively (Michalis et al., 2017; Tian & Shi, 2018).

$$ Vglobal_{{i,j}} = Vglobal_{{i,j}} + C_{1} \cdot rand() \cdot \left( {P_{{best\;i,j}} - Vlocal_{{i,j}} } \right) + C_{2} \cdot rand() \cdot \left( {P_{{best\;i,G_{{best}} }} \; - \;Vlocal_{{i,j}} } \right) $$
(23)

The global and local velocity parameters of the particles, C1 and C2 respectively, aims to support particles evolution along the iterations in global optimization perspective and to improve local search-based solution in each iteration.

Finally, the AIS is a different category of nature inspired algorithm to mathematically mimetize some general relations between antibodies and antigenic relations (Caetano et al., 2019; De Castro & Von Zuben, 2020; Diakonikolas et al., 2017; Silva & Dasgupta, 2016; Vidal et al., 2018; Zhang, 2019).

Two main optimization procedures in this category are detached from Evolutionary Algorithms (GA and ES) and swarm intelligence (PSO) algorithms. At first, such as already mentioned, there is a global search when every antibody in the population is considered to return best solution and a local search exploitation determined by σlocal to select best candidate solution in this region. The second original difference is the population resize along the generations.

Therefore, the matrix number of lines of Eq. (20) is dynamic along the iterations in order to abstract the self-adaptivity occurred in the vertebrate immune system according the antibodies and antigenic matching to suppression as an immune response (De Castro & Von Zuben, 2020).

Herein, an opt-Ainet algorithm-based version was developed to attempt these antibodies and antigenic dynamic relations by the suppression mechanism in certain regions delimited by the input parameter σ. When σlocal < σ, a local search is considered to identify the best individual in the referred suppression region Eq. (24) and each σlocal is calculated by Euclidean distances measurements in Eq. (25) (Caetano et al., 2019; Diakonikolas et al., 2017; Silva & Dasgupta, 2016):

$$ Supression_{Region} = \left\{ {\left( {\sigma_{Local} ,\sigma } \right) \vee \sigma_{Local} \le \sigma } \right\} $$
(24)
$$ \sigma _{{Local}} = \sqrt {\left( {h_{{i1,j1}} - h_{{i2,j2}} } \right)^{2} } \left| {0 \le \left( {j_{1} \ne j_{2} } \right) \le n_{{Parameters}} } \right|0 \le \left( {i_{1} \ne i_{2} } \right) \le n_{{Antibodies}}$$
(25)

where the σlocal is the local parameter determination for each j parameter of pi1 or pi2 antibodies, henceforth, j1 and j2 are different attributes of each antibody.

Appendix B: Optimization Convergence

Considering the inverse heat transfer complexity to determine the h coefficients in different inward, outward and upward flow directions and computational limitations already mentioned, these conditions converge in a large runtime machine to execute each optimization trial. Consequently, usual convergence benchmarking analysis with multiple executions to consider the average iterative values is not viable under the problem circumstances. Henceforth, considering the results with different h coefficient vector values for each heat transfer flow direction is possible to prospect a convergence pattern, as described next.

At first, Fig. 14 presents the inward heat transfer flow with 10, 20, 50, 100 and 200 h values with each of the natural inspired algorithms. The ES algorithm usually returned best results with lower numbers of h values (10, 20 and 50). However, with 100 and 200 every metaheuristic achieved similar values with the same 70 iterations. The PSO executions with lowest number of h values random initial population low searched value persist along many iterations, possibly motivated by small population variation. On the other hands, the PSO in h with 100 and 200 values is close to a linear convergence along the iterations.

Fig. 14
figure 14

Inward heat transfer flow optimization convergence curves with a 10, b 20, c 50, d 100 and (200) h values

These convergence observations in inward heat transfer flow are replicated to outward system. Furthermore, the convergence curves with different h also presents similar patterns along the iterative process. Therefore, with lowest number of h values the optimization reached acceptable results, such as presented in Fig. 15 for 10 (a), 20 (b), 50 (c), 100 (d) and 200 (d) values.

Fig. 15
figure 15

Outward heat transfer flow optimization convergence curves with a 10, b 20, c 50, d 100 and (200) h values

Finally, the upward heat transfer flow with largest runtime machine to be processed by the numerical model herein presented required by them. However, the metaheuristics convergence follows similar characteristics than previous inward and outward results. Therefore, the ES algorithm returned best results with lowest numbers of h values, as shown in Figs 16(a) and (b) for 10 and 20 h values, respectively. Furthermore, the almost linear descendent convergence along the iterative process is similar in 100 and 200 h values, respectively presented in Fig. 16(d) and (e).

Fig. 16
figure 16

Upward heat transfer flow optimization convergence curves with a 10, b 20, c 50, d 100 and (200) h values

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

da Silva-Santos, C.H., Goulart, P.R., Bertelli, F. et al. Nature inspired algorithms for the solution of inverse heat transfer problems applied to distinct unsteady heat flux orientations in cylindrical castings. J Intell Manuf 34, 2407–2430 (2023). https://doi.org/10.1007/s10845-022-01935-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10845-022-01935-y

Keywords

Navigation