11 lines
232 B
C
11 lines
232 B
C
// Solve the momentum equation
|
|
|
|
tmp<fvVectorMatrix> UrelEqn
|
|
(
|
|
fvm::div(phi, Urel)
|
|
+ turbulence->divDevReff()
|
|
+ SRF->Su()
|
|
);
|
|
|
|
// Momentum solution
|
|
solve(relax(UrelEqn()) == -fvc::grad(p));
|