- Open Access
- Access by Xinjiang University
Hard-constrained neural networks for modeling nonlinear acoustics
Phys. Rev. Fluids 8, 103201 – Published 25 October, 2023
DOI: https://doi.org/10.1103/PhysRevFluids.8.103201
Abstract
In this computational paper, we model acoustic dynamics in space and time from synthetic sensor data. The tasks are (i) to predict and extrapolate the spatiotemporal dynamics and (ii) to reconstruct the acoustic state from partial observations. To achieve this, we develop acoustic neural networks. These are networks that learn from sensor data, while being constrained by prior knowledge on acoustic and wave physics. The prior knowledge is constrained as a soft constraint, which informs the training, and as a hard constraint (Galerkin neural networks), which constrains parts of the network's architecture as an inductive bias. First, we show that standard feedforward neural networks are unable to extrapolate in time, even in the simplest case of periodic oscillations. This motivates the constraints on the prior knowledge. Second, we constrain the prior knowledge on acoustics in increasingly effective ways by (i) employing periodic activations (periodically activated neural networks), (ii) informing the training of the networks with a penalty term that favors solutions that fulfill the governing equations (soft constrained), (iii) constraining the architecture in a physically motivated solution space (hard constrained), and (iv) a combination of these. Third, we apply the networks on two test cases for two tasks in nonlinear regimes, from periodic to chaotic oscillations. The first test case is a twin experiment, in which the data are produced by a prototypical time-delayed model. In the second test case, the data are generated by a higher-fidelity model with mean-flow effects and a kinematic model for the flame source. We find that (i) constraining the physics in the architecture improves interpolation while requiring smaller network sizes, (ii) extrapolation in time is achieved by periodic activations, and (iii) velocity can be reconstructed accurately from only pressure measurements with a combination of physics-based hard and soft constraints. In acoustics and thermoacoustics, this works opens possibilities for physics-constrained data-driven modeling. Beyond acoustics, this work opens strategies for constraining the physics in the architecture, rather than the training.
Physics Subject Headings (PhySH)
Article Text
References (66)
- K. Duraisamy, G. Iaccarino, and H. Xiao, Turbulence modeling in the age of data, Annu. Rev. Fluid Mech. 51, 357 (2019).
- S. L. Brunton, B. R. Noack, and P. Koumoutsakos, Machine learning for fluid mechanics, Annu. Rev. Fluid Mech. 52, 477 (2020).
- G. E. Karniadakis, I. G. Kevrekidis, L. Lu, P. Perdikaris, S. Wang, and L. Yang, Physics-informed machine learning, Nat. Rev. Phys. 3, 422 (2021).
- N. Doan, W. Polifke, and L. Magri, Short-and long-term predictions of chaotic flows and extreme events: A physics-constrained reservoir computing approach, Proc. R. Soc. A 477, 20210135 (2021).
- I. E. Lagaris, A. Likas, and D. I. Fotiadis, Artificial neural networks for solving ordinary and partial differential equations, IEEE Trans. Neural Networks 9, 987 (1998).
- M. Raissi, P. Perdikaris, and G. E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, J. Comput. Phys. 378, 686 (2019).
- M. Raissi, Z. Wang, M. S. Triantafyllou, and G. E. Karniadakis, Deep learning of vortex-induced vibrations, J. Fluid Mech. 861, 119 (2019).
- M. Raissi, A. Yazdani, and G. E. Karniadakis, Hidden fluid mechanics: Learning velocity and pressure fields from flow visualizations, Science 367, 1026 (2020).
- M. P. Sitte and N. A. K. Doan, Velocity reconstruction in puffing pool fires with physics-informed neural networks, Phys. Fluids 34, 087124 (2022).
- S. Cai, Z. Wang, F. Fuest, Y. J. Jeon, C. Gray, and G. E. Karniadakis, Flow over an espresso cup: Inferring 3-D velocity and pressure fields from tomographic background oriented Schlieren via physics-informed neural networks, J. Fluid Mech. 915, A102 (2021).
- G. Kissas, Y. Yang, E. Hwuang, W. R. Witschey, J. A. Detre, and P. Perdikaris, Machine learning in cardiovascular flows modeling: Predicting arterial blood pressure from non-invasive 4D flow MRI data using physics-informed neural networks, Comput. Methods Appl. Mech. Eng. 358, 112623 (2020).
- M. F. Fathi, I. Perez-Raya, A. Baghaie, P. Berg, G. Janiga, A. Arzani, and R. M. D Souza, Super-resolution and denoising of 4D-flow MRI using physics-informed deep neural nets, Comput. Methods Programs Biomed. 197, 105729 (2020).
- H. Wang, Y. Liu, and S. Wang, Dense velocity reconstruction from particle image velocimetry/particle tracking velocimetry using a physics-informed neural network, Phys. Fluids 34, 017116 (2022).
- H. Eivazi and R. Vinuesa, Physics-informed deep-learning applications to experimental fluid mechanics, arXiv:2203.15402
- H. Gao, L. Sun, and J.-X. Wang, Super-resolution and denoising of fluid flow using physics-informed convolutional neural networks without high-resolution labels, Phys. Fluids 33, 073603 (2021).
- D. Kelshaw, G. Rigas, and L. Magri, Physics-informed CNNs for super-resolution of sparse observations on dynamical systems, arXiv:2210.17319.
- A. Goyal and Y. Bengio, Inductive biases for deep learning of higher-level cognition, Proc. R. Soc. A 478, 20210068 (2022).
- Y. Chen, D. Huang, D. Zhang, J. Zeng, N. Wang, H. Zhang, and J. Yan, Theory-guided hard constraint projection (HCP): A knowledge-based data-driven scientific machine learning method, J. Comput. Phys. 445, 110624 (2021).
- K. Xu and E. Darve, Physics constrained learning for data-driven inverse modeling from sparse observations, J. Comput. Phys. 453, 110938 (2022).
- A. T. Mohan, N. Lubbers, M. Chertkov, and D. Livescu, Embedding hard physical constraints in neural network coarse-graining of three-dimensional turbulence, Phys. Rev. Fluids 8, 014604 (2023).
- J. Ling, A. Kurzawski, and J. Templeton, Reynolds averaged turbulence modelling using deep neural networks with embedded invariance, J. Fluid Mech. 807, 155 (2016).
- D. Zhang, L. Guo, and G. E. Karniadakis, Learning in modal space: Solving time-dependent stochastic PDEs using physics-informed neural networks, SIAM J. Sci. Comput. 42, A639 (2020).
- S. Dong and N. Ni, A method for representing periodic functions and enforcing exactly periodic boundary conditions with deep neural networks, J. Comput. Phys. 435, 110242 (2021).
- P. Holmes, J. L. Lumley, G. Berkooz, and C. W. Rowley, Galerkin projection, in Turbulence, Coherent Structures, Dynamical Systems and Symmetry (Cambridge University Press, Cambridge, UK, 2012), pp. 106–129.
- Rayleigh, The explanation of certain acoustical phenomena, Nature (London) 18, 319 (1878).
- A. P. Dowling and A. S. Morgans, Feedback control of combustion oscillations, Annu. Rev. Fluid Mech. 37, 151 (2005).
- M. P. Juniper and R. I. Sujith, Sensitivity and nonlinearity of thermoacoustic oscillations, Annu. Rev. Fluid Mech. 50, 661 (2018).
- L. Magri, Adjoint methods as design tools in thermoacoustics, Appl. Mech. Rev. 71, 020801 (2019).
- L. Magri, P. J. Schmid, and J. P. Moeck, Linear flow analysis inspired by mathematical methods from quantum mechanics, Annu. Rev. Fluid Mech. 55, 541 (2023).
- T. C. Lieuwen and V. Yang, Combustion Instabilities in Gas Turbine Engines (American Institute of Aeronautics and Astronautics, Reston, VA, 2006).
- T. Poinsot, Prediction and control of combustion instabilities in real engines, Proc. Combust. Inst. 36, 1 (2017).
- F. Culick and P. Kuentzmann, Unsteady motions in combustion chambers for propulsion systems, NATO RTO-AG-AVT-039, AGARDograph (2006).
- A. P. Dowling, A kinematic model of a ducted flame, J. Fluid Mech. 394, 51 (1999).
- A. P. Dowling and S. R. Stow, Acoustic analysis of gas turbine combustors, J. Propul. Power 19, 751 (2003).
- J. Li and A. S. Morgans, Time domain simulations of nonlinear thermoacoustic behaviour in a simple combustor using a wave-based approach, J. Sound Vib. 346, 345 (2015).
- M. Bauerheim, J.-F. Parmentier, P. Salas, F. Nicoud, and T. Poinsot, An analytical model for azimuthal thermoacoustic modes in an annular chamber fed by an annular plenum, Combust. Flame 161, 1374 (2014).
- A. Orchini, G. A. Mensah, and J. P. Moeck, Effects of nonlinear modal interactions on the thermoacoustic stability of annular combustors, J. Eng. Gas Turbines Power 141, 021002 (2019).
- B. T. Zinn and M. E. Lores, Application of the Galerkin method in the solution of non-linear axial combustion instability problems in liquid rockets, Combust. Sci. Technol. 4, 269 (1971).
- K. Balasubramanian and R. I. Sujith, Thermoacoustic instability in a Rijke tube: Non-normality and nonlinearity, Phys. Fluids 20, 044103 (2008).
- T. Sayadi, V. L. Chenadec, P. J. Schmid, F. Richecoeur, and M. Massot, Thermoacoustic instability—A dynamical system and time domain analysis, J. Fluid Mech. 753, 448 (2014).
- F. Huhn and L. Magri, Stability, sensitivity and optimisation of chaotic acoustic oscillations, J. Fluid Mech. 882, A24 (2020).
- L. Kabiraj, R. I. Sujith, and P. Wahi, Bifurcations of self-excited ducted laminar premixed flames, J. Eng. Gas Turbines Power 134, 031502 (2012).
- K. I. Matveev, Thermoacoustic Instabilities in the Rijke Tube: Experiments and Modeling (California Institute of Technology, Pasadena, CA, 2003).
- A. Novoa and L. Magri, Real-time thermoacoustic data assimilation, J. Fluid Mech. 948, A35 (2022).
- A. Novoa, A. Racca, and L. Magri, Bias-aware thermoacoustic data assimilation, in INTER-NOISE and NOISE-CON Congress and Conference Proceedings (Institute of Noise Control Engineering, Glasgow, Scotland, 2023), Vol. 265, pp. 1924–1931.
- F. Selimefendigil and W. Polifke, A nonlinear frequency domain model for limit cycles in thermoacoustic systems with modal coupling, Int. J. Spray Combust. Dyn. 3, 303 (2011).
- S. Jaensch and W. Polifke, Uncertainty encountered when modelling self-excited thermoacoustic oscillations with artificial neural networks, Int. J. Spray Combust. Dyn. 9, 367 (2017).
- N. Tathawadekar, N. A. K. Doan, C. F. Silva, and N. Thuerey, Modeling of the nonlinear flame response of a Bunsen-type flame via multi-layer perceptron, Proc. Combust. Inst. 38, 6261 (2021).
- D. E. Ozan and L. Magri, Physics-aware learning of nonlinear limit cycles and adjoint limit cycles, in INTER-NOISE and NOISE-CON Congress and Conference Proceedings (Institute of Noise Control Engineering, Glasgow, Scotland, 2023), Vol. 265, pp. 1191–1199.
- K. Niebler, P. Bonnaire, N. A. K. Doan, and C. F. Silva, Towards reconstruction of acoustic fields via physics-informed neural networks, in INTER-NOISE and NOISE-CON Congress and Conference Proceedings (Institute of Noise Control Engineering, Glasgow, Scotland, 2023), Vol. 265, pp. 4773–4782.
- K. Hornik, M. Stinchcombe, and H. White, Multilayer feedforward networks are universal approximators, Neural Networks 2, 359 (1989).
- L. Magri, Introduction to neural networks for engineering and computational science, Zenodo: https://doi.org/10.5281/zenodo.7655872.
- P. J. Olver, Introduction to Partial Differential Equations, 1st ed., Undergraduate Texts in Mathematics (Springer, Cham, Switzerland, 2020).
- J. G. Aguilar, Sensitivity analysis and optimization in low order thermoacoustic models, Doctoral thesis, University of Cambridge (2019).
- L. Ziyin, T. Hartwig, and M. Ueda, Neural networks fail to learn periodic functions and how to fix it, in Advances in Neural Information Processing Systems (Curran Associates, 2020), pp. 1583–1594.
- M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg et al., TensorFlow: Large-scale machine learning on heterogeneous systems (2015), software available from tensorflow.org
- L. Magri and M. P. Juniper, Global modes, receptivity, and sensitivity analysis of diffusion flames coupled with duct acoustics, J. Fluid Mech. 752, 237 (2014).
- L. Magri and M. P. Juniper, Sensitivity analysis of a time-delayed thermo-acoustic system via an adjoint-based approach, J. Fluid Mech. 719, 183 (2013).
- M. P. Juniper, Triggering in the horizontal Rijke tube: Non-normality, transient growth and bypass transition, J. Fluid Mech. 667, 272 (2011).
- L. D. Landau and E. M. Lifschitz, Fluid Mechanics, 2nd ed. (Pergamon Press, New York, 1987).
- M. A. Heckl, Nonlinear acoustic effects in the Rijke tube, Acustica 72, 63 (1990).
- L. N. Trefethen, Spectral Methods in MATLAB (Society for Industrial and Applied Mathematics, Philadelphia, 2000).
- K. He, X. Zhang, S. Ren, and J. Sun, Delving deep into rectifiers: Surpassing human-level performance on imagenet classification, in Proceedings of the IEEE International Conference on Computer Vision (IEEE, Piscataway, NJ, 2015), pp. 1026–1034.
- X. Glorot and Y. Bengio, Understanding the difficulty of training deep feedforward neural networks, in Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics (PMLR, Sardinia, Italy, 2010), pp. 249–256.
- H. Levine and J. Schwinger, On the radiation of sound from an unflanged circular pipe, Phys. Rev. 73, 383 (1948).
- J. G. Aguilar, Flame transfer function tutorial, https://xoeg.github.io/Flame-Transfer-Function-Tutorial/