BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / multiphase / interFoam / UEqn.H
blob257f6d48b53176b612a8732887d32a4f1f767905
1     surfaceScalarField muEff
2     (
3         "muEff",
4         twoPhaseProperties.muf()
5       + fvc::interpolate(rho*turbulence->nut())
6     );
8     fvVectorMatrix UEqn
9     (
10         fvm::ddt(rho, U)
11       + fvm::div(rhoPhi, U)
12       - fvm::laplacian(muEff, U)
13       - (fvc::grad(U) & fvc::grad(muEff))
14     //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf()))
15     );
17     UEqn.relax();
19     if (pimple.momentumPredictor())
20     {
21         solve
22         (
23             UEqn
24          ==
25             fvc::reconstruct
26             (
27                 (
28                     fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
29                   - ghf*fvc::snGrad(rho)
30                   - fvc::snGrad(p_rgh)
31                 ) * mesh.magSf()
32             )
33         );
34     }