46 int main(
int argc,
char *argv[])
49 #include "postProcess.H"
51 #include "setRootCase.H"
52 #include "createTime.H"
53 #include "createMesh.H"
57 #include "createTimeControls.H"
63 scalar meanCoNum = 0.0;
66 #include "updateFluxes.H"
68 Info<<
"\nStarting time loop\n" << endl;
85 #include "readTimeControls.H"
86 if(runTime.controlDict().lookupOrDefault<
bool>(
"adjustTimeStep",
false))
88 surfaceScalarField Cof
96 CoNum = max(Cof).value();
97 Info <<
"Courant Number = " << CoNum << endl;
104 Info<<
"Time = " << runTime.timeName() << nl << endl;
120 - fvm::laplacian(
Hif,
T)
127 Info <<
"max/min of T: " << max(
T).value() <<
"/" << min(
T).value() << endl;
132 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
133 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
139 Info<<
"End\n" << endl;
tmp< GeometricField< T, Foam::fvsPatchField, Foam::surfaceMesh > > qgdFlux(const GeometricField< scalar, Foam::fvsPatchField, Foam::surfaceMesh > &flux, const GeometricField< T, Foam::fvPatchField, Foam::volMesh > &psi, const GeometricField< T, Foam::fvsPatchField, Foam::surfaceMesh > &psif, const word fluxName)
const surfaceScalarField & tauQGDf
const surfaceScalarField & hQGDf
surfaceScalarField phiTauTReg
int main(int argc, char *argv[])
Switch implicitDiffusion(thermo.implicitDiffusion())
surfaceScalarField phiTf("phiTf", phi *Tf)
Reset the timestep to maintain a constant maximum courant Number. Reduction of time-step is immediate...
tmp< surfaceScalarField > div(const volVectorField &vF)
Includation for QHD solver. Equations of state for QHD based on density. Class for fvsc namespace...
fvScalarMatrix TSu(T, T.dimensions()*dimVolume/dimTime)