OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

UEqn.H

Go to the documentation of this file.
00001     fvVectorMatrix UEqn
00002     (
00003 //        fvm::ddt(rho, U)
00004         pZones.ddt(rho, U)
00005       + fvm::div(phi, U)
00006       + turbulence->divDevRhoReff(U)
00007      ==
00008         rho.dimensionedInternalField()*g
00009       + parcels.SU()
00010     );
00011 
00012     pZones.addResistance(UEqn);
00013 
00014     if (momentumPredictor)
00015     {
00016         solve(UEqn == -fvc::grad(p));
00017     }
00018 
Copyright © 2000-2009 OpenCFD Ltd