Go to the documentation of this file.
61 int main(
int argc,
char *argv[])
69 #include "../interFoam/interDyMFoam/createControls.H"
70 #include "initContinuityErrs.H"
71 #include "createFields.H"
81 IOobject::READ_IF_PRESENT,
89 #include "CourantNo.H"
90 #include "setInitialDeltaT.H"
96 Info<<
"\nStarting time loop\n" <<
endl;
100 #include "../interFoam/interDyMFoam/readControls.H"
107 #include "CourantNo.H"
108 #include "setDeltaT.H"
112 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
119 scalar timeBeforeMeshUpdate = runTime.elapsedCpuTime();
125 Info<<
"Execution time for mesh.update() = "
126 << runTime.elapsedCpuTime() - timeBeforeMeshUpdate
138 #include "correctPhi.H"
150 #include "alphaControls.H"
166 #include "alphaEqnSubCycle.H"
185 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
186 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
CMULES: Multidimensional universal limiter for explicit corrected implicit solution.
const surfaceScalarField & ghf
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionedVector & g
Ostream & endl(Ostream &os)
Add newline and flush stream.
Creates and initialises the velocity velocity field Uf.
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
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
interfaceProperties interface(alpha1, U, mixture())
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
autoPtr< compressible::turbulenceModel > turbulence
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
int main(int argc, char *argv[])
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volScalarField & gh
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
volScalarField rAU("rAU", 1.0/UEqn().A())
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
Calculates and outputs the mean and maximum Courant Numbers.
const dictionary & pimple
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.