repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git]
/
applications
/
solvers
/
compressible
/
rhoPimpleFoam
/
hEqn.H
blob
521253647e7a8332e928e6c40fd20699d03acbf3
1
{
2
fvScalarMatrix hEqn
3
(
4
fvm::ddt(rho, h)
5
+ fvm::div(phi, h)
6
- fvm::laplacian(turbulence->alphaEff(), h)
7
==
8
DpDt
9
);
10
11
if (oCorr == nOuterCorr-1)
12
{
13
hEqn.relax();
14
hEqn.solve(mesh.solutionDict().solver("hFinal"));
15
}
16
else
17
{
18
hEqn.relax();
19
hEqn.solve();
20
}
21
22
thermo.correct();
23
}