43 const dictionary& XiEqProperties,
44 const psiuReactionThermo&
thermo,
46 const volScalarField&
Su
51 XiEqProperties.subDict
53 XiEqProperties.
get<word>(
"XiEqModel") +
"Coeffs"
72 XiEqModelCoeffs_ = XiEqProperties.optionalSubDict(
type() +
"Coeffs");
93 const fvMesh&
mesh = Su_.mesh();
101 tmp<volScalarField> tN
119 N.primitiveFieldRef() = Nv.primitiveField()*
pow(
mesh.
V(), 2.0/3.0);
134 ns.primitiveFieldRef() = nsv.primitiveField()*
pow(
mesh.
V(), 2.0/3.0);
150 N.primitiveFieldRef() = upLocal*(
max(scalar(1),
pow(nr, 0.5)) - 1.0);
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
virtual bool read()
Re-read model coefficients if they have changed.
static word timeName(const scalar t, const int precision=precision_)
Base-class for all XiEq models used by the b-XiEq combustion model. The available models are : basicX...
virtual ~XiEqModel()
Destructor.
tmp< volScalarField > calculateSchelkinEffect(const scalar) const
Return the sub-grid Schelkin effect.
void writeFields() const
Write fields.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name, const bool recursive=false) const
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
compressible::turbulenceModel & turbulence
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
static constexpr const zero Zero
Global zero (0)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
const Vector< label > N(dict.get< Vector< label > >("N"))