Bugfix in simpleFoam UEqn

Relaxing a copy of the momentum equation, not the original one.
This commit is contained in:
Vuko Vukcevic 2017-01-05 11:27:01 +01:00
parent 0b9e46375d
commit ee8fe08c0d

View file

@ -6,8 +6,5 @@
+ turbulence->divDevReff() + turbulence->divDevReff()
); );
// Relax the equation
UEqn().relax();
// Momentum solution // Momentum solution
solve(UEqn() == -fvc::grad(p)); solve(relax(UEqn()) == -fvc::grad(p));