14 lines
302 B
C
14 lines
302 B
C
{
|
|
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
|
|
{
|
|
tmp<fvScalarMatrix> TEqn
|
|
(
|
|
fvm::ddt(rho*cp, T)
|
|
- fvm::laplacian(K, T)
|
|
);
|
|
TEqn().relax();
|
|
TEqn().solve();
|
|
}
|
|
|
|
Info<< "Min/max T:" << min(T) << ' ' << max(T) << endl;
|
|
}
|