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