Files
openfoam/applications/solvers/compressible/rhoSimpleFoam/UEqn.H
henry d4d0b88988 fvData: New database (dictionary) held on the fvMesh to store residual information etc.
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.
2010-04-07 15:40:52 +01:00

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));