11 lines
169 B
C
11 lines
169 B
C
// Momentum equation
|
|
tmp<fvVectorMatrix> UEqn
|
|
(
|
|
fvm::ddt(U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevReff(U)
|
|
);
|
|
|
|
UEqn().relax();
|
|
|
|
UpEqn.insertEquation(0, UEqn());
|