ENH: directMappedFixedValue: use different tag
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / rhoSimpleFoam / hEqn.H
blobe6c74938ee00d4cc77c232de32e537576c33c9f3
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     hEqn.relax();
14     hEqn.solve();
16     thermo.correct();