15 lines
277 B
C++
15 lines
277 B
C++
// Solve the momentum equation
|
|
|
|
tmp<fvVectorMatrix> UEqn
|
|
(
|
|
fvm::div(phi, U)
|
|
+ turbulence->divDevReff()
|
|
);
|
|
|
|
solve
|
|
(
|
|
relax(UEqn())
|
|
==
|
|
-fvc::grad(p)
|
|
+ fvc::reconstruct(fvc::interpolate(rhok)*(g & mesh.Sf()))
|
|
);
|