FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Base class for all non-premixed combustion models. More...

#include <combustionModels/combustionModel.H>


Detailed Description

Base class for all non-premixed combustion models.

Source files

Definition at line 53 of file combustionModel.H.

Inheritance diagram for combustionModel:
Collaboration diagram for combustionModel:

List of all members.

Classes

class  noCombustion
 No combustion. More...

Public Member Functions

 TypeName ("combustionModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, combustionModel, dictionary,(const dictionary &combustionProperties, const hsCombustionThermo &thermo, const compressible::turbulenceModel &turbulence, const surfaceScalarField &phi, const volScalarField &rho),(combustionProperties, thermo, turbulence, phi, rho))
 combustionModel (const dictionary &combustionProperties, const hsCombustionThermo &thermo, const compressible::turbulenceModel &turbulence, const surfaceScalarField &phi, const volScalarField &rho)
 Construct from components.
virtual  ~combustionModel ()
 Destructor.
const basicMultiComponentMixture &  composition () const
 Access composition.
const dictionary  combustionModelCoeffs () const
 Access combustion dictionary.
const dimensionedScalar  qFuel () const
 Access heat of combustion.
virtual tmp< volScalarField >  wFuelNorm () const =0
 Return normalised consumption rate of (fu - fres)
virtual tmp< fvScalarMatrix >  R (volScalarField &fu) const
 Fuel consumption rate matrix i.e. source-term for the fuel equation.
virtual tmp< volScalarField >  dQ (const fvScalarMatrix &Rfu) const
 Heat-release rate calculated from the given.
virtual void  correct ()=0
 Correct combustion rate.
virtual bool  read (const dictionary &combustionProperties)=0
 Update properties from given dictionary.

Static Public Member Functions

static autoPtr< combustionModel >  New (const dictionary &combustionProperties, const hsCombustionThermo &thermo, const compressible::turbulenceModel &turbulence, const surfaceScalarField &phi, const volScalarField &rho)
 Return a reference to the selected combustion model.

Protected Attributes

dictionary  combustionModelCoeffs_
 Dictionary of coefficients for the particular model.
const hsCombustionThermo &  thermo_
 Reference to the thermodynamic.
const
compressible::turbulenceModel &  
turbulence_
 Reference to the turbulence model.
const fvMesh &  mesh_
 Reference to the mesh database.
const surfaceScalarField &  phi_
 Reference to mass-flux field.
const volScalarField &  rho_
 Reference to the density field.
dimensionedScalar  stoicRatio_
 Stoichiometric air-fuel mass ratio.
dimensionedScalar  s_
 Stoichiometric oxygen-fuel mass ratio.
dimensionedScalar  qFuel_
 Heat of combustion (J/Kg)

Constructor & Destructor Documentation

combustionModel ( const dictionary &   combustionProperties,
const hsCombustionThermo &   thermo,
const compressible::turbulenceModel &   turbulence,
const surfaceScalarField &   phi,
const volScalarField &   rho  
)

Construct from components.

Definition at line 41 of file combustionModel.C.

~combustionModel (  ) [virtual]

Destructor.

Definition at line 70 of file combustionModel.C.


Member Function Documentation

TypeName ( "combustionModel"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
combustionModel   ,
dictionary   ,
(const dictionary &combustionProperties, const hsCombustionThermo &thermo, const compressible::turbulenceModel &turbulence, const surfaceScalarField &phi, const volScalarField &rho)   ,
(combustionProperties, thermo, turbulence, phi, rho)    
)
Foam::autoPtr< Foam::combustionModel > New ( const dictionary &   combustionProperties,
const hsCombustionThermo &   thermo,
const compressible::turbulenceModel &   turbulence,
const surfaceScalarField &   phi,
const volScalarField &   rho  
) [static]

Return a reference to the selected combustion model.

Definition at line 31 of file newCombustionModel.C.

References combustionProperties(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), phi, rho, thermo, and turbulence.

const basicMultiComponentMixture& composition (  ) const [inline]

Access composition.

Definition at line 166 of file combustionModel.H.

const dictionary combustionModelCoeffs (  ) const [inline]

Access combustion dictionary.

Definition at line 172 of file combustionModel.H.

References combustionModel::combustionModelCoeffs_.

const dimensionedScalar qFuel (  ) const [inline]

Access heat of combustion.

Definition at line 178 of file combustionModel.H.

References combustionModel::qFuel_.

virtual tmp<volScalarField> wFuelNorm (  ) const [pure virtual]

Return normalised consumption rate of (fu - fres)

Implemented in infinitelyFastChemistry, and noCombustion.

virtual tmp<fvScalarMatrix> R ( volScalarField &   fu  ) const [virtual]

Fuel consumption rate matrix i.e. source-term for the fuel equation.

virtual tmp<volScalarField> dQ ( const fvScalarMatrix &   Rfu  ) const [virtual]

Heat-release rate calculated from the given.

fuel consumption rate matrix

virtual void correct (  ) [pure virtual]

Correct combustion rate.

Implemented in infinitelyFastChemistry, and noCombustion.

bool read ( const dictionary &   combustionProperties  ) [pure virtual]

Update properties from given dictionary.

Implemented in infinitelyFastChemistry, and noCombustion.

Definition at line 100 of file combustionModel.C.

References dictionary::subDict(), and Foam::type().

Referenced by noCombustion::read(), and infinitelyFastChemistry::read().


Member Data Documentation

Dictionary of coefficients for the particular model.

Definition at line 61 of file combustionModel.H.

Referenced by combustionModel::combustionModelCoeffs().

const hsCombustionThermo& thermo_ [protected]

Reference to the thermodynamic.

Definition at line 64 of file combustionModel.H.

const compressible::turbulenceModel& turbulence_ [protected]

Reference to the turbulence model.

Definition at line 67 of file combustionModel.H.

const fvMesh& mesh_ [protected]

Reference to the mesh database.

Definition at line 70 of file combustionModel.H.

const surfaceScalarField& phi_ [protected]

Reference to mass-flux field.

Definition at line 73 of file combustionModel.H.

const volScalarField& rho_ [protected]

Reference to the density field.

Definition at line 76 of file combustionModel.H.

Stoichiometric air-fuel mass ratio.

Definition at line 79 of file combustionModel.H.

dimensionedScalar s_ [protected]

Stoichiometric oxygen-fuel mass ratio.

Definition at line 82 of file combustionModel.H.

Heat of combustion (J/Kg)

Definition at line 85 of file combustionModel.H.

Referenced by combustionModel::qFuel().


The documentation for this class was generated from the following files:
  • applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.H
  • applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.C
  • applications/solvers/combustion/fireFoam/combustionModels/combustionModel/newCombustionModel.C