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(turbulence->alphaEff(), h)
00007      ==
00008         DpDt
00009     );
00010 
00011     if (oCorr == nOuterCorr-1)
00012     {
00013         hEqn.relax();
00014         hEqn.solve(mesh.solver("hFinal"));
00015     }
00016     else
00017     {
00018         hEqn.relax();
00019         hEqn.solve();
00020     }
00021 
00022     thermo.correct();
00023 }
00024 
00025 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines