Abstract
A deep collocation method (DCM) is proposed for studying the natural convection phenomenon in the porous media (NCPM). The buoyancy-driven convection analysis inside the porous media is a complex process governed by dynamical conservation laws. Furthermore, these conservation laws involve complex nonlinear governing equations, which are required special computational techniques in well-known numerical methods like finite element method (FEM), finite difference method (FDM), finite volume method (FVM), and others. Such numerical schemes often face computational limitations like mesh generation, dimensionality limitations, increased computation errors for complex domains, and challenges in modeling physics. This research employs an unsupervised deep learning (DL) approach to address and resolve the typical computational challenges encountered in traditional numerical methods when dealing with natural convection in complex porous enclosures. In contrast to mesh-based numerical methods, the computational procedure in the DL approach involves domain and boundary discretization, followed by the random sampling of collocation points throughout the entire physical domain and its boundaries. Furthermore, a loss function is defined based on the governing differential equations and boundary conditions, which are minimized at the collocation points to achieve the desired solution. A combination of gradient-based optimizers is deployed to obtain a better set of parameter values using the backpropagation algorithm. The entire setup of the feedforward neural network is trained to approximate the solution with acceptable accuracy. The study explores four configurations of porous enclosures for a nonlinear mathematical model of natural convection in porous media, with various combinations of Neumann and Dirichlet boundary conditions. Additionally, the results from the mesh-based FEM are chosen as reference data to validate the consistency and accuracy of the DCM results. In all cases, the DCM results exhibit excellent agreement with the FEM results.
Similar content being viewed by others
Data, code and materials availability
Any relevant codes and data may be available by the corresponding author on a reasonable request.
References
Nield DA, Bejan A (2006) Convection in porous media, vol 3. Springer, Berlin
Vafai K (2015) Handbook of porous media. CRC Press, Boca Raton
Avila-Acevedo J, Tsotsas E (2008) Transient natural convection and heat transfer during the storage of granular media. Int J Heat Mass Transf 51(13–14):3468–3477
Das MK, Mukherjee PP, Muralidhar K (2018) Modeling transport phenomena in porous media with applications. Springer, Berlin
Shenoy A (1994) Non-newtonian fluid heat transfer in porous media. In: Hartnett JP et al (eds) Advances in heat transfer, vol 24. Elsevier, Amsterdam, pp 101–190
Kumar S, Kumar BR, Murthy SVK, Parmar D (2023) Thermo-fluidic convective flow study of hybrid nanofluid in an inverted t-shaped porous enclosure under uniformly acting magnetic field. J Porous Media 26(8):75–91
Kumar S, Kumar BR, Krishna Murthy S (2023) Double diffusive convective flow study of a hybrid nanofluid in an inverted t-shaped porous enclosure under the influence of Soret and Dufour prameters. ASME J Heat Mass Transf 145(10):102501
Kumar S, Krishna Murthy S, Kumar BR, Parmar D (2023) Convective heat transfer enhancement in an inverted T-shaped porous enclosure through vertical varying circular cylinder. Numer Heat Transf Part B Fundam. https://doi.org/10.1080/10407790.2023.2262747
Parmar D, Rathish Kumar B, Krishna Murthy S, Kumar S (2023) Numerical study of entropy generation in magneto-convective flow of nanofluid in porous enclosure using fractional order non-Darcian model. Phys Fluids 35(9):097142
Ingham DB, Bejan A, Mamut E, Pop I (2012) Emerging technologies and techniques in porous media
Reddy JN (2019) Introduction to the finite element method. McGraw-Hill Education, New York
Özişik MN, Orlande HR, Colaço MJ, Cotta RM (2017) Finite difference methods in heat transfer. CRC Press, Boca Raton
Demirdžić I, Perić M (1990) Finite volume method for prediction of fluid flow in arbitrarily shaped domains with moving boundaries. Int J Numer Meth Fluids 10(7):771–790
Kale S, Pradhan D (2022) An augmented interface approach in fictitious domain methods. Comput Math Appl 125:238–247
Kale S, Pradhan D (2022) Error estimates of fictitious domain method with an H1 penalty approach for elliptic problems. Comput Appl Math 41(1):27
Chakraborty A, Kumar BR (2018) Weighted extended B-spline finite element analysis of a coupled system of general elliptic equations. Int J Adv Eng Sci Appl Math 10(1):34–40
Fahs M, Younes A, Makradi A (2015) A reference benchmark solution for free convection in a square cavity filled with a heterogeneous porous medium. Numer Heat Transf Part B Fundam 67(5):437–462
Metropolis N, Ulam S (1949) The monte Carlo method. J Am Stat Assoc 44(247):335–341
Nabapure D, Kalluri RCM (2020) Simulation of flow in single and double-sided lid driven square cavities by direct simulation monte Carlo method. Therm Sci 24(5 Part A):3031–3045
Wang J, Liu G (2002) A point interpolation meshless method based on radial basis functions. Int J Numer Meth Eng 54(11):1623–1648
Nawaz Y, Arif MS, Shatanawi W, Nazeer A (2021) An explicit fourth-order compact numerical scheme for heat transfer of boundary layer flow. Energies 14(12):3396
Nawaz Y, Arif MS, Abodayeh K (2022) A third-order two-stage numerical scheme for fractional stokes problems: a comparative computational study. J Comput Nonlinear Dyn 17(10):101004
Nawaz Y, Arif MS, Abodayeh K (2022) An explicit-implicit numerical scheme for time fractional boundary layer flows. Int J Numer Meth Fluids 94(7):920–940
Berg J, Nyström K (2018) A unified deep artificial neural network approach to partial differential equations in complex geometries. Neurocomputing 317:28–41
Noda K, Yamaguchi Y, Nakadai K, Okuno HG, Ogata T (2015) Audio-visual speech recognition using deep learning. Appl Intell 42(4):722–737
Deng L, Hinton G, Kingsbury B (2013) New types of deep neural network learning for speech recognition and related applications: an overview. In: 2013 IEEE international conference on acoustics, speech and signal processing, IEEE, pp. 8599–8603
Shen D, Wu G, Suk H-I (2017) Deep learning in medical image analysis. Annu Rev Biomed Eng 19:221–248
Arif MS, Mukheimer A, Asif D (2023) Enhancing the early detection of chronic kidney disease: a robust machine learning model. Big Data Cogn Comput 7(3):144
Asif D, Bibi M, Arif MS, Mukheimer A (2023) Enhancing heart disease prediction through ensemble learning techniques with hyperparameter optimization. Algorithms 16(6):308
Stilgoe J (2018) Machine learning, social learning and the governance of self-driving cars. Soc Stud Sci 48(1):25–56
Ojo OS, Adeyemi B, Oluleye DO (2021) Artificial neural network models for prediction of net radiation over a tropical region. Neural Comput Appl 33(12):6865–6877
Hornik K, Stinchcombe M, White H (1989) Multilayer feedforward networks are universal approximators. Neural Netw 2(5):359–366
Hornik K, Stinchcombe M, White H (1990) Universal approximation of an unknown mapping and its derivatives using multilayer feedforward networks. Neural Netw 3(5):551–560
Li X (1996) Simultaneous approximations of multivariate functions and their derivatives by neural networks with one hidden layer. Neurocomputing 12(4):327–343
Lagaris IE, Likas A, Fotiadis DI (1998) Artificial neural networks for solving ordinary and partial differential equations. IEEE Trans Neural Netw 9(5):987–1000. https://doi.org/10.1109/72.712178
Lagaris IE, Likas AC, Papageorgiou DG (2000) Neural-network methods for boundary value problems with irregular boundaries. IEEE Trans Neural Netw 11(5):1041–1049
Guo H, Zhuang X, Rabczuk T (2021) A deep collocation method for the bending analysis of kirchhoff plate. arXiv preprint arXiv:2102.02617
Bücker HM, Corliss G, Hovland P, Naumann U, Norris B (2006) Automatic differentiation: applications, theory, and implementations, vol 50. Springer, Berlin
McFall KS, Mahan JR (2009) Artificial neural network method for solution of boundary value problems with exact satisfaction of arbitrary boundary conditions. IEEE Trans Neural Netw 20(8):1221–1233
Yadav N, Yadav A, Kumar M (2015) An introduction to neural network methods for differential equations. Springer, Berlin
Fonda E, Pandey A, Schumacher J, Sreenivasan KR (2019) Deep learning in turbulent convection networks. Proc Natl Acad Sci 116(18):8667–8672
Jin X, Cheng P, Chen W-L, Li H (2018) Prediction model of velocity field around circular cylinder over various Reynolds numbers by fusion convolutional neural networks based on pressure on the cylinder. Phys Fluids 30(4):047105
Kim J, Lee C (2020) Prediction of turbulent heat transfer using convolutional neural networks. J Fluid Mech 882:A18
Li Y, Wang H, Deng X (2019) Image-based reconstruction for a 3D-PFHS heat transfer problem by ReConNN. Int J Heat Mass Transf 134:656–667
Ronneberger O, Fischer P, Brox T (2015) U-net: convolutional networks for biomedical image segmentation. In: International conference on medical image computing and computer-assisted intervention, Springer, pp. 234–241
Jin X, Cai S, Li H, Karniadakis GE (2021) NSFnets (Navier-stokes flow nets): physics-informed neural networks for the incompressible Navier-stokes equations. J Comput Phys 426:109951
Mao Z, Jagtap AD, Karniadakis GE (2020) Physics-informed neural networks for high-speed flows. Comput Methods Appl Mech Eng 360:112789
Raissi M, Perdikaris P, Karniadakis GE (2019) Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J Comput Phys 378:686–707
Ströfer CM, Wu J, Xiao H, Paterson E (2018) Data-driven, physics-based feature extraction from fluid flow fields. arXiv preprint arXiv:1802.00775
Lin J, Zhou S, Guo H (2020) A deep collocation method for heat transfer in porous media: verification from the finite element method. J Energy Storage 28:101280
Anitescu C, Atroshchenko E, Alajlan N, Rabczuk T (2019) Artificial neural network methods for the solution of second order boundary value problems. Comput, Mater Contin 59(1):345–359
Dey P, Sarkar A, Das AK (2016) Development of GEP and ANN model to predict the unsteady forced convection over a cylinder. Neural Comput Appl 27(8):2537–2549
Wang T, Huang Z, Sun Z, Xi G (2021) Reconstruction of natural convection within an enclosure using deep neural network. Int J Heat Mass Transf 164:120626
Laubscher R (2021) Simulation of multi-species flow and heat transfer using physics-informed neural networks. Phys Fluids 33(8):087101
Bear J, Bachmat Y (2012) Introduction to modeling of transport phenomena in porous media, vol 4. Springer, Berlin
Prasad V, Kulacki F (1984) Natural convection in a rectangular porous cavity with constant heat flux on one vertical wall. J Heat Transf 106(1):152–157
Das D, Roy M, Basak T (2017) Studies on natural convection within enclosures of various (non-square) shapes-a review. Int J Heat Mass Transf 106:356–406
LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436–444
Baydin AG, Pearlmutter BA, Radul AA, Siskind JM (2018) Automatic differentiation in machine learning: a survey. J Mach Learn Res 18:1–43
Margossian CC (2019) A review of automatic differentiation and its efficient implementation. Wiley Interdiscip Rev Data Min Knowl Discov 9(4):1305
Rumelhart DE, Hinton GE, Williams RJ (1986) Learning representations by back-propagating errors. Nature 323(6088):533–536
Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, Corrado GS, Davis A, Dean J, Devin M, et al (2016) Tensorflow: large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467
Al-Aradi A, Correia A, Naiff D, Jardim G, Saporito Y (2018) Solving nonlinear and high-dimensional partial differential equations via deep learning. arXiv preprint arXiv:1811.08782
Hecht F (2012) New development in freefem++. J Numer Math 20(3–4):251–265
Kingma DP, Ba J (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980
Acknowledgements
The first author wishes to express sincere gratitude to D.I.A.T., Pune, for their financial support and academic guidance throughout his Ph.D. program. Also, he extends his sincere gratitude to the anonymous reviewers whose thoughtful feedback and constructive input have significantly enhanced the quality and depth of this research article.
Funding
The research conducted is part of fulfilling the Ph.D. degree requirements at the parent institution (DIAT) of the first author, and no external funds or financial support were secured for this research work.
Author information
Authors and Affiliations
Contributions
SK contributed to conceptualization, formal analysis, investigation, methodology, software, validation, visualization, writing—original draft, and writing—review and editing. BVRK contributed to conceptualization, formal analysis, supervision, and writing—review and editing. SVSSNVGKM contributed to conceptualization, formal analysis, methodology, supervision, and writing—review and editing.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no competing interests.
Ethical approval
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.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Kumar, S., Kumar, B.V.R. & Murthy, S.V.S.S.N.V.G.K. ANN-based deep collocation method for natural convection in porous media. Neural Comput & Applic 36, 6067–6083 (2024). https://doi.org/10.1007/s00521-023-09385-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-023-09385-0