Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / buoyantSimpleRadiationFoam / hEqn.H
blob57de44e4a0b39ecfe5c17b719df318866e3bbdab
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)*fvc::interpolate(p))
9       - p*fvc::div(phi/fvc::interpolate(rho))
10       + radiation->Sh(thermo)
11     );
13     hEqn.relax();
15     hEqn.solve();
17     thermo.correct();
19     radiation->correct();