27 #include "surfaceInterpolate.H" 48 Foam::XiModels::transport::transport
50 const dictionary& XiProperties,
51 const psiuReactionThermo&
thermo,
59 XiModel(XiProperties, thermo, turbulence, Su, rho, b, phi),
61 XiEqModel_(XiEqModel::
New(XiProperties, thermo, turbulence, Su)),
62 XiGModel_(XiGModel::
New(XiProperties, thermo, turbulence, Su))
76 return XiGModel_->Db();
82 const fv::convectionScheme<scalar>& mvConvection
94 1.0 + (1.0 + (2*XiShapeCoef)*(0.5 -
b_))*(XiEqStar - 1.0)
99 const objectRegistry& db =
b_.
db();
120 + mvConvection.fvmDiv(
phi_,
Xi_)
autoPtr< compressible::turbulenceModel > turbulence
const volScalarField & b_
const objectRegistry & db() const
Return the local objectRegistry.
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionedScalar G
Newtonian constant of gravitation.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
volScalarField Xi_
Flame wrinking field.
const surfaceScalarField & phi_
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
psiReactionThermo & thermo
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual bool read(const dictionary &XiProperties)=0
Update properties from given dictionary.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const volScalarField & rho_
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
Calculate the laplacian of the given field.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calulate the matrix for the first temporal derivative.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
const volScalarField & Su_
dictionary XiModelCoeffs_
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
defineTypeNameAndDebug(combustionModel, 0)
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
Calculate the matrix for the divergence of the given field and flux.
virtual void correct()
Correct the flame-wrinking Xi.
#define R(A, B, C, D, E, F, K, M)
virtual bool read(const dictionary &XiProperties)
Update properties from given dictionary.
void max(const dimensioned< Type > &)
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)
virtual ~transport()
Destructor.
Calculate the matrix for implicit and explicit sources.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.