27 #include "XiEqModel.H"
88 return XiEqModel_->Db();
106 const volScalarField XiEq(1 + XiProfile_->profile()*(XiEqStar - 1));
140 )*(Xi_ + scalar(1))/(2*Xi_)
146 +
fvm::div(phi + phiXi, Xi_,
"div(phiXi,Xi)")
173 Xi_ =
min(Xi_, 2*XiEq);
Macros for easy insertion into run-time selection tables.
volScalarField Db("Db", rho *turbulence->nuEff())
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
writeOption writeOpt() const
Templated abstract base class for thermophysical transport models.
Base class for equilibrium flame wrinkling XiEq models.
Base class for flame wrinkling Xi generation rate models.
Base-class for all Xi models used by the b-Xi combustion model.
volScalarField Xi_
Flame wrinkling field.
virtual bool readCoeffs(const dictionary &dict)=0
Update coefficients from given dictionary.
Transport model for flame wrinkling Xi.
transport(const dictionary &dict, const psiuMulticomponentThermo &thermo, const fluidThermoThermophysicalTransportModel &turbulence, const volScalarField &Su)
Construct from components.
virtual void correct()
Correct the flame-wrinkling Xi.
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
virtual ~transport()
Destructor.
Base class for flame wrinkling profiles.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Finite volume constraints.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
Mesh data needed to do the Finite Volume discretisation.
tmp< fvMatrix< Type > > source(const VolField< Type > &field) const
Return source for an equation.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Base-class for combustion fluid thermodynamic properties based on compressibility.
A class for managing temporary objects.
Foam::fvConstraints & fvConstraints(Foam::fvConstraints::New(mesh))
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Calculate the laplacian of the given field.
Calculate the matrix for the divergence of the given field and flux.
defineTypeNameAndDebug(equilibrium, 0)
addToRunTimeSelectionTable(XiModel, equilibrium, dictionary)
const dimensionedScalar G
Newtonian constant of gravitation.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static scalar R(const scalar a, const scalar x)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo