OpenFOAM solver for thermal and chemical conversion in porous media

Żuk, Paweł Jan and Tużnik, Bartosz and Rymarz, Tadeusz and Kwiatkowski, Kamil and Dudyński, Marek and Galeazzo, Flavio C.C. and Krieger Filho, Guenther C. (2022) OpenFOAM solver for thermal and chemical conversion in porous media. Computer Physics Communications, 278. ISSN 0010-4655

Full text not available from this repository.


We present the porousGasificationFoam solver and libraries, developed in the open-source C++ code OpenFOAM, for the comprehensive simulation of the thermochemical conversion in porous media. The code porousGasificationFoam integrates gas flow through a porous media with the models of heterogeneous (drying, gasification, pyrolysis, solid combustion, precipitation) and homogeneous (gas combustion) chemical reactions. Inside porous media transport equations are formulated applying the spatial averaging methodology. The mass and enthalpy transfer between solid and gas phases is suitable for systems out of the thermal equilibrium. The convection and radiation modes of the heat transfer are included for gas and solid phases, and the immersed boundary technique is applied for the porous media inside the computational domain. We validate the elements of the model against a set of experimental and theoretical results. Amongst them, Thermogravimetric Analysis experiments of thermal conversions of two wooden particles: one of millimeter size the other of centimeter size. Simulations feature reaction schemes and physical parameters established in the literature. We show the influence of the porous media size on the gasification process. The millimeter particle remains uniform, while for the centimeter setup, the pyrolysis front is reproduced. The spatial patterns in physical conditions modify the course of chemical reactions and influence media composition and structure evolution. Another important example is a gasifier where we obtain a self-sustaining front propagation due to an exothermic heterogeneous reaction. Program summary Program Title: porousGasificationFoam CPC Library link to program files: Developer's repository link:; 8) Licensing provisions: GNU General Public Licence version 3 Programming language: C++ External routines/libraries: OpenFOAM 8, foam-extend-4.1 Nature of problem: The developed software is a solver and a set of libraries for simulating the thermal conversion in porous media, including drying, pyrolysis, gasification, and combustion. The model includes the flow of the reactive gas mixture and the transfer of mass and enthalpy between the gas and solid phases. The porous medium can change during the process. The model is transient and enables three-dimensional simulations.Solution method: The finite-volume method is used in the code for equation discretization. A set of governing equations is solved for the gas and solid phases, including mass conservation of gas species and solid components, momentum conservation in the gas phase, and equations of enthalpy conservation in both phases. The porous media region inside the whole computational domain is defined using the immersed boundary approach.

Item Type:
Journal Article
Journal or Publication Title:
Computer Physics Communications
Uncontrolled Keywords:
ID Code:
Deposited By:
Deposited On:
16 May 2022 14:35
Last Modified:
17 Sep 2023 03:14