ee8fe08c0d
Relaxing a copy of the momentum equation, not the original one.
10 lines
205 B
C++
10 lines
205 B
C++
// Solve the momentum equation
|
|
|
|
tmp<fvVectorMatrix> UEqn
|
|
(
|
|
fvm::div(phi, U)
|
|
+ turbulence->divDevReff()
|
|
);
|
|
|
|
// Momentum solution
|
|
solve(relax(UEqn()) == -fvc::grad(p));
|