45Foam::XiGModels::basicSubGrid::basicSubGrid
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)
Same as internalFieldRef().
virtual bool read(const dictionary &XiGProperties)=0
Update properties from given dictionary.
Basic sub-grid obstacle flame-wrinkling generation rate coefficient model. Details supplied by J Putt...
virtual bool read(const dictionary &XiGProperties)
Update properties from given dictionary.
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...
#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.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
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)
#define forAll(list, i)
Loop across all elements in list.
const Vector< label > N(dict.get< Vector< label > >("N"))