15 lines
246 B
C++
15 lines
246 B
C++
|
// Solve the Momentum equation
|
||
|
tmp<fvVectorMatrix> UEqn
|
||
|
(
|
||
|
fvm::div(phi, U)
|
||
|
+ turbulence->divDevReff()
|
||
|
);
|
||
|
mrfZones.addCoriolis(UEqn());
|
||
|
|
||
|
UEqn().relax();
|
||
|
|
||
|
solve
|
||
|
(
|
||
|
UEqn() == -fvc::grad(p)
|
||
|
);
|