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
ENH: Time: access to libs
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
heatTransfer
/
buoyantSimpleRadiationFoam
/
hEqn.H
blob
57de44e4a0b39ecfe5c17b719df318866e3bbdab
1
{
2
fvScalarMatrix hEqn
3
(
4
fvm::div(phi, h)
5
- fvm::Sp(fvc::div(phi), h)
6
- fvm::laplacian(turbulence->alphaEff(), h)
7
==
8
fvc::div(phi/fvc::interpolate(rho)*fvc::interpolate(p))
9
- p*fvc::div(phi/fvc::interpolate(rho))
10
+ radiation->Sh(thermo)
11
);
12
13
hEqn.relax();
14
15
hEqn.solve();
16
17
thermo.correct();
18
19
radiation->correct();
20
}