FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

UEqn.H

Go to the documentation of this file.
00001     // Solve the momentum equation
00002 
00003     fvVectorMatrix UEqn
00004     (
00005         fvm::ddt(U)
00006       + fvm::div(phi, U)
00007       + turbulence->divDevReff(U)
00008     );
00009 
00010     UEqn.relax();
00011 
00012     if (momentumPredictor)
00013     {
00014         solve
00015         (
00016             UEqn
00017          ==
00018             fvc::reconstruct
00019             (
00020                 (
00021                   - ghf*fvc::snGrad(rhok)
00022                   - fvc::snGrad(p_rgh)
00023                 )*mesh.magSf()
00024             ),
00025             mesh.solver(U.select(finalIter))
00026         );
00027     }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines