ENH: Time: access to libs
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / buoyantBoussinesqSimpleFoam / TEqn.H
blob180a33d9186d3f450ed4bb06c8b4e79bb69ee41f
2     kappat = turbulence->nut()/Prt;
3     kappat.correctBoundaryConditions();
5     volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
7     fvScalarMatrix TEqn
8     (
9         fvm::div(phi, T)
10       - fvm::Sp(fvc::div(phi), T)
11       - fvm::laplacian(kappaEff, T)
12     );
14     TEqn.relax();
15     TEqn.solve();
17     rhok = 1.0 - beta*(T - TRef);