Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / heatTransfer / buoyantSimpleRadiationFoam / hEqn.H
blob24b17645d2c3f62b38cdca9a4c7b908a8e08931f
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     eqnResidual = hEqn.solve().initialResidual();
16     maxResidual = max(eqnResidual, maxResidual);
18     thermo.correct();
20     radiation->correct();