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: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
heatTransfer
/
buoyantBoussinesqPimpleFoam
/
UEqn.H
blob
07f46ec99825398ced8de01a55db2f2b9240ea9a
1
// Solve the momentum equation
2
3
fvVectorMatrix UEqn
4
(
5
fvm::ddt(U)
6
+ fvm::div(phi, U)
7
+ turbulence->divDevReff(U)
8
);
9
10
UEqn.relax();
11
12
if (pimple.momentumPredictor())
13
{
14
solve
15
(
16
UEqn
17
==
18
fvc::reconstruct
19
(
20
(
21
- ghf*fvc::snGrad(rhok)
22
- fvc::snGrad(p_rgh)
23
)*mesh.magSf()
24
)
25
);
26
}