FreeFOAM The Cross-Platform CFD Toolkit
hEqn.H
Go to the documentation of this file.
1 {
2  fvScalarMatrix hEqn
3  (
4  fvm::ddt(rho, h)
5  + fvm::div(phi, h)
6  - fvm::laplacian(turb.alphaEff(), h)
7  ==
8  DpDt
9  );
10  if (oCorr == nOuterCorr-1)
11  {
12  hEqn.relax();
13  hEqn.solve(mesh.solver("hFinal"));
14  }
15  else
16  {
17  hEqn.relax();
18  hEqn.solve();
19  }
20 
21  thermo.correct();
22 
23  Info<< "Min/max T:" << min(thermo.T()).value() << ' '
24  << max(thermo.T()).value() << endl;
25 }