Go to the documentation of this file.
45 Foam::XiEqModels::basicSubGrid::basicSubGrid
47 const dictionary& XiEqProperties,
48 const psiuReactionThermo&
thermo,
82 const fvMesh&
mesh = Su_.mesh();
102 mesh.time().constant(),
110 N.primitiveFieldRef() = Nv.primitiveField()*Cw;
117 U.mesh().time().timeName(),
125 ns.primitiveFieldRef() = nsv.primitiveField()*Cw;
138 return (XiSubEq*XiEqModel_->XiEq());
146 return XiEqModel_->read(XiEqModelCoeffs_);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
A class for managing temporary objects.
static constexpr const zero Zero
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
label min(const labelHashSet &set, label minValue=labelMax)
virtual bool read(const dictionary &XiEqProperties)=0
const dimensionedScalar b
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Macros for easy insertion into run-time selection tables.
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
virtual tmp< volScalarField > XiEq() const
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar e
const Vector< label > N(dict.get< Vector< label >>("N"))
defineTypeNameAndDebug(combustionModel, 0)
virtual bool read(const dictionary &XiEqProperties)