Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / multiphase / twoLiquidMixingFoam / alphaEqn.H
blob8194753c8fca0674fc224b189f88851e4cb24d34
2     fvScalarMatrix alpha1Eqn
3     (
4         fvm::ddt(alpha1)
5       + fvm::div(phi, alpha1)
6       //- fvm::Sp(fvc::div(phi), alpha1)
7       - fvm::laplacian
8         (
9             Dab + alphatab*turbulence->nut(), alpha1,
10             "laplacian(Dab,alpha1)"
11         )
12     );
14     alpha1Eqn.solve();
16     rhoPhi = alpha1Eqn.flux()*(rho1 - rho2) + phi*rho2;
17     rho = alpha1*rho1 + (scalar(1) - alpha1)*rho2;
19     Info<< "Phase 1 volume fraction = "
20         << alpha1.weightedAverage(mesh.V()).value()
21         << "  Min(alpha1) = " << min(alpha1).value()
22         << "  Max(alpha1) = " << max(alpha1).value()
23         << endl;