initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / solvers / compressible / rhoPimpleFoam / hEqn.H
blobe66b99442b87bd6e3a4fdeb4025e94f5f88e09c3
2     fvScalarMatrix hEqn
3     (
4         fvm::ddt(rho, h)
5       + fvm::div(phi, h)
6       - fvm::laplacian(turbulence->alphaEff(), h)
7      ==
8         DpDt
9     );
11     if (oCorr == nOuterCorr-1)
12     {
13         hEqn.relax();
14         hEqn.solve(mesh.solver("hFinal"));
15     }
16     else
17     {
18         hEqn.relax();
19         hEqn.solve();
20     }
22     thermo.correct();