47 const dictionary& XiGProperties,
48 const psiuReactionThermo&
thermo,
50 const volScalarField&
Su
54 k1(XiGModelCoeffs_.
get<scalar>(
"k1")),
69 const objectRegistry& db = Su_.db();
74 tmp<volScalarField> tGtot = XiGModel_->G();
84 Gtot[celli] += k1*
mag(
U[celli])/Lobs[celli];
94 const objectRegistry& db = Su_.db();
100 return XiGModel_->Db()
101 +
rho*Su_*(Xi - 1.0)*mgb*(0.5*Lobs)*Lobs/(mgb*Lobs + 1.0);
109 XiGModelCoeffs_.readEntry(
"k1", k1);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
virtual bool read()
Re-read model coefficients if they have changed.
Basic sub-grid obstacle flame-wrinkling enhancement factor model. Details supplied by J Puttock 2/7/0...
virtual tmp< volScalarField > G() const
Return the flame-wrinkling generation rate.
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
virtual ~basicSubGrid()
Destructor.
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)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define forAll(list, i)
Loop across all elements in list.
const Vector< label > N(dict.get< Vector< label > >("N"))