Go to the documentation of this file.
29 #include "surfaceInterpolate.H"
50 Foam::XiModels::transport::transport
52 const dictionary& XiProperties,
53 const psiuReactionThermo&
thermo,
62 XiShapeCoef(XiModelCoeffs_.
get<scalar>(
"XiShapeCoef")),
78 return XiGModel_->Db();
96 1.0 + (1.0 + (2*XiShapeCoef)*(0.5 - b_))*(XiEqStar - 1.0)
101 const objectRegistry& db = b_.db();
133 Xi_ =
min(Xi_, 2.0*XiEq);
141 XiModelCoeffs_.readEntry(
"XiShapeCoef", XiShapeCoef);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
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))
const dimensionedScalar G
A class for managing temporary objects.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
label min(const labelHashSet &set, label minValue=labelMax)
Calculate the matrix for the divergence of the given field and flux.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
#define R(A, B, C, D, E, F, K, M)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
const dimensionedScalar b
virtual bool read(const dictionary &XiProperties)=0
virtual tmp< volScalarField > Db() const
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New(mesh, fields, phi, mesh.divScheme("div(phi,Yi_h)")))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField Db("Db", turbulence->muEff())
Macros for easy insertion into run-time selection tables.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
const volScalarField & betav
Calculate the matrix for implicit and explicit sources.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Calculate the laplacian of the given field.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual bool read(const dictionary &XiProperties)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
defineTypeNameAndDebug(combustionModel, 0)
Calculate the matrix for the first temporal derivative.