50 int main(
int argc,
char *argv[])
57 #include "createControl.H" 59 #include "createFields.H" 61 #include "initContinuityErrs.H" 72 Info<<
"\nStarting time loop\n" <<
endl;
77 #include "CourantNo.H" 78 #include "setDeltaT.H" 82 Info<<
"Time = " << runTime.timeName() <<
nl <<
endl;
87 #include "alphaControls.H" 91 #include "alphaEqnSubCycle.H" 111 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 112 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
autoPtr< compressible::turbulenceModel > turbulence
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<< "Reading incompressibleTwoPhaseInteractingMixture\n"<< endl;incompressibleTwoPhaseInteractingMixture mixture(U, phi);volScalarField &alpha1(mixture.alpha1());volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mixture.rho());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho)*phi);autoPtr< relativeVelocityModel > UdmModelPtr(relativeVelocityModel::New(mixture, mixture))
const dictionary & pimple
Ostream & endl(Ostream &os)
Add newline and flush stream.
Read the control parameters used by setDeltaT.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Execute application functionObjects to post-process existing results.
Read the control parameters used by setDeltaT.
CMULES: Multidimensional universal limiter for explicit corrected implicit solution.