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: directMappedFixedValue: use different tag
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
compressible
/
rhoSimpleFoam
/
hEqn.H
blob
e6c74938ee00d4cc77c232de32e537576c33c9f3
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), rho/psi, "div(U,p)")
9
- (rho/psi)*fvc::div(phi/fvc::interpolate(rho))
10
);
11
12
hEqn.relax();
13
14
hEqn.solve();
15
16
thermo.correct();
17
}