In this work, an artificial neural network (ANN) aided vapor–liquid equilibrium (VLE) model is developed and coupled with a fully compressible computational fluid dynamics (CFD) solver to simulate the transcritical processes occurring in high-pressure liquid-fueled propulsion systems. The ANN is trained in Python using TensorFlow, optimized for inference using Open Neural Network Exchange Runtime, and coupled with a C++ based CFD solver. This plug-and-play model/methodology can be used to convert any multi-component CFD solver to simulate transcritical processes using only open-source packages, without the need of in-house VLE model development. The solver is then used to study high-pressure transcritical shock-droplet interaction in both two- and four-component systems and a turbulent temporal mixing layer (TML), where both qualitative and quantitative agreement (maximum relative error less than 5%) is shown with respect to results based on both direct evaluation and the state-of-the-art in situ adaptive tabulation (ISAT) method. The ANN method showed a 6 times speed-up over the direct evaluation and a 2.2-time speed-up over the ISAT method for the two-component shock-droplet interaction case. The ANN method is faster than the ISAT method by 12 times for the four-component shock-droplet interaction. A 7 times speed-up is observed for the TML case for the ANN method compared to the ISAT method while achieving a data compression factor of 2881. The ANN method also shows intrinsic load balancing, unlike traditional VLE solvers. A strong parallel scalability of this ANN method with the number of processors was observed for all the three test cases. Code repository for 0D VLE solvers, and C++ ANN interface—https://github.com/UMN-CRFEL/ANN_VLE.git. 
                        more » 
                        « less   
                    
                            
                            Artificial Neural Network based Vapor-Liquid Equilibrium Modeling for Simulation of Transcritical Multiphase Flows
                        
                    
    
            The requirement of high power outputs and high efficiencies of combustion engines such as rocket engines, diesel engines, and gas turbines has resulted in the incremented of the system pressure close to the thermodynamically critical point. This increase in pressure often leads to the fluids becoming either transcritical or supercritical in state. This has led to increased interest in both the multi-component phase change phenomena as well as their chemical reactions. In this work, an artificial neural network (ANN) aided VLE model is coupled with a fully compressible computational fluid dynamics (CFD) solver to simulate the transcritical processes occurring in high-pressure liquid-fueled propulsion systems. The ANN is trained on Python using the TensorFlow library, optimized for inference (i.e., prediction) using ONNX Run-time (a cross-platform inference and training machine-learning accelerator), and coupled with a C++ based fully compressible CFD solver. This plug-and-play model/methodology can be used to convert any fully compressible and conservative CFD solver to simulate transcritical processes using only open-source packages, without the need of in-house VLE-based CFD development. The solver is then used to study high-pressure shock-droplet interaction in both two- and four-component systems where qualitative and quantitative agreement is shown with results based on both direct evaluation and the state-of-the-art in-situ adaptive tabulation (ISAT) method. The ANN model is faster than the direct evaluation method and the ISAT model by 4 times for the four-component shock-droplet interaction. The ANN model also shows implicit load balancing as long as the MPI decomposition is performed uniformly amongst the number of cores chosen, as the inference time for ANN predict does not change with the change in thermodynamic state, unlike traditional VLE solvers. Regarding the parallel scalability of this model, good strong scaling characteristics with number of processors is also observed. 
        more » 
        « less   
        
    
                            - Award ID(s):
- 2023932
- PAR ID:
- 10562074
- Publisher / Repository:
- American Institute of Aeronautics and Astronautics
- Date Published:
- ISBN:
- 978-1-62410-711-5
- Page Range / eLocation ID:
- AIAA 2024-1638
- Format(s):
- Medium: X
- Location:
- Orlando, FL
- Sponsoring Org:
- National Science Foundation
More Like this
- 
            
- 
            To achieve high performance, the working pressure of liquid-fueled rocket engines, diesel engines, and gas turbines (based on deflagration or detonation) is continuously increasing, which could reach the thermodynamic critical pressure of the liquid fuel. For this reason, the studies of trans- and super-critical injection are getting more attention. However, most of the multiphase researches were mainly concentrated on single- or two-component systems, which cannot capture the multicomponent phase change in real high-pressure engines and gas turbines. The phase boundary, especially near the critical points, needs to be accurately determined to investigate the multicomponent effects in transcritical flow. This work used our previously developed thermodynamic model based on the vapor-liquid equilibrium (VLE) theory, which can predict the phase separation near the critical points. An in situ adaptive tabulation (ISAT) method was developed to accelerate the computation of the VLE model such that the expensive multicomponent VLE calculation can be cheap enough for CFD. The new thermodynamic model was integrated into OpenFOAM to build a VLE-based CFD solver. In this work, simulations are conducted using our new VLE-based CFD solver to reveal the phase change effects in transcritical flow. Specifically, shock-droplet interaction are investigated to reveal the shock-driven high pressure phase change.more » « less
- 
            Vapor-liquid equilibrium (VLE) is a family of first-principled thermodynamic models for transcritical multiphase flows, which can accurately capture the phase transitions at high-pressure conditions that are difficult to deal with using other models. However, VLE-based computational fluid dynamics (CFD) simulation is computationally very expensive for multi-component systems, which severely limits its applications to real-world systems. In this work, we developed a new ISAT-VLE method based on the in situ adaptive tabulation (ISAT) method to improve the computational efficiency of VLE-based CFD simulation with reduced memory usage. We developed several ISAT-VLE solvers for both fully conservative (FC) and double flux (DF) schemes. New methods are proposed to delete redundant records in the ISAT-VLE table and the ISAT-VLE method performance is further improved. To improve the convergence of the VLE solvers, a modified initial guess for equilibrium constant is also introduced. Simulations of high-pressure transcritical two-phase temporal mixing layers and shock-droplet interaction were conducted using the ISAT-VLE CFD solvers. The simulation results show that the new method obtains a speed-up factor approximately from 10 to 60 and the ISAT errors can be controlled within 1%. The shock-droplet interaction results show that the DF scheme can achieve a higher speed-up factor than the FC scheme. The two sets of simulations exhibit the phase separation at high-pressure conditions. It was found that even at supercritical pressures with respect to each component, the droplet surface could still be in a subcritical two-phase state, because the mixture critical pressure is often significantly higher than each component and hence triggers phase separation. In addition, a shock wave could partially or completely convert the droplet surface from a subcritical two-phase state to a single-phase state by raising temperature and pressure.more » « less
- 
            To achieve high power density and thermodynamic cycle efficiency, the working pressures of liquid-propellant rocket engines, diesel engines, and gas turbines (based on deflagration or detonation) are continuously increasing, which could reach or go beyond the thermodynamic critical pressure of the liquid propellant. For this reason, the studies of trans- and super-critical injection are getting more and more attention. However, the simulation of transcritical phase change is still a challenging topic. The phase boundary, especially near the mixture critical point, needs to be accurately determined to investigate the multicomponent effects on transcritical injection and atomization. This work used our previously developed thermodynamic model based on the vapor-liquid equilibrium (VLE) theory, which can predict the phase separation near the mixture critical point. An \textit{in situ} adaptive tabulation (ISAT) method was developed to accelerate the computationally expensive multicomponent VLE computation such that it can be cheap enough for CFD. The new thermodynamic model was integrated into OpenFOAM to develop a VLE-based CFD solver. In this work, shock-droplet interaction and two-phase mixing simulations are conducted using our new VLE-based CFD solver. The shock-droplet interaction simulation results capture the thermodynamic condition of the surface entering the supercritical state after shock passes through. The atomization of droplets could be triggered by vorticity formed at the droplets' surface. 2D temporal mixing layer simulations show the evolution of the transcritical mixing layer and capture the phase split effect at the mixing layer.more » « less
- 
            null (Ed.)The studies of transcritical and supercritical injection have attracted much interest in the past 30 years. However, most of them were mainly concentrated on the single-component system, whose critical point is a constant value. To capture the thermophysical properties of multicomponent, a phase equilibrium solver is needed, which is also called a vapor-liquid equilibrium (VLE) solver. But VLE solver increases the computation cost significantly. Tabulation methods can be used to store the solution to avoids a mass of redundant computation. However, the size of a table increases exponentially with respect to the number of components. When the number of species is greater than 3, the size of a table far exceeds the limit of RAM in today's computers. In this research, an online tabulation method based on In Situ Adaptive Tabulation (ISAT) is developed to accelerate the computation of multicomponent fluid. Accuracy and efficiency are analyzed and discussed. The CFD solver used in this research is based on the Pressure-Implicit with Splitting of Operators (PISO) method. Peng-Robinson equation of state is used in phase equilibrium.more » « less
 An official website of the United States government
An official website of the United States government 
				
			 
					 
					
 
                                    