repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
heatTransfer
/
buoyantBoussinesqPimpleFoam
/
TEqn.H
blob
dbfc61739f7d21e2d095ae55181831345fc05a75
1
{
2
kappat = turbulence->nut()/Prt;
3
kappat.correctBoundaryConditions();
4
5
volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
6
7
fvScalarMatrix TEqn
8
(
9
fvm::ddt(T)
10
+ fvm::div(phi, T)
11
- fvm::laplacian(kappaEff, T)
12
);
13
14
TEqn.relax();
15
TEqn.solve();
16
17
rhok = 1.0 - beta*(T - TRef);
18
}