13 lines
212 B
C++
13 lines
212 B
C++
// Solve the Momentum equation
|
|
tmp<fvVectorMatrix> UEqn
|
|
(
|
|
fvm::div(phi, U)
|
|
+ turbulence->divDevReff()
|
|
);
|
|
|
|
UEqn().relax();
|
|
|
|
solve
|
|
(
|
|
UEqn() == -fvc::grad(p)
|
|
);
|