mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
This data can be used for convergence testing e.g. by a functionObject. Other data could also be stored, e.g. global continuity errors and other reduced results.
12 lines
198 B
C
12 lines
198 B
C
// Solve the Momentum equation
|
|
|
|
tmp<fvVectorMatrix> UEqn
|
|
(
|
|
fvm::div(phi, U)
|
|
+ turbulence->divDevRhoReff(U)
|
|
);
|
|
|
|
UEqn().relax();
|
|
|
|
solve(UEqn() == -fvc::grad(p));
|