Skip to content
Snippets Groups Projects
Commit 9e79d990 authored by Henry's avatar Henry
Browse files

multiphaseEulerFoam: Ensure that the flux at inflow BCs is preserved

parent 442a30e5
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,13 @@ void Foam::multiphaseSystem::solveAlphas() ...@@ -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 MULES::limit
( (
geometricOneField(), geometricOneField(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment