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     surfaceScalarField muEff
00002     (
00003         "muEff",
00004         mixture.muf()
00005       + fvc::interpolate(rho*turbulence->nut())
00006     );
00007 
00008     fvVectorMatrix UEqn
00009     (
00010         fvm::ddt(rho, U)
00011       + fvm::div(mixture.rhoPhi(), U)
00012       - fvm::laplacian(muEff, U)
00013       - (fvc::grad(U) & fvc::grad(muEff))
00014     //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf()))
00015     );
00016     mrfZones.addCoriolis(rho, UEqn);
00017 
00018     UEqn.relax();
00019 
00020     if (momentumPredictor)
00021     {
00022         solve
00023         (
00024             UEqn
00025          ==
00026             fvc::reconstruct
00027             (
00028                 (
00029                     mixture.surfaceTensionForce()
00030                   - ghf*fvc::snGrad(rho)
00031                   - fvc::snGrad(p_rgh)
00032                 ) * mesh.magSf()
00033             )
00034         );
00035     }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines