Abstract

Although OpenFOAM is a widely-used open source computational fluid dynamics (CFD) tool, it is limited to numerical simulations of multi-dimensional reacting/nonreacting flows at relatively-low pressures. This is not only because real-fluid models that can evaluate thermophysical properties at high pressures are not available in the thermophysicalModels library of OpenFOAM, but also because the existing mixing model cannot handle various mixing rules of real-fluid models. In the present study, we develop a novel algorithm applicable for a mixture model incorporating various mixing rules in OpenFOAM. Based on the new algorithm, we update the thermophysicalModels library of OpenFOAM 6.0 by implementing a set of real-fluid models such as the Soave-Redlich-Kwong/Peng-Robinson equation of state, Chung's model for dynamic viscosity and thermal conductivity, mixture averaged model for mass diffusivity using Takahashi's correction for binary diffusion coefficients at high pressure. The new library is validated against experimental data and is further assessed for compressible reacting flows by performing two-dimensional numerical simulations of axisymmetric laminar non-premixed counterflow flames and one-dimensional numerical simulations of premixed CH4/air flames at high pressures. The developed library can be used for any reacting flow solvers in OpenFOAM 6.0 that adopt a set of implemented real-fluid models. Program summaryProgram title: Real-fluid thermophysicalModelsCPC Library link to program files:https://doi.org/10.17632/n8zb2wpjp6.1Developer's repository link:https://github.com/danhnam11/realFluidThermophysicalModels-6Licensing provisions: GPLv3Programming language: C++Nature of problem: The mixing rules required for evaluating the real-fluid based thermophysical properties of mixtures are relatively complicated and different from each other, while the existing thermophysicalModels library offers only a mixing rule based on the mass fraction weighted average of each species, for which overloading operator functions (“*” and “+=”) are utilized to update parameters for a mixture. However, this approach is not applicable for complicated mixing rules in the real-fluid models.Solution method: To build a mixture class containing different mixing rules in different models such as the equation of states and thermodynamics/transport properties in OpenFOAM, we adopt void-type functions (parameter updating functions) to update parameters of a mixture instead of the original overloading operator functions in OpenFOAM. The parameters in the mixing rules that depend on pressure and temperature are handled by decomposition such that they can be updated in the mixture class.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.