39 Foam::XiEqModel::XiEqModel
41 const dictionary& XiEqProperties,
42 const psiuReactionThermo&
thermo,
49 XiEqProperties.subDict
51 word(XiEqProperties.
lookup(
"XiEqModel")) +
"Coeffs" 55 turbulence_(turbulence),
91 const fvMesh& mesh =
Su_.
mesh();
99 tmp<volScalarField> tN
106 mesh.time().timeName(),
117 N.primitiveFieldRef() = Nv.primitiveField()*
pow(mesh.V(), 2.0/3.0);
124 mesh.time().timeName(),
137 ns.primitiveFieldRef() = nsv.primitiveField()*
pow(mesh.V(), 2.0/3.0);
153 N.primitiveFieldRef() = upLocal*(
max(scalar(1.0),
pow(nr, 0.5)) - 1.0);
autoPtr< compressible::turbulenceModel > turbulence
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
dictionary XiEqModelCoeffs_
Dictionary.
const double e
Elementary charge.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual bool read(const dictionary &XiEqProperties)=0
Update properties from given dictionary.
tmp< volScalarField > calculateSchelkinEffect(const scalar) const
Return the sub-grid Schelkin effect.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual ~XiEqModel()
Destructor.
void writeFields() const
Write fields.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
psiReactionThermo & thermo
stressControl lookup("compactNormalStress") >> compactNormalStress
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Internal & ref()
Return a reference to the dimensioned internal field.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const Mesh & mesh() const
Return mesh.
virtual bool write() const
Write using setting from DB.
dimensioned< scalar > mag(const dimensioned< Type > &)
const volScalarField & Su_
Laminar burning velocity.
A class for managing temporary objects.
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)