(542a) Surrogate Modeling of 3D Flow Dynamics and Chemical Reactions Using Physics-Constrained Deep Learning
AIChE Annual Meeting
Wednesday, November 16, 2022 - 3:30pm to 3:49pm
Computational Fluid Dynamics (CFD) techniques have been extensively used to create high-fidelity models of reactors, owing to its capability to simulate three-dimensional flow and reflect kinetics changes accordingly [4, 5]. However, employing CFD techniques necessitates a significant amount of computational power in order to solve systems of partial differential equations (PDEs) such as mass and momentum balance equations. Additionally, the majority of classic PDE solvers rely on mesh-based techniques such as the Finite Element Method (FEM) and the Finite Volume Method (FVM), which require the entire mesh be rebuilt whenever the geometry of the target system changes. These issues significantly restrict the use of the CFD model for real-time or structure optimization.
To address the aforementioned issues, cost-effective surrogate models have been investigated. A recently proposed model of this type is the physics-informed neural network (PINN) . PINN is a neural network that is trained in such a way that the residuals of governing equations are minimized. The PINN has advantages, including the ability to learn PDE solutions without using a mesh and to predict flow information in real time following training. Lu et al. (2019) demonstrate with the efficiency of PINN in learning benchmark PDEs and solving inverse problems . Choi et al. (2020) show that PINN is capable of learning CFD models with moving reference frames as well as chemical reactions .
However, Lu et al. (2019) and Choi et al. (2020) incorporate the boundary condition (BC) and the initial condition (IC) into the loss function via a soft constraint. Because NN with soft constraints cannot be forced to produce an output that satisfies BC and IC, the output may not be physically realistic. As a result, to ensure the physical feasibility of the output, BCs and ICs should be applied to the neural network in a âhardâ manner. Sun et al. (2020) demonstrated the application of hard constraints to simple flow and learnt flow according to parametric geometry , while Berg and NystrÃ¶m (2018) demonstrated the use of hard constraints to more complex geometry . However, both studies addressed mainly difficulties involving two-dimensional geometry.
The purpose of this study is to develop a framework for surrogate modeling of a three-dimensional, non-isothermal reactor with non-linear chemical reactions. BCs such as non-slip conditions on reactor wall and ICs were applied in the form of hard constraints, with another neural network learning the distance to the boundary. A CSTR with a van de Vusse reaction was chosen as the target system. The trained hard-constrained NN prediction results were compared to the CFD model for validation. The surrogate model successfully learnt the flow information of the high-fidelity CFD model and decreased the prediction speed by several orders of magnitude when compared to the CFD model. This method can be employed for the real-time optimization of chemical reactors.
 Villa, C.M., Dihora, J.O. and Harmon Ray, W. (1998), Effects of imperfect mixing on low-density polyethylene reactor dynamics. AIChE J., 44: 1646-1656. https://doi.org/10.1002/aic.690440716
 Qi, N., Zhang, H., Zhang, K., Xu, G., & Yang, Y. (2013). CFD simulation of particle suspension in a stirred tank. Particuology, 11(3), 317â326. https://doi.org/10.1016/j.partic.2012.03.003
 Strizhak, P., Ali, F., & Menzinger, M. (1998). Inhomogeneities of CSTR on a Macroscale Due to Spatial Dependence of Micromixing Time: The BZ Reaction. https://pubs.acs.org/sharingguidelines
 Mishra, S., Kumar, V., Sarkar, J., & Rathore, A. S. (2021). CFD based mass transfer modeling of a single use bioreactor for production of monoclonal antibody biotherapeutics. Chemical Engineering Journal, 412. https://doi.org/10.1016/j.cej.2021.128592
 Fathi Roudsari, S., Ein-Mozaffari, F., & Dhib, R. (2013). Use of CFD in modeling MMA solution polymerization in a CSTR. Chemical Engineering Journal, 219, 429â442. https://doi.org/10.1016/j.cej.2012.12.049
 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
 Lu, L., Meng, X., Mao, Z., & Karniadakis, G. E. (2019). DeepXDE: A deep learning library for solving differential equations. https://doi.org/10.1137/19M1274067
 Choi, S., Jung, I., Kim, H., Na, J., & Lee, J. M. (2022). Physics-informed deep learning for data-driven solutions of computational fluid dynamics. Korean Journal of Chemical Engineering, 39(3), 515â528. https://doi.org/10.1007/s11814-021-0979-x
 Sun, L., Gao, H., Pan, S., & Wang, J. X. (2020). Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data. Computer Methods in Applied Mechanics and Engineering, 361. https://doi.org/10.1016/j.cma.2019.112732
 Berg, J., & NystrÃ¶m, K. (2018). A unified deep artificial neural network approach to partial differential equations in complex geometries. Neurocomputing, 317, 28â41. https://doi.org/10.1016/j.neucom.2018.06.056