FreeFOAM The Cross-Platform CFD Toolkit
hEqn.H
Go to the documentation of this file.
1 {
2  fvScalarMatrix hEqn
3  (
4  fvm::div(phi, h)
5  - fvm::Sp(fvc::div(phi), h)
6  - fvm::laplacian(turbulence->alphaEff(), h)
7  ==
10  );
11 
12  hEqn.relax();
13 
14  eqnResidual = hEqn.solve().initialResidual();
16 
17  thermo.correct();
18 }
19 
20 // ************************ vim: set sw=4 sts=4 et: ************************ //