Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / buoyantBoussinesqPimpleFoam / TEqn.H
blobdbfc61739f7d21e2d095ae55181831345fc05a75
2     kappat = turbulence->nut()/Prt;
3     kappat.correctBoundaryConditions();
5     volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
7     fvScalarMatrix TEqn
8     (
9         fvm::ddt(T)
10       + fvm::div(phi, T)
11       - fvm::laplacian(kappaEff, T)
12     );
14     TEqn.relax();
15     TEqn.solve();
17     rhok = 1.0 - beta*(T - TRef);