Transferred copyright to the OpenFOAM Foundation
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / PDRFoam / UEqn.H
blob70912c7cfae08052593d297d0bdf6d7e19f396d6
1     fvVectorMatrix UEqn
2     (
3         betav*fvm::ddt(rho, U)
4       + fvm::div(phi, U)
5       + turbulence->divDevRhoReff(U)
6      ==
7         betav*rho*g
8     );
10     volSymmTensorField invA(inv(I*UEqn.A() + drag->Dcu()));
12     if (pimple.momentumPredictor())
13     {
14         U = invA & (UEqn.H() - betav*fvc::grad(p));
15         U.correctBoundaryConditions();
16     }