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
/
chtMultiRegionFoam
/
chtMultiRegionSimpleFoam
/
fluid
/
UEqn.H
blob
68b29fd0c2babc531af4fe730abd8a08c3ecf5ff
1
// Solve the Momentum equation
2
tmp<fvVectorMatrix> UEqn
3
(
4
fvm::div(phi, U)
5
+ turb.divDevRhoReff(U)
6
);
7
8
UEqn().relax();
9
10
solve
11
(
12
UEqn()
13
==
14
fvc::reconstruct
15
(
16
(
17
- ghf*fvc::snGrad(rho)
18
- fvc::snGrad(p_rgh)
19
)*mesh.magSf()
20
)
21
);