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(turb.alphaEff(), h)
7  ==
8  fvc::div(phi/fvc::interpolate(rho), p, "div(U,p)")
10  );
11 
12  hEqn.relax();
13 
14  eqnResidual = hEqn.solve().initialResidual();
16 
17  thermo.correct();
18 
19  Info<< "Min/max T:" << min(thermo.T()).value() << ' '
20  << max(thermo.T()).value() << endl;
21 }