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

TEqn.H

Go to the documentation of this file.
00001 {
00002     kappat = turbulence->nut()/Prt;
00003     kappat.correctBoundaryConditions();
00004 
00005     volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
00006 
00007     fvScalarMatrix TEqn
00008     (
00009         fvm::ddt(T)
00010       + fvm::div(phi, T)
00011       - fvm::laplacian(kappaEff, T)
00012     );
00013 
00014     TEqn.relax();
00015     TEqn.solve(mesh.solver(T.select(finalIter)));
00016 
00017     rhok = 1.0 - beta*(T - TRef);
00018 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines