43 int main(
int argc,
char *argv[])
56 Info<<
"\nCalculating temperature distribution\n" <<
endl;
60 Info<<
"Time = " << runTime.userTimeName() <<
nl <<
endl;
80 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
81 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
Finite volume constraints.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
tmp< fvMatrix< Type > > source(const VolField< Type > &field) const
Return source for an equation.
virtual void correct()
Correct the fvModels.
bool correctNonOrthogonal(const bool finalIter=false)
Non-orthogonal corrector loop.
Simple control class. Provides time-loop control methods which exit the simulation once convergence c...
bool loop(Time &time)
Time loop loop.
simpleControl simple(mesh)
Calculate the matrix for the laplacian of the field.
int main(int argc, char *argv[])
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)