11 lines
200 B
C++
11 lines
200 B
C++
fvVectorMatrix UEqn
|
|
(
|
|
fvm::ddt(U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevReff()
|
|
);
|
|
|
|
if (piso.momentumPredictor())
|
|
{
|
|
solve(UEqn == -fvc::grad(p));
|
|
}
|