A Best-Fitting B-Spline Neural Network Approach to the Prediction of Advection–Diffusion Physical Fields with Absorption and Source Terms
Abstract
:1. Introduction
2. Theory
2.1. Best-Fitting B-Spline Function
2.2. Combination of Neural Network and B-Spline Function
- (1)
- Use the numbers mx and my and the orders kx and ky, and calculate the knot sequence in each dimension according to the domain boundaries of the data set, then generate the B-spline function set;
- (2)
- Calculate the best-fitting weight vector a using the least square method; thus, the data set can be replaced by:
- (3)
- Train an ordinary fully connected neural network whose input and output are now as follows:
- (4)
- Once the neural network is well trained, a new control vector p can be used to predict a new weight vector a; predicted function ϕ*(x, y) is then restored by Equation (3).
3. Numerical Experiments and Discussions
3.1. Numerical Experiment Setup and Preliminary Verification
3.2. Effect of the Size of the Input Control Vectors
3.3. Effect of the Field Gradient
3.4. Effect of the Field State
3.5. Comparison with Analytical Solutions
3.6. Method Comparision
4. Conclusions
- (1)
- The error of the bBSNN is sensitive to the local field gradient, and where the gradient is higher, the error is likely larger, almost showing a proportional relationship. This can be understood as meaning that, in information theory, when a signal or piece of data has certain characteristics, its information entropy may change. There is a certain correspondence between the sensitivity of the error and the variability of information entropy.
- (2)
- The effect of the field state slightly affects the range of the error field while greatly increasing the error statistics.
- (3)
- The prediction error of the bBSNN method can be reduced by increasing the order or the number of the B-splines in the selected function set.
- (4)
- The data set used to train the bBSNN can be very small, even for the case with six independent boundary conditions, the bBSNN trained by a data set with only 200 random samples can yield a good predicted field, and the training efficiency is also very high.
- (5)
- Compared with GAN and PINN, bBSNN presents obvious advantages in terms of training efficiency and prediction accuracy.
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Nishida, K.; Yoshida, S.; Shiozawa, S. Numerical model to predict water temperature distribution in a paddy rice field. Agric. Water Manag. 2021, 245, 106553. [Google Scholar] [CrossRef]
- Yang, F.; Wu, T.; Jiang, H.; Jiang, J.; Hao, H.; Zhang, L. A new method for transformer hot-spot temperature prediction based on dynamic mode decomposition. Case Stud. Therm. Eng. 2022, 37, 102268. [Google Scholar] [CrossRef]
- Eivazi, H.; Veisi, H.; Naderi, M.H.; Esfahanian, V. Deep neural networks for nonlinear model order reduction of unsteady flows. Phys. Fluids 2020, 32, 105104. [Google Scholar] [CrossRef]
- Naderi, M.H.; Eivazi, H.; Esfahanian, V. New method for dynamic mode decomposition of flows over moving structures based on machine learning (hybrid dynamic mode decomposition). Phys. Fluids 2019, 31, 127102. [Google Scholar] [CrossRef]
- Mazumder, S. Comparative assessment of the finite difference, finite element, and finite volume methods for a benchmark one-dimensional steady-state heat conduction problem. J. Heat Transf. 2017, 139, 071301. [Google Scholar] [CrossRef]
- Chen, Z.; Wang, G.; Chen, H.; Sun, S. Direct estimation of transient temperature field of heat transfer system based on mapping characteristics fuzzy clustering. Int. J. Heat Mass Transf. 2022, 190, 122787. [Google Scholar] [CrossRef]
- Sekar, V.; Khoo, B.C. Fast flow field prediction over airfoils using deep learning approach. Phys. Fluids 2019, 31, 57103. [Google Scholar] [CrossRef]
- Michoski, C.; Milosavljević, M.; Oliver, T.; Hatch, D.R. Solving differential equations using deep neural networks. Neurocomputing 2020, 399, 193–212. [Google Scholar] [CrossRef]
- Coelho, L.S.; Guerra, F.A. B-spline neural network design using improved differential evolution for identification of an experimental nonlinear process. Appl. Soft Comput. 2008, 8, 1513–1522. [Google Scholar] [CrossRef]
- Gálvez, A.; Iglesias, A.; Puig-Pey, J. Iterative two-step genetic-algorithm-based method for efficient polynomial B-spline surface reconstruction. Inf. Sci. 2012, 182, 56–76. [Google Scholar] [CrossRef]
- Coelho, L.S.; Pessoa, M.W. Nonlinear identification using a B-spline neural network and chaotic immune approaches. Mech. Syst. Signal Process. 2009, 23, 2418–2434. [Google Scholar] [CrossRef]
- Wang, J.; Chen, B.; Yang, C. Approximation of algebraic and trigonometric polynomials by feedforward neural networks. Neural Comput. Appl. 2012, 21, 73–80. [Google Scholar] [CrossRef]
- Dokur, Z.; Olmez, T. Heartbeat classification by using a convolutional neural network trained with Walsh functions. Neural Comput. Appl. 2020, 32, 12515–12534. [Google Scholar] [CrossRef]
- Nakamura, T.; Fukami, K.; Hasegawa, K.; Nabae, Y.; Fukagata, K. Convolutional neural network and long short-term memory based reduced order surrogate for minimal turbulent channel flow. Phys. Fluids 2021, 33, 025116. [Google Scholar] [CrossRef]
- Bhatnagar, S.; Afshar, Y.; Pan, S.; Duraisamy, K.; Kaushik, S. Prediction of aerodynamic flow fields using convolutional neural networks. Comput. Mech. 2019, 64, 525–545. [Google Scholar] [CrossRef]
- Zhang, J.; Zheng, Y.; Sun, J.; Qi, D. Flow prediction in spatio-temporal networks based on multitask deep learning. IEEE Trans. Knowl. Data Eng. 2020, 32, 468–478. [Google Scholar] [CrossRef]
- Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial networks. Commun. ACM 2020, 63, 139–144. [Google Scholar] [CrossRef]
- Mehdi, M.; Simon, O. Conditional generative adversarial nets. arXiv 2017, arXiv:1411.1784. [Google Scholar]
- Chen, M.T.; Mahmood, F.; Sweer, J.A.; Durr, N.J. GANPOP: Generative adversarial network prediction of optical properties from single snapshot wide-field images. IEEE Trans. Med. Imaging 2020, 39, 1988–1999. [Google Scholar] [CrossRef]
- Na, B.; Son, S. Prediction of atmospheric motion vectors around typhoons using generative adversarial network. J. Wind Eng. Ind. Aerodyn. 2021, 214, 104643. [Google Scholar] [CrossRef]
- Wen, S.; Shen, N.; Zhang, J.; Lan, Y.; Han, J.; Yin, X.; Zhang, Q.; Ge, Y. Single-rotor UAV flow field simulation using generative adversarial networks. Comput. Electron. Agric. 2019, 167, 105004. [Google Scholar] [CrossRef]
- Tang, H.; Liao, Y.; Yang, H.; Xie, L. A transfer learning-physics informed neural network (TL-PINN) for vortex-induced vibration. Ocean Eng. 2022, 266, 113101. [Google Scholar] [CrossRef]
- Li, Y.; Mei, F. Deep learning-based method coupled with small sample learning for solving partial differential equations. Multimed. Tools Appl. 2021, 80, 17391–17413. [Google Scholar] [CrossRef]
- Lu, L.; Meng, X.; Mao, Z.; Karniadakis, G.E. DeepXDE: A deep learning library for solving differential equations. SIAM Rev. 2021, 63, 208–228. [Google Scholar] [CrossRef]
- Wang, H.; Li, J.; Wang, L.; Liang, L.; Zeng, Z.; Liu, Y. On acoustic fields of complex scatters based on physics-informed neural networks. Ultrasonics 2023, 128, 106872. [Google Scholar] [CrossRef] [PubMed]
- Du, Y.F.; Wang, M.Z.; Zaki, T.A. State estimation in minimal turbulent channel flow: A comparative study of 4DVar and PINN. Int. J. Heat Fluid Flow 2023, 99, 109073. [Google Scholar] [CrossRef]
- Yi, J.; Chen, Z.; Li, D.; Li, J.; Liu, J. Conditional generative adversarial network for welding deformation field prediction of butt-welded plates. J. Constr. Steel Res. 2023, 201, 107755. [Google Scholar] [CrossRef]
- Pollok, S.; Olden-Jørgensen, N.; Jørgensen, P.S.; Bjørk, R. Magnetic field prediction using generative adversarial networks. J. Magn. Magn. Mater. 2023, 571, 170556. [Google Scholar] [CrossRef]
- Chen, J.; Zhu, F.; Han, Y.; Chen, C. Fast prediction of complicated temperature field using conditional multi-attention generative adversarial networks (CMAGAN). Expert Syst. Appl. 2021, 186, 115727. [Google Scholar] [CrossRef]
- Meng, Y.; Rigall, E.; Chen, X.; Gao, F.; Dong, J.; Chen, S. Physics-guided generative adversarial networks for sea subsurface temperature prediction. IEEE Trans. Neural Netw. Learn. Syst. 2021, 34, 3357–3370. [Google Scholar] [CrossRef]
- Jiang, H.; Nie, Z.; Yeo, R.; Farimani, A.B.; Kara, L.B. Stressgan: A generative deep learning model for two-dimensional stress distribution prediction. J. Appl. Mech. 2021, 88, 051005. [Google Scholar] [CrossRef]
- Enomoto, K.; Sakurada, K.; Wang, W.; Fukui, H.; Matsuoka, M.; Nakamura, R.; Kawaguchi, N. Filmy cloud removal on satellite imagery with multispectral conditional generative adversarial nets. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Honolulu, HI, USA, 21–26 July 2017; pp. 48–56. [Google Scholar]
- Liu, X.; Peng, W.; Gong, Z.; Zhou, W.; Yao, W. Temperature field inversion of heat-source systems via physics-informed neural networks. Eng. Appl. Artif. Intell. 2022, 113, 104902. [Google Scholar] [CrossRef]
- Zhao, Z.; Stuebner, M.; Lua, J.; Phan, N.; Yan, J. Full-field temperature recovery during water quenching processes via physics-informed machine learning. J. Mater. Process. Technol. 2022, 303, 117534. [Google Scholar] [CrossRef]
- Xie, J.; Chai, Z.; Xu, L.; Ren, X.; Liu, S.; Chen, X. 3D temperature field prediction in direct energy deposition of metals using physics informed neural network. Int. J. Adv. Manuf. Technol. 2022, 119, 3449–3468. [Google Scholar] [CrossRef]
- Zhu, Q.M.; Liu, Z.L.; Yan, J.H. Machine learning for metal additive manufacturing: Predicting temperature and melt pool fluid dynamics using physics-informed neural networks. Comput. Mech. 2021, 67, 619–635. [Google Scholar] [CrossRef]
- Hong, X.; Iplikci, S.; Chen, S.; Warwick, K. A model-based PID controller for Hammerstein systems using B-spline neural networks. Int. J. Adapt. Control Signal Process. 2014, 28, 412–428. [Google Scholar] [CrossRef]
- Hong, X.; Chen, S. The system identification and control of Hammerstein system using non-uniform rational B-spline neural network and particle swarm optimization. Neurocomputing 2012, 82, 216–223. [Google Scholar] [CrossRef]
- Folgheraiter, M. A combined B-spline-neural-network and ARX model for online identification of nonlinear dynamic actuation systems. Neurocomputing 2016, 175, 433–442. [Google Scholar] [CrossRef]
- Deng, H.; Srinivasan, D.; Oruganti, R. A B-spline network based neural controller for power electronic applications. Neurocomputing 2010, 73, 593–601. [Google Scholar] [CrossRef]
- Zhang, X.; Zhao, Y.; Guo, K.; Li, G.; Deng, N. An adaptive B-spline neural network and its application in terminal sliding mode control for a mobile satcom antenna inertially stabilized platform. Sensors 2017, 17, 978. [Google Scholar] [CrossRef]
- Cheng, K. Self-structuring fuzzy-neural back stepping control with a B-spline-based compensator. Neurocomputing 2013, 117, 138–149. [Google Scholar] [CrossRef]
bBSNN | GAN | PINN | |
---|---|---|---|
Training data set | 150 | 2000 (<1500 non-converged) | - |
Training time | 5 min | 290 min | 15 min |
Prediction | |||
Error map | |||
Error | μ = −0.0012, σ = 0.3589, μ|ϕ*−ϕ| = 0.1160 | μ = 0.0028, σ = 0.3860, μ|ϕ*−ϕ| = 0.2298 | μ = 0.0498, σ = 0.2039, μ|ϕ*−ϕ| = 0.3451 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhu, X.; Liu, J.; Ao, X.; He, S.; Tao, L.; Gao, F. A Best-Fitting B-Spline Neural Network Approach to the Prediction of Advection–Diffusion Physical Fields with Absorption and Source Terms. Entropy 2024, 26, 577. https://doi.org/10.3390/e26070577
Zhu X, Liu J, Ao X, He S, Tao L, Gao F. A Best-Fitting B-Spline Neural Network Approach to the Prediction of Advection–Diffusion Physical Fields with Absorption and Source Terms. Entropy. 2024; 26(7):577. https://doi.org/10.3390/e26070577
Chicago/Turabian StyleZhu, Xuedong, Jianhua Liu, Xiaohui Ao, Sen He, Lei Tao, and Feng Gao. 2024. "A Best-Fitting B-Spline Neural Network Approach to the Prediction of Advection–Diffusion Physical Fields with Absorption and Source Terms" Entropy 26, no. 7: 577. https://doi.org/10.3390/e26070577
APA StyleZhu, X., Liu, J., Ao, X., He, S., Tao, L., & Gao, F. (2024). A Best-Fitting B-Spline Neural Network Approach to the Prediction of Advection–Diffusion Physical Fields with Absorption and Source Terms. Entropy, 26(7), 577. https://doi.org/10.3390/e26070577