Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / heatTransfer / buoyantSimpleFoam / hEqn.H
blob0c507ce3d18bff29619626d62d5570c67e415cc2
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();
14     eqnResidual = hEqn.solve().initialResidual();
15     maxResidual = max(eqnResidual, maxResidual);
17     thermo.correct();