45 #include "dynamicFvMesh.H"
47 #include "turbulentFluidThermoModel.H"
48 #include "turbulentTransportModel.H"
53 int main(
int argc,
char *argv[])
56 #include "postProcess.H"
58 #include "setRootCase.H"
59 #include "createTime.H"
60 #include "createDynamicFvMesh.H"
62 bool checkMeshCourantNo
64 thermo.subDict(
"QGD").lookupOrDefault(
"checkMeshCourantNo",
false)
68 #include "createTimeControls.H"
76 scalar meanCoNum = 0.0;
78 Info<<
"\nStarting time loop\n" << endl;
82 checkMeshCourantNo =
thermo.subDict(
"QGD").lookupOrDefault
88 #include "readTimeControls.H"
99 Info<<
"Time = " << runTime.timeName() << nl << endl;
130 fvc::makeRelative(
phi,
U);
132 if (checkMeshCourantNo)
134 #include "meshCourantNo.H"
144 if (
p.needReference())
146 p += dimensionedScalar
150 pRefValue - getRefCellValue(
p, pRefCell)
156 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
157 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
164 Info<<
"End\n" << endl;
Calculates the mean and maximum wave speed based Courant Numbers.
Updates fluxes for continuity equation.
int main(int argc, char *argv[])
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
Reset the timestep to maintain a constant maximum courant Number. Reduction of time-step is immediate...
Solver for unsteady 3D turbulent flow of incompressible fluid governed by quasi-hydrodynamic dynamic ...
Info<< "Thermo corrected"<< endl;autoPtr< compressible::turbulenceModel > turbulence
Includation for QHD solver. Equations of state for QHD based on density. Class for fvsc namespace...
Solution of momentum equation for QHD solver.
Solution of continuity equation for QGD solver.
Creates the face fields: linear interpolation of fields from volumes to face centers.
Creates the face-flux fields.