Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / chtMultiRegionFoam / chtMultiRegionSimpleFoam / fluid / hEqn.H
blob2fde518a6c10a6c55addf6d5bba10c22bf72d532
2     fvScalarMatrix hEqn
3     (
4         fvm::div(phi, h)
5       - fvm::Sp(fvc::div(phi), h)
6       - fvm::laplacian(turb.alphaEff(), h)
7      ==
8         fvc::div(phi/fvc::interpolate(rho), rho/psi, "div(U,p)")
9       - (rho/psi)*fvc::div(phi/fvc::interpolate(rho))
10       + rad.Sh(thermo)
11     );
13     hEqn.relax();
15     hEqn.solve();
17     thermo.correct();
19     rad.correct();
21     Info<< "Min/max T:" << min(thermo.T()).value() << ' '
22         << max(thermo.T()).value() << endl;