Go to the documentation of this file.
3 Info<<
"Reading thermophysical properties\n" <<
endl;
42 Info<<
"Creating turbulence model\n" <<
endl;
43 autoPtr<compressible::turbulenceModel>
turbulence
55 #include "readGravitationalAcceleration.H"
60 Info<<
"Reading field p_rgh\n" <<
endl;
82 if (
p_rgh.needReference())
107 #include "createMRF.H"
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
dimensioned< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
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)
setRefCell(p, pimple.dict(), pRefCell, pRefValue)
const volScalarField & gh
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)
scalar getRefCellValue(const volScalarField &field, const label refCelli)
const word & executable() const noexcept
dimensionedScalar initialMass
Foam::argList args(argc, argv)
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiReactionThermo > pThermo(psiReactionThermo::New(mesh))