repo.or.cz
/
OpenFOAM-1.6.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
UEqn: Removed "Sp" term from the momentum equation of the steady-state solvers.
[OpenFOAM-1.6.x.git]
/
applications
/
solvers
/
compressible
/
rhoSimpleFoam
/
UEqn.H
blob
401e1203d2617de63e107506389ac1beaea3f4ec
1
// Solve the Momentum equation
2
3
tmp<fvVectorMatrix> UEqn
4
(
5
fvm::div(phi, U)
6
+ turbulence->divDevRhoReff(U)
7
);
8
9
UEqn().relax();
10
11
eqnResidual = solve
12
(
13
UEqn() == -fvc::grad(p)
14
).initialResidual();
15
16
maxResidual = max(eqnResidual, maxResidual);