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