51 int main(
int argc,
char *argv[])
58 #include "initContinuityErrs.H" 59 #include "createControl.H" 62 #include "createFields.H" 73 IOobject::READ_IF_PRESENT,
80 #include "correctPhi.H" 87 #include "CourantNo.H" 88 #include "setInitialDeltaT.H" 92 Info<<
"\nStarting time loop\n" <<
endl;
96 #include "readControls.H" 100 #include "setRDeltaT.H" 104 #include "CourantNo.H" 105 #include "alphaCourantNo.H" 106 #include "setDeltaT.H" 111 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
118 scalar timeBeforeMeshUpdate = runTime.elapsedCpuTime();
124 Info<<
"Execution time for mesh.update() = " 125 << runTime.elapsedCpuTime() - timeBeforeMeshUpdate
130 if (
mesh.topoChanging())
144 #include "correctPhi.H" 158 #include "alphaControls.H" 159 #include "alphaEqnSubCycle.H" 179 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 180 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
const dictionary & pimple
Ostream & endl(Ostream &os)
Add newline and flush stream.
const surfaceScalarField & ghf
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Creates and initialises the velocity velocity field Uf.
const dimensionedVector & g
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("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\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating phaseChangeTwoPhaseMixture\"<< endl;autoPtr< phaseChangeTwoPhaseMixture > mixture
Calculates and outputs the mean and maximum Courant Numbers.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & gh
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Execute application functionObjects to post-process existing results.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
Provides functions smooth spread and sweep which use the FaceCellWave algorithm to smooth and redistr...
Read the control parameters used by setDeltaT.
CMULES: Multidimensional universal limiter for explicit corrected implicit solution.
volScalarField rAU(1.0/UEqn.A())
tmp< surfaceScalarField > talphaPhi1Corr0