12 lines
221 B
C++
12 lines
221 B
C++
fvVectorMatrix UEqn
|
|
(
|
|
fvm::div(phi, U)
|
|
+ turbulence->divDevRhoReff()
|
|
);
|
|
|
|
// MRF: add Coriolis force
|
|
mrfZones.addCoriolis(rho, UEqn);
|
|
|
|
UEqn.relax();
|
|
|
|
solve(UEqn == -fvc::grad(p));
|