OpenFOAM guide/Introduction to OpenFOAM Programming, A Walk Through reactingFOAM

From OpenFOAMWiki

1 Chapter 1: Why reactingFOAM ?

reactingFOAM is (one of the simpler ) reacting flow solvers of OpenFOAM. Understanding how this particular code works in a line by line manner, gives an idea not just of this particular solver but also the general programming techniques employed in OpenFOAM. Besides, this also gives an understanding of both the flow calculations as well as the reaction calculations in OpenFOAM.

2 Chapter 2: What do the initial header files do?

The beginning part of reactingFoam code (ofcourse after the license statement) reads

 
#include "fvCFD.H"
#include "hCombustionThermo.H"
#include "compressible/turbulenceModel/turbulenceModel.H"
#include "chemistryModel.H"
#include "chemistrySolver.H"
#include "multivariateScheme.H"

Let us briefly see what these headers do

3 Section 1:
 "fvCFD.H"

A look into
 "fvCFD.H"
shows the following