FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

hEqn.H

Go to the documentation of this file.
00001 {
00002     fvScalarMatrix hEqn
00003     (
00004         fvm::ddt(rho, h)
00005       + fvm::div(phi, h)
00006       - fvm::laplacian(turb.alphaEff(), h)
00007      ==
00008         DpDt
00009     );
00010     if (oCorr == nOuterCorr-1)
00011     {
00012         hEqn.relax();
00013         hEqn.solve(mesh.solver("hFinal"));
00014     }
00015     else
00016     {
00017         hEqn.relax();
00018         hEqn.solve();
00019     }
00020 
00021     thermo.correct();
00022 
00023     Info<< "Min/max T:" << min(thermo.T()).value() << ' '
00024         << max(thermo.T()).value() << endl;
00025 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines