for consistency with the other multiphase solvers. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1192
16 lines
292 B
C
16 lines
292 B
C
fvVectorMatrix UEqn
|
|
(
|
|
fvm::ddt(rho, U)
|
|
+ fvm::div(rhoPhi, U)
|
|
+ turbulence->divDevRhoReff(rho, U)
|
|
);
|
|
|
|
UEqn.relax();
|
|
|
|
if (pimple.momentumPredictor())
|
|
{
|
|
solve(UEqn == -fvc::grad(p));
|
|
}
|
|
|
|
Info<< "max(U) " << max(mag(U)).value() << endl;
|