14 lines
272 B
C
14 lines
272 B
C
|
|
fvVectorMatrix UEqn
|
|
(
|
|
fvm::ddt(rho, U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevRhoReff(U)
|
|
);
|
|
|
|
UEqn.relax
|
|
(
|
|
mesh.solutionDict().equationRelaxationFactor(U.select(pimple.finalIter()))
|
|
);
|
|
|
|
solve(UEqn == -fvc::grad(p));
|