46 int main(
int argc,
char *argv[])
53 #include "initContinuityErrs.H" 54 #include "createControl.H" 57 #include "createFields.H" 67 IOobject::READ_IF_PRESENT,
74 #include "correctPhi.H" 76 #include "CourantNo.H" 77 #include "setInitialDeltaT.H" 85 Info<<
"\nStarting time loop\n" <<
endl;
89 #include "readControls.H" 90 #include "CourantNo.H" 91 #include "alphaCourantNo.H" 93 #include "setDeltaT.H" 97 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
104 scalar timeBeforeMeshUpdate = runTime.elapsedCpuTime();
110 Info<<
"Execution time for mesh.update() = " 111 << runTime.elapsedCpuTime() - timeBeforeMeshUpdate
123 #include "correctPhi.H" 156 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 157 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s" autoPtr< compressible::turbulenceModel > turbulence
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 p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating phaseChangeTwoPhaseMixture\n"<< 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)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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.
volScalarField rAU(1.0/UEqn.A())