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
Bugfix: restored floatTransfer flag
[foam-extend-3.2.git]
/
applications
/
solvers
/
coupled
/
MRFPorousFoam
/
UEqn.H
blob
b9ccb0b8a73e1c0ed286b55fa10260978da937a9
1
// Momentum equation
2
tmp<fvVectorMatrix> UEqn
3
(
4
fvm::ddt(U)
5
+ fvm::div(phi, U)
6
+ turbulence->divDevReff(U)
7
);
8
9
// Add MRF and porous sources
10
mrfZones.addCoriolis(UEqn());
11
pZones.addResistance(UEqn());
12
13
UEqn().relax();
14
15
UpEqn.insertEquation(0, UEqn());