Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / heatTransfer / buoyantBoussinesqSimpleFoam / TEqn.H
blob7452a0495adf2207ffb0f66e9e4484e1e7c9bad2
2     volScalarField kappaEff
3     (
4         "kappaEff",
5         turbulence->nu()/Pr + turbulence->nut()/Prt
6     );
8     fvScalarMatrix TEqn
9     (
10         fvm::div(phi, T)
11       - fvm::Sp(fvc::div(phi), T)
12       - fvm::laplacian(kappaEff, T)
13     );
15     TEqn.relax();
17     eqnResidual = TEqn.solve().initialResidual();
18     maxResidual = max(eqnResidual, maxResidual);
20     rhok = 1.0 - beta*(T - TRef);