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
/
buoyantBaffleSimpleFoam
/
hEqn.H
blob
23313b56cf10d7819fe0cd0f69cae76341941cc9
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
);
11
12
hEqn.relax();
13
hEqn.solve();
14
15
baffles->evolve();
16
thermo.correct();
17
}