Go to the documentation of this file. 1 Info<<
"Reading thermophysical properties\n" <<
endl;
19 IOobject::READ_IF_PRESENT,
43 mesh.setFluxRequired(
p.name());
45 Info<<
"Creating turbulence model\n" <<
endl;
46 autoPtr<compressible::turbulenceModel>
turbulence
59 #include "createMRF.H"
69 nonInt.insert(
"grad(p)");
70 nonInt.insert(
"surfaceIntegrate(phi)");
71 nonInt.insert(
"surfaceIntegrate(phiHbyA)");
72 nonInt.insert(
"cellMask");
73 nonInt.insert(
"cellDisplacement");
74 nonInt.insert(
"interpolatedCells");
75 nonInt.insert(
"cellInterpolationWeight");
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
const dictionary & simple
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< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
Add newline and flush stream.
pressureControl pressureControl(p, rho, pimple.dict(), false)
messageStream Info
Information stream (stdout output on master, null elsewhere)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Creates and initialises the face-flux field phi.
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Creates mask for interpolated cells.
const word & executable() const noexcept
Name of executable without the path.
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
Creates mask for blocked out cells.
dimensionedScalar initialMass
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
Foam::argList args(argc, argv)
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiReactionThermo > pThermo(psiReactionThermo::New(mesh))