OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

TEqn.H

Go to the documentation of this file.
00001 {
00002     volScalarField kappaEff
00003     (
00004         "kappaEff",
00005         turbulence->nu()/Pr + turbulence->nut()/Prt
00006     );
00007 
00008     fvScalarMatrix TEqn
00009     (
00010         fvm::ddt(T)
00011       + fvm::div(phi, T)
00012       - fvm::laplacian(kappaEff, T)
00013     );
00014 
00015     TEqn.relax();
00016 
00017     TEqn.solve();
00018 
00019     rhok = 1.0 - beta*(T - TRef);
00020 }
Copyright © 2000-2009 OpenCFD Ltd