Go to the documentation of this file.
36 int main(
int argc,
char *argv[])
46 Info<<
"\nCalculating temperature distribution\n" <<
endl;
48 while (runTime.loop())
57 <<
", T = " <<
T[cellI] <<
endl;
62 runTime.writeAndEnd();
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
int main(int argc, char *argv[])
fvScalarMatrix TEqn(fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
const volVectorField & C() const
Return cell centres as volVectorField.
label k
Boltzmann constant.
A special matrix type and solver, designed for finite volume solutions of scalar equations....