multiphaseEulerFoam: Ensure that the flux at inflow BCs is preserved

This commit is contained in:
Henry
2013-08-20 12:30:44 +01:00
parent 442a30e529
commit 9e79d990f3

View File

@ -125,6 +125,13 @@ void Foam::multiphaseSystem::solveAlphas()
);
}
// Ensure that the flux at inflow BCs is preserved
phiAlphaCorr.boundaryField() = min
(
phase1.phi().boundaryField()*alpha1.boundaryField(),
phiAlphaCorr.boundaryField()
);
MULES::limit
(
geometricOneField(),