Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / buoyantBaffleSimpleFoam / hEqn.H
blob23313b56cf10d7819fe0cd0f69cae76341941cc9
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     );
12     hEqn.relax();
13     hEqn.solve();
15     baffles->evolve();
16     thermo.correct();