Go to the documentation of this file. 1 #include "readGravitationalAcceleration.H"
4 Info<<
"Reading thermophysical properties\n" <<
endl;
18 <<
"Inert specie " <<
inertSpecie <<
" not found in available species "
38 Info<<
"\nReading field U\n" <<
endl;
54 mesh.setFluxRequired(
p.name());
59 Info<<
"Creating turbulence model\n" <<
endl;
60 autoPtr<compressible::turbulenceModel>
turbulence
71 Info<<
"Creating reaction model\n" <<
endl;
72 autoPtr<CombustionModel<rhoReactionThermo>>
reaction
77 Info<<
"Creating multi-variate interpolation scheme\n" <<
endl;
78 multivariateSurfaceInterpolationScheme<scalar>::fieldTable
fields;
100 #include "createMRF.H"
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
const dictionary & simple
forAll(U.boundaryField(), patchi)
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 dimEnergy
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)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
volScalarField Qdot(IOobject("Qdot", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero))
#define FatalIOErrorIn(functionName, ios)
PtrList< volScalarField > & Y
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const word inertSpecie(thermo.get< word >("inertSpecie"))
Creates and initialises the face-flux field phi.
const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict())
errorManipArg< error, int > exit(error &err, const int errNo=1)
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
SLGThermo slgThermo(mesh, thermo)
const word & executable() const noexcept
Info<< "Creating reaction model\n"<< endl;autoPtr< CombustionModel< psiReactionThermo > > reaction(CombustionModel< psiReactionThermo >::New(thermo, turbulence()))
const dimensionSet dimVolume(pow3(dimLength))
Foam::argList args(argc, argv)
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
basicSpecieMixture & composition
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiReactionThermo > pThermo(psiReactionThermo::New(mesh))