41Foam::XiEqModel::XiEqModel
44 const psiuReactionThermo&
thermo,
46 const volScalarField&
Su
51 XiEqProperties.subDict
53 XiEqProperties.
get<word>(
"XiEqModel") +
"Coeffs"
72 XiEqModelCoeffs_ = XiEqProperties.optionalSubDict(
type() +
"Coeffs");
89Foam::tmp<Foam::volScalarField>
109 N.primitiveFieldRef() = Nv.primitiveField()*
pow(
mesh.
V(), 2.0/3.0);
118 auto& ns = tns.ref();
120 ns.primitiveFieldRef() = nsv.primitiveField()*
pow(
mesh.
V(), 2.0/3.0);
136 N.primitiveFieldRef() = upLocal*(
max(scalar(1),
pow(nr, 0.5)) - 1.0);
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
@ NO_REGISTER
Do not request registration (bool: false).
Base-class for all XiEq models used by the b-XiEq combustion model. The available models are : basicX...
virtual ~XiEqModel()
Destructor.
virtual bool read(const dictionary &XiEqProperties)=0
Update properties from given dictionary.
tmp< volScalarField > calculateSchelkinEffect(const scalar) const
Return the sub-grid Schelkin effect.
void writeFields() const
Write fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
compressible::turbulenceModel & turbulence
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
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)
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
const Vector< label > N(dict.get< Vector< label > >("N"))