ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / rhoSimpleFoam / rhoPorousMRFSimpleFoam / hEqn.H
blobff0b91bcb7aa71baafec4132306043b07b6ffd04
2     fvScalarMatrix hEqn
3     (
4         fvm::div(phi, h)
5       - fvm::Sp(fvc::div(phi), h)
6       - fvm::laplacian(turbulence->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     );
12     pZones.addEnthalpySource(thermo, rho, hEqn);
14     hEqn.relax();
16     hEqn.solve();
18     thermo.correct();