74 int main(
int argc,
char *argv[])
81 #include "createControl.H" 82 #include "readCombustionProperties.H" 83 #include "readGravitationalAcceleration.H" 84 #include "createFields.H" 85 #include "createFieldRefs.H" 86 #include "initContinuityErrs.H" 88 #include "compressibleCourantNo.H" 89 #include "setInitialDeltaT.H" 96 Info<<
"\nStarting time loop\n" <<
endl;
98 bool hasChanged =
false;
100 while (
pimple.run(runTime))
103 #include "compressibleCourantNo.H" 104 #include "setDeltaT.H" 112 tmagGradP()/
max(tmagGradP())
114 normalisedGradP.writeOpt() = IOobject::AUTO_WRITE;
119 Info<<
"\n\nTime = " << runTime.timeName() <<
endl;
147 bool meshChanged =
mesh.update();
155 if (runTime.write() && hasChanged)
204 Info<<
"\nExecutionTime = " 205 << runTime.elapsedCpuTime()
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fluidReactionThermo & thermo
pimpleNoLoopControl & pimple
virtual void correct()
Correct the fvModels.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Info<< "Reading strained laminar flame speed field Su\"<< endl;volScalarField Su(IOobject("Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field betav\"<< endl;volScalarField betav(IOobject("betav", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field Lobs\"<< endl;volScalarField Lobs(IOobject("Lobs", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field CT\"<< endl;volSymmTensorField CT(IOobject("CT", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field Nv\"<< endl;volScalarField Nv(IOobject("Nv", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field nsv\"<< endl;volSymmTensorField nsv(IOobject("nsv", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);IOdictionary PDRProperties(IOobject("PDRProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));autoPtr< PDRDragModel > drag
Read the control parameters used by setDeltaT.
GeometricField< vector, fvPatchField, volMesh > volVectorField
autoPtr< XiModel > flameWrinkling
Create the flame-wrinkling model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Info<< "Reading field U\"<< 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(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence(compressible::momentumTransportModel::New(rho, U, phi, thermo))
Bound the given scalar field if it has gone unbounded.
fluidReactionThermophysicalTransportModel & thermophysicalTransport
Foam::fvModels & fvModels
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
dimensioned< scalar > mag(const dimensioned< Type > &)
Execute application functionObjects to post-process existing results.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
Read the control parameters used by setDeltaT.