Go to the documentation of this file. 1 Info<<
"Reading thermophysical properties\n" <<
endl;
20 IOobject::READ_IF_PRESENT,
47 mesh.setFluxRequired(
p.name());
61 nonInt.insert(
"grad(p)");
62 nonInt.insert(
"surfaceIntegrate(phi)");
63 nonInt.insert(
"surfaceIntegrate(phiHbyA)");
64 nonInt.insert(
"cellMask");
65 nonInt.insert(
"cellDisplacement");
66 nonInt.insert(
"interpolatedCells");
67 nonInt.insert(
"cellInterpolationWeight");
73 Info<<
"Creating turbulence model\n" <<
endl;
74 autoPtr<compressible::turbulenceModel>
turbulence
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
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))
static constexpr const zero Zero
const dimensionSet dimDensity
const dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict())
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
pressureControl pressureControl(p, rho, pimple.dict(), false)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Creates and initialises the face-flux field phi.
const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict())
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const word & executable() const noexcept
bool insert(const Key &key)
Creates mask for blocked out cells.
HashSet< word, Hash< word > > wordHashSet
A HashSet with word keys and string hasher.
Foam::argList args(argc, argv)
const volScalarField & psi
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiReactionThermo > pThermo(psiReactionThermo::New(mesh))