39 int main(
int argc,
char *argv[])
48 #include "createFields.H" 52 Info<<
"\nCalculating temperature distribution\n" <<
endl;
54 while (
simple.loop(runTime))
56 Info<<
"Time = " << runTime.userTimeName() <<
nl <<
endl;
60 while (
simple.correctNonOrthogonal())
76 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 77 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
fvMatrix< scalar > fvScalarMatrix
virtual void correct()
Correct the fvModels.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Foam::fvConstraints & fvConstraints
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
Foam::fvModels & fvModels
simpleControl simple(mesh)