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
/
compressible
/
sonicDyMFoam
/
UEqn.H
blob
377aa0a13b5daf985451412d95316f9cad84b341
1
fvVectorMatrix UEqn
2
(
3
fvm::ddt(rho, U)
4
+ fvm::div(phi, U)
5
+ turbulence->divDevRhoReff(U)
6
);
7
8
if (oCorr == nOuterCorr - 1)
9
{
10
if (mesh.solutionDict().relax("UFinal"))
11
{
12
UEqn.relax(mesh.solutionDict().relaxationFactor("UFinal"));
13
}
14
else
15
{
16
UEqn.relax(1);
17
}
18
}
19
else
20
{
21
UEqn.relax();
22
}
23
24
solve(UEqn == -fvc::grad(p));