diff --git a/applications/solvers/multiphase/driftFluxFoam/alphaEqn.H b/applications/solvers/multiphase/driftFluxFoam/alphaEqn.H index e72a625fae..817a0c9124 100644 --- a/applications/solvers/multiphase/driftFluxFoam/alphaEqn.H +++ b/applications/solvers/multiphase/driftFluxFoam/alphaEqn.H @@ -17,7 +17,12 @@ phi, upwind(mesh, phi) ).fvmDiv(phi, alpha1) - - fvm::laplacian(mut/rho, alpha1) + - fv::gaussLaplacianScheme + ( + mesh, + linear(mesh), + fv::uncorrectedSnGrad(mesh) + ).fvmLaplacian(fvc::interpolate(mut/rho), alpha1) ); alpha1Eqn.solve(); @@ -33,7 +38,7 @@ if (alphaApplyPrevCorr && tphiAlphaCorr0.valid()) { - Info<< "Applying the previous iteration compression flux" << endl; + Info<< "Applying the previous iteration correction flux" << endl; #ifdef LTSSOLVE MULES::LTScorrect(alpha1, phiAlpha, tphiAlphaCorr0(), 1, 0); #else @@ -45,8 +50,6 @@ // Cache the upwind-flux tphiAlphaCorr0 = tphiAlphaUD; - - alpha2 = 1.0 - alpha1; } for (int aCorr=0; aCorr