35 namespace combustionModels
47 const word& modelType,
50 const word& combustionProperties
60 C_(this->coeffs().
template lookup<scalar>(
"C")),
61 oxidantName_(this->coeffs().
template lookupOrDefault<word>(
"oxidant",
"O2"))
80 const label fuelI = this->fuelIndex();
87 this->
thermo().composition().Y(oxidantName_);
101 this->coeffs().lookup(
"C") >> C_ ;
102 this->coeffs().readIfPresent(
"oxidant", oxidantName_);
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fluidReactionThermo & thermo
A list of keyword definitions, which are a keyword followed by any number of values (e...
basicSpecieMixture & composition
virtual void correct()
Correct combustion rate.
virtual bool read()
Update properties.
Base-class for multi-component fluid thermodynamic properties.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
diffusion(const word &modelType, const fluidReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
const dimensionSet dimTime
Calculate the gradient of the given field.
A class for handling words, derived from string.
dimensionedScalar pos0(const dimensionedScalar &ds)
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence(compressible::momentumTransportModel::New(rho, U, phi, thermo))
Base class for combustion models.
const dimensionSet dimMass
dimensionedScalar pow3(const dimensionedScalar &ds)
virtual bool read()
Update properties from given dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual ~diffusion()
Destructor.
dimensioned< scalar > mag(const dimensioned< Type > &)
Base class for combustion models using basicSpecieMixture.
Simple diffusion-based combustion model based on the principle mixed is burnt. Additional parameter C...
defineTypeNameAndDebug(diffusion, 0)
Abstract base class for turbulence models (RAS, LES and laminar).
addToRunTimeSelectionTable(combustionModel, diffusion, dictionary)