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 unnecessary return statement
[foam-extend-3.2.git]
/
applications
/
solvers
/
incompressible
/
simpleFoam
/
UEqn.H
blob
eb40b7665b59fcae08ca41ed2d1a4e905cebd706
1
// Solve the Momentum equation
2
3
tmp<fvVectorMatrix> UEqn
4
(
5
fvm::div(phi, U)
6
+ turbulence->divDevReff(U)
7
);
8
9
UEqn().relax();
10
11
eqnResidual = solve
12
(
13
UEqn() == -fvc::grad(p)
14
).initialResidual();
15
16
maxResidual = max(eqnResidual, maxResidual);