Bugfix in simpleFoam UEqn
Relaxing a copy of the momentum equation, not the original one.
This commit is contained in:
parent
0b9e46375d
commit
ee8fe08c0d
1 changed files with 1 additions and 4 deletions
|
@ -6,8 +6,5 @@
|
|||
+ turbulence->divDevReff()
|
||||
);
|
||||
|
||||
// Relax the equation
|
||||
UEqn().relax();
|
||||
|
||||
// Momentum solution
|
||||
solve(UEqn() == -fvc::grad(p));
|
||||
solve(relax(UEqn()) == -fvc::grad(p));
|
||||
|
|
Reference in a new issue