
In this lecture, we begin the course with a comprehensive introduction to combustion modeling in CFD. Combustion is a complex multi-physics and multi-scale phenomenon involving fluid flow, turbulence, heat transfer, chemical reactions, and strong thermodynamic coupling. Understanding these interactions is essential for accurately simulating real combustion systems.
The lecture explains the fundamental challenges in combustion simulations, including the large difference between chemical and flow time scales, strong coupling between temperature, density, and species transport, and the stiffness introduced by chemical reaction rates.
Key topics covered in this lecture include:
Why combustion modeling is challenging in CFD
Combustion as a multi-physics and multi-scale problem
Overview of premixed and non-premixed combustion
Differences between laminar and turbulent combustion
Simulation approaches such as DNS, RANS, and LES
Major combustion modeling strategies:
Finite-rate chemistry models
Reduced and phenomenological combustion models
Flamelet and flame surface density approaches
Key challenges such as stiff chemistry, density variations, and turbulence–chemistry interaction
Overview of combustion solvers available in OpenFOAM
The lecture also introduces several important OpenFOAM solvers used for combustion simulations, including:
chemFoam – zero-dimensional chemistry solver
reactingFoam and rhoReactingFoam – finite-rate reacting flow solvers
XiFoam family – premixed flame propagation solvers
fireFoam and PDRFoam – fire and explosion modeling solvers
By the end of this lecture, you will understand the overall landscape of combustion modeling, the key physical challenges involved, and how different OpenFOAM solvers address various combustion regimes. This foundation will help you choose the appropriate solver and modeling approach for practical combustion simulations later in the course.
In this lecture, we introduce the fundamentals of chemical kinetics in combustion modeling and understand how chemical reactions are represented in CFD solvers.
We begin by discussing why chemical kinetics is important in combustion simulations, including its role in predicting heat release, flame propagation, and pollutant formation. The lecture then explains the governing equations used to model chemical reactions, including species generation rates and the strong coupling between temperature and reaction rates.
Key concepts covered in this lecture include:
Role of chemical kinetics in combustion modeling
Governing equations for species production and temperature evolution
Arrhenius reaction rate law and its parameters
Stoichiometry and reaction mechanisms
How reaction rates and temperature are coupled
NASA polynomial coefficients for thermodynamic properties
Understanding stiffness in combustion chemistry
Why implicit ODE solvers are required for stiff reaction systems
Introduction to CHEMKIN format used in combustion solvers
Overview of the chemFoam solver in OpenFOAM for zero-dimensional chemistry analysis
By the end of this lecture, you will understand how chemical reaction mechanisms are mathematically represented and solved in combustion simulations, forming the foundation for implementing chemistry models in CFD tools like OpenFOAM and CHEMKIN-based solvers.
In this lecture, we explore how chemical reaction mechanisms are implemented in OpenFOAM using the chemFoam solver. The session introduces the CHEMKIN file format, widely used for defining combustion chemistry mechanisms in CFD simulations.
We examine real combustion mechanism examples from the OpenFOAM tutorials, including GRI-Mech methane combustion, hydrogen combustion, and larger mechanisms such as heptane and iso-octane. The lecture explains the structure of key CHEMKIN input files such as chem.in, therm.dat, and transport properties, and how elements, species, reactions, and Arrhenius parameters are defined.
You will also learn how the same chemistry mechanisms can be implemented using OpenFOAM dictionaries, allowing flexibility in defining species, reactions, thermodynamic coefficients, and transport properties directly within OpenFOAM.
Additionally, the lecture covers:
How to connect CHEMKIN files to thermophysicalProperties
The role of NASA polynomial coefficients for thermodynamic data
Validation of chemistry solvers using temperature rise tests
Overview of ODE solvers for stiff chemistry systems
Important settings inside chemistryProperties, including chemical time-step control and solver selection
By the end of this lecture, you will understand how to read CHEMKIN mechanisms, implement chemistry in OpenFOAM, and verify that your chemical reaction solver is working correctly.
In this lecture, we explore the theoretical foundations of reacting incompressible flows and understand how combustion with flow is modeled using the reactingFoam solver in OpenFOAM.
We begin by examining the species transport equations used to track the evolution of different chemical species such as CO₂, O₂, and N₂ in reacting flows. The lecture then explains how chemical reaction source terms are incorporated into both the species transport equation and the energy equation, allowing the simulation to capture heat release, temperature evolution, and species consumption or production.
Key topics covered in this lecture include:
Formulation of the species transport equation in reacting flows
Role of chemical source terms in combustion modeling
How heat release from chemical reactions is added to the energy equation
Coupling between reaction rates and temperature through Arrhenius kinetics
Differences between chemFoam (0D chemistry solver) and reactingFoam (flow + chemistry solver)
Step-by-step solver algorithm used in reactingFoam
Strategies for coupling chemical kinetics with fluid flow
Introduction to the Eddy Dissipation Concept (EDC) model for turbulence–chemistry interaction
Physical interpretation of partial cell reactions and mixing-limited combustion
By the end of this lecture, you will understand how species transport, heat release, turbulence, and chemical reactions are coupled in CFD combustion simulations, and how these concepts are implemented in reactingFoam within OpenFOAM.
In this lecture, we set up and run a reacting flow simulation using the reactingFoam solver in OpenFOAM. The goal is to understand how reactingFoam solves the governing equations for reactive compressible flows and how to configure a case from scratch.
We begin with a short overview of the solution procedure used in reactingFoam, where the solver sequentially solves:
Continuity equation
Momentum equation
Species transport equations
Energy equation
Pressure correction using the PIMPLE algorithm
Turbulence corrections (if turbulence modeling is enabled)
Using thermodynamic relations, the density is updated from pressure and temperature, completing the coupling between flow, chemistry, and thermodynamics.
Next, we build a complete OpenFOAM case structure, including the required folders:
0 – initial and boundary conditions
constant – physical properties, chemistry, and turbulence models
system – numerical schemes, solvers, and simulation control
We then create the computational mesh using blockMesh for a simple 2D domain with two inlets and one outlet, where different gases enter and mix before reacting. The lecture also covers:
Understanding blockMeshDict structure
Defining vertices, blocks, and boundary patches
Applying mesh grading to refine cells near walls and important flow regions
After generating the mesh, we import boundary conditions from an existing tutorial case and examine the inlet conditions defined through a time-varying CSV file, which specifies mass flow rate, temperature, species composition, and pressure.
Initially, the simulation runs without chemical reactions, allowing us to observe the flow behavior. We then enable chemistry by:
Activating chemistry solvers in chemistryProperties
Adding reaction mechanisms using Chemkin format
Defining species thermodynamic and transport properties
Enabling EDC turbulence–chemistry interaction model
Once reactions are activated, we observe the formation of multiple species and the effect of exothermic reactions on temperature, velocity, and species distribution.
Finally, we discuss parallel execution using decomposePar to speed up simulations and analyze the results in ParaView, including:
Species distribution (e.g., CH₄, H₂O, H₂)
Temperature rise due to combustion
Velocity fields and mixing behavior
Reaction zones identified using the EDC reaction indicator
By the end of this lecture, you will understand how to:
Build a reactingFoam case from scratch
Configure mesh, chemistry, and turbulence models
Run reacting flow simulations with detailed chemistry
Visualize and interpret reacting flow results
In this lecture, we introduce rhoReactingFoam, the compressible reacting flow solver in OpenFOAM, and understand how it differs from the reactingFoam solver used for weakly compressible or incompressible reacting flows.
We begin by discussing the thermophysical modeling approach used in compressible combustion simulations, focusing on the difference between hePsiThermo and heRhoThermo formulations. The lecture explains how density, pressure, and temperature are coupled through the equation of state, and how rhoReactingFoam explicitly solves density using density-based thermodynamics.
Key topics covered in this lecture include:
Introduction to the rhoReactingFoam solver
Differences between reactingFoam and rhoReactingFoam
Understanding hePsiThermo vs heRhoThermo thermodynamic models
Role of the equation of state (perfect gas) in compressible combustion
How density is computed and updated during simulations
Differences in pressure equation formulation
Converting an existing reactingFoam case to rhoReactingFoam
Comparing pressure, temperature, and velocity results between the two solvers
By the end of this lecture, you will understand when to use reactingFoam versus rhoReactingFoam, and how solver selection depends on the physical phenomena you want to capture, such as flame propagation, compressibility effects, or pressure wave dynamics.
Pressure Equation in Reacting Solvers: reactingFoam vs rhoReactingFoam vs rhoReactingBuoyantFoam
Description:
In this lecture, we compare how the pressure equation is handled in different reacting flow solvers in OpenFOAM. Specifically, we analyze the differences between reactingFoam, rhoReactingFoam, and rhoReactingBuoyantFoam, focusing on how pressure, density, and buoyancy are treated within the numerical framework.
We begin with a short recap of how the pressure field is computed in reactingFoam and rhoReactingFoam, and then extend the discussion to include rhoReactingBuoyantFoam, which introduces buoyancy effects. Although these solvers share a similar PIMPLE-based algorithm, the way the pressure equation is formulated leads to important differences in their behavior and application.
The lecture explains how pressure and density are coupled through the equation of state, typically expressed using the perfect gas relation. Depending on the thermodynamic model used, this relationship can be written in terms of compressibility (ψ), which directly affects the form of the pressure equation.
We then examine each solver in detail:
reactingFoam
Compressible reacting flow solver
Solves the thermodynamic pressure directly
Does not include buoyancy effects
Suitable for reacting jets and non-buoyant combustion problems
rhoReactingBuoyantFoam
Designed for gravity-dominated reacting flows
Uses modified pressure (p_rgh) to remove the hydrostatic component
Improves numerical stability in flows with strong density variations and buoyancy effects
Commonly used for fires, plumes, and furnace simulations
rhoReactingFoam
Fully compressible reacting flow solver
Uses an explicit treatment of density and pressure coupling
Supports features such as moving meshes and density bounding
Suitable for highly compressible reacting flows
We also discuss the numerical structure of the pressure equation, including implicit and explicit treatments of compressibility terms, flux corrections, and pressure–velocity coupling inside the PIMPLE algorithm.
By the end of this lecture, you will understand:
How pressure equations differ across major reacting solvers in OpenFOAM
How buoyancy and compressibility influence solver formulation
How to choose the appropriate solver for different reacting flow problems
Which solver is best suited as a starting point for developing new reacting solvers
In this lecture, we explore rhoReactingBuoyantFoam, a combustion solver in OpenFOAM that includes buoyancy and gravity effects in reacting compressible flows. Using the same combustion case solved previously with reactingFoam and rhoReactingFoam, we now investigate how gravity influences the flow, species transport, and combustion behavior.
The lecture begins by modifying the existing case setup to run with rhoReactingBuoyantFoam, including updates to thermophysical properties, gravity settings, and pressure formulation using p_rgh. We also examine how buoyancy terms are implemented in the solver source code and how gravity contributes to the momentum and pressure equations.
Key topics covered in this lecture include:
Introduction to the rhoReactingBuoyantFoam solver
Understanding buoyancy effects in reacting flows
Role of gravity and body forces in combustion simulations
Implementation of p_rgh pressure formulation
Required case setup changes when switching solvers
Running the solver and resolving common setup issues
Comparing results with reactingFoam and rhoReactingFoam
Observing how lighter species (like hydrogen) behave under gravity
Through visualization and comparison of velocity, temperature, density, and species distributions, we demonstrate how buoyancy influences combustion flow structures.
By the end of this lecture, you will understand when buoyancy effects become important in reacting flow simulations and how to configure rhoReactingBuoyantFoam to capture these physical phenomena in OpenFOAM.
In this lecture, we introduce premixed turbulent combustion modeling and the XiFoam solver in OpenFOAM, which models combustion without solving detailed chemical kinetics.
We begin by discussing the limitations of finite-rate chemistry models in highly turbulent combustion systems. In many practical applications, such as engines and gas turbines, turbulent mixing strongly influences reaction rates, making detailed chemistry simulations computationally expensive and sometimes unnecessary.
To address this, premixed combustion models represent the flame as a thin propagating reaction front, where the burning rate depends on laminar flame speed and turbulence-induced flame wrinkling.
Key concepts covered in this lecture include:
Why detailed chemistry models become expensive in turbulent combustion
Introduction to the Damköhler number and its role in combustion regime classification
Concept of premixed flame propagation
Flame surface density and its role in determining reaction rates
The wrinkling factor (Xi) and how turbulence increases the effective flame surface area
Relationship between laminar flame speed and turbulent flame speed
Overview of the XiFoam solver for premixed turbulent combustion
Governing equations for progress variable and wrinkling factor transport
How turbulence models (k–ε, k–ω, LES) influence flame propagation
By the end of this lecture, you will understand how premixed combustion can be modeled efficiently without resolving detailed chemical reactions, and how XiFoam couples turbulence and flame propagation to simulate turbulent premixed flames.
In this lecture, we explore the source code and solution algorithm of the XiFoam solver in OpenFOAM. XiFoam is a compressible combustion solver designed for premixed and partially premixed flames, commonly used in applications such as gas turbines and premixed combustion systems.
We begin by understanding the overall structure of the XiFoam solver and how it differs from standard reacting solvers. The solver uses a turbulent flame speed model based on the B–Xi two-equation formulation, where:
B (or progress variable) represents the fraction of unburnt mixture
Xi (wrinkling factor) accounts for turbulence-induced flame surface wrinkling
These equations allow the solver to model turbulent flame propagation without directly resolving the flame thickness.
The lecture walks through the main equations solved in XiFoam, including:
Continuity equation
Momentum equation
Transport equation for fuel–air mixture fraction
Progress variable (B) transport equation
Xi (flame wrinkling factor) equation
Energy equations for unburnt and total mixture
Pressure correction using the PIMPLE algorithm
We also discuss how the laminar flame speed is calculated using Gulder’s flame speed correlation, and how different modeling approaches can be selected through solver dictionaries. Users can compute the flame speed using:
Algebraic models
Equilibrium relations
Transport equations
Similarly, the Xi wrinkling factor can be specified in multiple ways:
Fixed value
Algebraic relation
Transport equation
Another key feature explained in this lecture is the ignition modeling approach, where the ignition location and parameters must be defined in the solver dictionaries. This allows XiFoam to simulate flame initiation and subsequent flame propagation.
We also highlight the important parameters that must be configured in the combustionProperties dictionary, including:
Laminar flame speed models (SuModel)
Xi models and coefficients
Flame wrinkling parameters
Fuel-specific combustion properties
By the end of this lecture, you will understand:
How XiFoam models premixed combustion
The key transport equations used in the solver
How flame propagation is modeled using the B–Xi approach
Which parameters and models must be defined for a simulation
In this lecture, we learn how to set up and run a premixed combustion simulation using the XiFoam solver in OpenFOAM. Starting from the official OpenFOAM tutorial case, we explore the simulation setup and then modify it to better understand how flame ignition and propagation are modeled in premixed combustion simulations.
The lecture begins by running the base tutorial case and visualizing the progress variable, which represents the transition from unburnt mixture (0) to burnt gases (1) as the flame propagates through the domain.
We then examine the key components of the case setup, including:
Boundary conditions for progress variable, turbulence quantities, and velocity
Definition of laminar flame speed and wrinkling factor (Xi)
Configuration of combustion properties and flame speed correlations
Available flame speed models such as Gulders, Gulders with EGR, and Ravi–Petersen
Understanding ignition parameters and ignition kernel setup
Setting the equivalence ratio and turbulence model parameters
Next, we modify the case to:
Disable ignition to observe how the solver behaves without flame initiation
Change the ignition location to the center of the domain
Study how domain symmetry influences flame propagation patterns
Modify the mesh resolution to observe how geometry affects flame shape
Through these experiments, we observe how flame fronts propagate, interact with boundaries, and evolve based on ignition location and domain configuration.
By the end of this lecture, you will understand how to configure, run, and modify a XiFoam premixed combustion case, preparing you to build custom combustion simulations in OpenFOAM.
In this lecture, we extend our XiFoam premixed combustion case by introducing inlet and outlet boundary conditions along with wall boundaries. This modification allows us to simulate a flow-driven combustion scenario instead of a purely closed domain.
We begin by modifying the blockMesh configuration to define:
Inlet boundary on the left side
Outlet boundary on the right side
Wall boundaries at the top and bottom
Empty boundaries for the front and back planes (2D simulation)
Next, we update the boundary conditions for all flow and combustion variables, including:
Progress variable (B) for burnt and unburnt regions
Velocity (U) with a prescribed inlet velocity
Pressure (p) with a fixed outlet pressure
Turbulence quantities (k, epsilon, nut) with appropriate wall functions
Temperature and laminar flame speed fields
We then run the simulation and analyze how flow velocity affects flame propagation and stability. By comparing different inlet velocities, we observe:
How high inlet velocity can extinguish the flame
How lower inlet velocity allows the flame to sustain and propagate
The influence of flow on pressure waves, temperature distribution, and flame structure
This lecture demonstrates how boundary conditions and flow velocity influence premixed combustion behavior, which is essential for modeling burners, combustion chambers, and practical reacting flow systems.
In this lecture, we extend our premixed combustion simulation by adding a solid obstacle that acts as a burner inside the flow domain. This allows us to simulate a more realistic scenario where fuel enters the domain, ignites near a burner surface, and the flame propagates downstream with the flow.
We begin by creating a custom burner geometry using Gmsh. A simple object is constructed using points, lines, and extrusion, then exported as an STL surface. This geometry is positioned inside the computational domain to represent the burner location.
Next, we extend the computational domain and use snappyHexMesh to generate a mesh that conforms to the burner geometry. The lecture demonstrates:
Creating burner geometry using Gmsh
Exporting geometry as an STL surface
Extending the simulation domain
Using snappyHexMesh to capture complex geometry
Verifying mesh quality and boundary definitions
Assigning appropriate wall boundary conditions for the burner surface
After preparing the mesh, we modify the ignition location and ignition parameters so that the flame starts near the burner. During the first run, numerical issues arise due to mesh non-orthogonality and abrupt mesh size changes, which lead to instability.
To stabilize the simulation, we apply several improvements:
Reducing ignition kernel size
Using cell-limited numerical schemes
Adjusting time stepping with adjustable time step
Improving solver stability for complex meshes
Once these changes are implemented, the simulation successfully shows flame ignition near the burner and downstream flame propagation with the incoming flow. The results illustrate how geometry, mesh quality, and solver settings influence combustion behavior.
By the end of this lecture, you will understand how to integrate complex geometry into a combustion simulation and model burner-driven flame propagation in OpenFOAM.
In this lecture, we introduce XiEngineFoam, a specialized OpenFOAM solver designed for premixed and partially premixed combustion in internal combustion engines. Unlike XiFoam, this solver accounts for engine kinematics and moving mesh due to piston motion, making it suitable for realistic engine simulations.
We begin by reviewing the results of the previous simulation involving an inflow, ignition source, and burner obstacle to understand how flame propagation and temperature evolution occur in a flowing premixed mixture.
Next, we explore how XiEngineFoam extends the XiFoam solver by coupling combustion with engine geometry and crank–piston motion. Because engine combustion occurs in a changing volume, the mesh must dynamically move as the piston compresses and expands the gas mixture.
Key topics covered in this lecture include:
Overview of the XiEngineFoam solver
Why engine simulations require dynamic meshes
Understanding moving wall boundary conditions for piston motion
Configuration of the engineGeometry dictionary
Key engine parameters such as:
Connecting rod length
Bore diameter
Stroke length
Clearance volume
Engine RPM
Understanding layered dynamic meshes used for piston motion
Differences between homogeneous and inhomogeneous mixture models
Defining fuel, oxidizer, and combustion products in thermophysical models
Running the engine simulation in parallel
Finally, we visualize the results to observe:
Piston motion and dynamic mesh deformation
Spark ignition inside the cylinder
Flame propagation within the compressed mixture
Evolution of temperature, pressure, velocity, and wrinkling factor (Xi)
This lecture demonstrates how combustion modeling, engine kinematics, and mesh motion are coupled in engine CFD simulations, providing insight into how numerical simulations can be used to design and analyze internal combustion engines.
In this lecture, we introduce the fundamental theory behind fire modeling and the OpenFOAM solver designed for this purpose: fireFoam. This solver is specifically developed for simulating buoyancy-driven fires using a low-Mach-number Large Eddy Simulation (LES) formulation.
We begin by discussing the physical characteristics of fire-driven flows and how they differ from other combustion systems such as engines or burners. Fire simulations typically involve large spatial and temporal scales, strong buoyancy effects, and complex interactions between turbulence, heat release, and radiation.
A key concept introduced in this lecture is the low-Mach-number assumption, which is appropriate for most fire scenarios where the flow speed is much lower than the speed of sound. This approach filters out acoustic waves while still capturing thermal expansion and density variations, which are essential for accurately modeling fire dynamics.
The lecture also explains the dominant physical mechanisms in fire simulations, including:
Buoyancy-driven turbulence caused by temperature-induced density changes
Plume formation and rising smoke columns
Natural convection and entrainment of ambient air
Heat release from combustion and radiative heat transfer
We further discuss why radiation modeling is critical in fire simulations, as radiative heat transfer can heat surrounding surfaces and potentially trigger secondary ignition or flame spread. This makes radiation an essential component in fire safety and hazard analysis.
Another important topic covered is the role of Large Eddy Simulation (LES) in fire modeling. Fire-induced turbulence often contains large, unsteady flow structures, which cannot be accurately captured using traditional RANS models. LES allows these large coherent structures to be resolved, while smaller turbulent scales are modeled using subgrid-scale models such as Smagorinsky-type models.
Typical applications of fireFoam include:
Building and tunnel fire safety analysis
Pool fire simulations
Wildland fire spread modeling
Smoke propagation and ventilation studies in buildings
By the end of this lecture, you will understand the core physical principles behind fire modeling and why fireFoam uses a low-Mach-number LES formulation to accurately simulate buoyancy-driven fire dynamics.
In this lecture, we explore a pool fire tutorial using the fireFoam solver and examine how it differs from rhoReactingBuoyantFoam, another solver used for buoyant reacting flows in OpenFOAM. Although both solvers include gravity and buoyancy effects, fireFoam contains additional modeling features designed specifically for fire dynamics simulations.
We begin by running a 2D pool fire case and visualizing the flame development and plume formation caused by buoyancy. Then, we examine the fireFoam source code to understand the sequence of equations being solved, including the continuity, momentum, species transport, and pressure equations.
A key focus of this lecture is the introduction of the modified pressure formulation used in fireFoam. In addition to the usual pressure field, fireFoam solves for p_rgh and ph_rgh, which help properly represent hydrostatic pressure effects in buoyant fire simulations. We discuss how these variables influence boundary conditions and why they are important for modeling open atmospheric boundaries in fire scenarios.
The lecture also walks through the case setup, including:
Boundary conditions for velocity, pressure, temperature, and species
Treatment of open atmospheric boundaries
Setup of gravity and reference pressure values
Overview of additional fireFoam dictionaries such as boundary radiation properties and additional solver controls
Finally, we modify the same case to run with rhoReactingBuoyantFoam and compare the results. Through this comparison, we highlight the key difference in pressure boundary handling, showing why fireFoam provides a more accurate treatment for fire plume simulations and open-atmosphere fire scenarios.
By the end of this lecture, you will understand:
How to run and analyze a fireFoam pool fire simulation
The role of p_rgh and hydrostatic pressure treatment
Key differences between fireFoam and rhoReactingBuoyantFoam
Why fireFoam is better suited for fire and plume modeling applications
In this lecture, we explore the theory and numerical implementation of pyrolysis modeling in fireFoam. Pyrolysis is a crucial process in fire simulations because most fires originate from the thermal degradation of solid fuels, which release combustible gases that sustain the flame.
We begin by understanding the physical role of pyrolysis in fire dynamics. In real fire scenarios, a solid object exposed to high temperatures undergoes thermochemical decomposition, producing gaseous species that subsequently participate in gas-phase combustion. Without modeling this process, fire simulations would only capture gas-phase combustion, which is not sufficient for realistic fire growth and flame spread predictions.
The lecture explains how pyrolysis:
Converts solid fuels into combustible gases through thermal decomposition
Links heat feedback from flames to solid fuel degradation
Controls the fuel mass loss rate and burning intensity
Determines flame spread and fire growth behavior
We then discuss how pyrolysis is implemented in OpenFOAM’s fireFoam solver using the reactingOneDim model. In this approach, the solid fuel is treated as a one-dimensional reactive medium, where heat conduction and decomposition occur only in the direction normal to the surface, without lateral heat transfer.
Key governing equations covered in this lecture include:
Solid mass conservation equation, representing fuel degradation
Solid species transport equations, used when multiple solid components are present
Energy equation, accounting for heat conduction and reaction heat release
Radiative heat absorption, modeled using the Beer–Lambert law
Radiation plays a critical role in pyrolysis because radiative heat transfer from flames can heat nearby solid surfaces, potentially triggering ignition and flame spread.
Another important concept discussed is the coupling between the solid pyrolysis region and the gas-phase combustion solver. The gases generated from solid decomposition are transferred into the fluid domain, where they act as a fuel source for combustion.
The lecture also provides an overview of the numerical strategy used in fireFoam, including:
Finite-volume discretization on a pseudo-1D mesh
Implicit treatment of diffusion terms
Explicit evaluation of chemical source terms
Optional moving mesh capability for regressing solid surfaces
Finally, we highlight why pyrolysis modeling is essential for realistic fire simulations. It determines the rate of fuel release, heat feedback, and flame propagation, enabling accurate predictions of ignition, flame spread, and fire growth.
In this lecture, we introduce pyrolysis modeling in fireFoam and demonstrate how to include and solve a solid pyrolysis region within an OpenFOAM fire simulation. Pyrolysis plays a crucial role in fire dynamics because solid fuels decompose thermally and release combustible gases, which then participate in gas-phase combustion.
We begin by exploring the pyrolysis model implementation in OpenFOAM, focusing on the reactingOneDim pyrolysis model available in the regionModels library. This model solves the thermal decomposition of solids using a one-dimensional formulation, meaning that heat and mass transfer occur only in the normal direction of the surface, without lateral heat conduction between cells.
Next, we walk through the complete setup process required to create a pyrolysis region in a fireFoam simulation. The key steps include:
Creating a face set and face zone from an existing boundary patch
Extruding the face zone to generate a solid pyrolysis mesh region
Understanding the structure of the new region mesh and its boundaries
Visualizing the pyrolysis mesh and how it connects to the gas-phase domain
Creating a separate region folder in the 0 directory for pyrolysis boundary conditions
Defining thermal boundary conditions and radiation inputs for the solid surface
We also configure the thermophysical properties and chemical reactions for the solid fuel. In this example, wood undergoes pyrolysis and decomposes into char and combustible gases, which can later interact with the gas-phase combustion model.
Important dictionaries and settings discussed include:
pyrolysis region setup in additionalControls
thermophysical properties for solid materials
pyrolysis reaction mechanisms
radiation properties for solid surfaces
numerical schemes and solvers for the pyrolysis region
Finally, we run the simulation with the gas-phase solver temporarily disabled, allowing us to focus only on the behavior of the pyrolysis region.
By the end of this lecture, you will understand:
How pyrolysis is modeled in fireFoam
How to create and extrude a pyrolysis mesh region
How to define solid fuel reactions and thermophysical properties
How the solid region interacts with the gas-phase domain
In this lecture, we learn how to set up and solve a pyrolysis region in fireFoam using OpenFOAM. Pyrolysis modeling is essential for realistic fire simulations because it allows solid fuels to thermally decompose and release combustible gases that feed the flame.
We begin by exploring the pyrolysis model implementation in OpenFOAM, focusing on the reactingOneDim model available in the regionModels library. This model solves the pyrolysis process using a one-dimensional formulation, where heat transfer and species evolution occur only in the direction normal to the surface, without lateral heat conduction.
Next, we walk through the complete workflow required to create a solid pyrolysis region from an existing fluid simulation. The main steps include:
Creating a faceSet from an existing boundary patch
Converting the face set into a faceZone
Using extrudeToRegionMesh to generate a 1D solid mesh region
Understanding the new boundaries created during extrusion
Visualizing the solid pyrolysis mesh and its connection to the gas-phase domain
We then configure the necessary folders and dictionaries required for the new region, including:
Creating a separate region directory inside the 0 folder
Applying boundary conditions for temperature and radiation
Defining thermophysical properties for solid materials
Specifying pyrolysis reactions, such as wood decomposing into char and gaseous products
The lecture also explains how to:
Enable the pyrolysis model inside the main solver
Configure radiation coupling between the gas and solid regions
Define numerical schemes and solver settings for the pyrolysis region
Run the simulation to solve the solid pyrolysis process independently
By the end of this lecture, you will understand:
How to create a solid pyrolysis region mesh
How to configure pyrolysis chemistry and thermophysical properties
How the solid region is connected to the gas-phase domain
How to activate and run pyrolysis modeling in fireFoam
In this lecture, we explore the concept of surface film modeling in FireFOAM and understand why it plays a critical role in realistic fire simulations. You’ll learn how thin liquid layers—formed due to sprinklers, fuel runoff, or condensation—can significantly influence heat and mass transfer, even though they are geometrically small. We dive into the thermoSingleLayer model, which represents this film as a thermodynamically active single layer coupled with gas and solid regions. The lecture covers governing conservation equations for mass, momentum, and energy, along with key modeling aspects like evaporation, phase change, radiation, and film viscosity. We also discuss numerical implementation, wettability modeling, and how surface films impact fire suppression, flame spread, and wall temperature prediction. By the end, you’ll clearly understand how incorporating surface films improves the accuracy of fire dynamics simulations in FireFOAM.
In this lecture, we extend the pool fire simulation in fireFoam by introducing two important physical models: solid fuel pyrolysis and surface film modeling. These additions allow us to simulate more realistic fire behavior compared to the earlier case where fuel was simply injected as a gas from an inlet.
First, we modify the existing pool fire case to include a pyrolysis region, where a solid fuel (wood) thermally decomposes and releases combustible gases into the gas phase. We enable both the pyrolysis region and the gaseous region, examine the relevant dictionaries, and compare the resulting velocity and flow behavior with the earlier small pool fire simulation.
Next, we introduce surface film modeling, which is used to simulate liquid films on solid surfaces—for example, water films used in fire suppression systems. Using an OpenFOAM tutorial case, we examine how to:
Create pyrolysis and surface film regions
Generate additional film meshes and patches
Configure the surfaceFilmProperties dictionary
Select and understand film submodels such as viscosity, heat transfer, radiation, phase change, and injection models
Define boundary conditions for film thickness, temperature, and velocity
We also explore how surface film dynamics interact with the pyrolysis region, affecting the burning behavior of the fuel. Through post-processing, we observe how the water film reduces surface temperature and limits flame spread, demonstrating the water suppression mechanism.
By the end of this lecture, you will understand:
How to couple pyrolysis with gas-phase combustion in fireFoam
How to add and configure surface film models
How liquid films influence fire spread and suppression
This knowledge is essential for simulating fire dynamics, fuel burning behavior, and fire suppression systems in realistic engineering scenarios.
In this lecture, we begin the final section of the course by introducing PDRFoam, an advanced OpenFOAM solver designed for premixed combustion and explosion simulations in congested geometries. PDRFoam extends the XiFoam premixed combustion solver by incorporating porosity and distributed resistance modeling, allowing simulations of complex industrial environments without explicitly resolving every obstacle.
Many real-world combustion problems occur in densely packed industrial systems, such as process plants, explosion chambers, and obstacle-laden ducts. Accurately meshing every pipe, instrument, and structural element in these environments is often computationally impractical. PDRFoam addresses this challenge by modeling the effect of unresolved obstacles using porosity-based resistance models.
Key concepts covered in this lecture include:
Motivation for porosity-based combustion modeling
Limitations of resolving small obstacles in large industrial domains
Introduction to volume porosity (βᵥ) and its physical meaning
Additional PDR parameters such as:
Obstacle diameter (Lobs)
Obstacle surface area per unit volume (Aw)
Obstacle number density (Nv)
Drag and turbulence generation coefficients
How porosity modifies the governing equations, including:
Continuity equation
Progress variable transport equation
Pressure correction equation
Modeling of turbulent flame speed using wrinkling factor (Xi)
Flame propagation modeling using laminar flame speed correlations
We also compare XiFoam and PDRFoam, highlighting how PDRFoam introduces additional physics such as obstacle drag and turbulence generation, making it suitable for explosion and flame acceleration simulations in congested environments.
Typical applications of PDRFoam include:
Gas explosion simulations in industrial facilities
Flame acceleration in obstacle-laden ducts
Safety analysis of congested process equipment
Large-scale combustion simulations where geometry cannot be fully resolved
In this lecture, we explore the PDRFoam solver in OpenFOAM, which is commonly used for explosion and safety simulations in complex geometries. We begin by examining the source code of PDRFoam to understand how it extends the XiFoam premixed combustion solver by introducing additional modeling for porosity and distributed resistance.
PDRFoam is particularly useful for simulations involving large explosions and obstructed geometries, where resolving every obstacle with the mesh would be computationally expensive. Instead, the solver introduces porosity-based modeling to represent unresolved obstacles and blockages.
Key topics covered in this lecture include:
Overview of the PDRFoam solver and its purpose
Differences between XiFoam and PDRFoam
Understanding additional fields such as:
Volume porosity (βᵥ)
Average obstacle diameter
Obstacle drag and resistance terms
Modifications in the continuity, momentum, and flame propagation equations
Introduction to wrinkling factor (Xi) models and instability models
Using SCOPE laminar flame speed model
We then extend our previous XiFoam combustion case into a PDRFoam simulation and configure the required files, including:
PDRProperties dictionary
Thermophysical mixture definitions (fuel, oxidants, and burnt products)
Solver-specific numerical schemes and solution settings
The lecture also demonstrates how to define porosity and obstacles inside the domain using the specialized utilities:
PDRblockMesh – to generate the computational mesh
PDRsetFields – to assign porosity and obstacle parameters
Geometry dictionaries – to define cylindrical obstacles and pipe lattices
Finally, we visualize the results to observe how porosity and obstacles influence flame propagation, flow patterns, and pressure development during an explosion simulation.
By the end of this lecture, you will understand how PDRFoam models complex obstructed environments and how to set up explosion simulations in OpenFOAM using porosity-based resistance modeling.
This course provides a practical and detailed introduction to combustion modeling using OpenFOAM, one of the most widely used open-source computational fluid dynamics (CFD) platforms. The focus of this course is to help engineers, researchers, and students understand how reacting flow simulations are performed in OpenFOAM and how different combustion solvers are configured and used in real CFD problems.
The course begins with an explanation of the fundamental equations governing reacting flows, including the continuity equation, momentum equation, species transport equations, and energy equation. You will learn how these equations are solved sequentially inside OpenFOAM solvers and how the pressure–velocity coupling algorithms such as PIMPLE are used to maintain numerical stability in reacting flow simulations.
A major focus of the course is the practical setup of combustion simulations. You will learn how to build complete OpenFOAM cases from scratch by creating the required case structure, generating meshes, defining boundary conditions, and configuring solver settings. The course demonstrates how to generate structured meshes using blockMesh, apply mesh grading for better resolution in critical regions, and prepare simulation domains suitable for reacting flow problems.
The course also explains how chemical reactions are introduced into CFD simulations. You will learn how to enable chemistry solvers, define reaction mechanisms, and include species transport in the simulation. Detailed chemistry models are introduced using reaction mechanisms, and the course explains how OpenFOAM handles chemical kinetics and species evolution during combustion.
Another important topic covered in the course is turbulence–chemistry interaction modeling. You will learn how turbulence affects combustion processes and how models such as the Eddy Dissipation Concept (EDC) are used to represent the interaction between turbulence and chemical reactions. The course also demonstrates how combustion affects flow properties such as temperature, species concentration, and velocity fields.
In addition to case setup and simulations, the course includes solver code walkthroughs so you can understand how combustion solvers are implemented internally. You will explore the structure and algorithm of solvers such as reactingFoam and XiFoam, which are commonly used for modeling reacting flows and premixed combustion. Understanding the solver code helps you gain deeper insight into how combustion models are implemented and how they influence simulation results.
The course also demonstrates how to run simulations efficiently using parallel computing in OpenFOAM. You will learn how to decompose the computational domain and run large reacting flow simulations faster using multiple processors.
By the end of this course, you will be able to set up, run, and analyze combustion simulations in OpenFOAM, understand the governing models used in reacting solvers, and interpret results such as temperature fields, species distributions, and reaction zones. This knowledge is highly valuable for engineers and researchers working in fields such as energy systems, gas turbines, fire modeling, propulsion, and chemical process simulations.
The course includes step-by-step video lectures, downloadable PDF notes, and complete OpenFOAM case files, allowing you to reproduce every simulation and practice the concepts on your own system. This combination of theory and hands-on implementation ensures that you gain both conceptual understanding and practical experience in combustion CFD using OpenFOAM.