ENH: Time: access to libs
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / chtMultiRegionFoam / solid / solveSolid.H
blobd8aa03283b413d632634933e396f09ac4ab64e9b
1 if (finalIter)
3     mesh.data::add("finalIteration", true);
7     for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
8     {
9         tmp<fvScalarMatrix> TEqn
10         (
11             fvm::ddt(rho*cp, T)
12           - fvm::laplacian(K, T)
13         );
14         TEqn().relax();
15         TEqn().solve(mesh.solver(T.select(finalIter)));
16     }
18     Info<< "Min/max T:" << min(T) << ' ' << max(T) << endl;
21 thermo.correct();
23 if (finalIter)
25     mesh.data::remove("finalIteration");