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
Branches
Tags
No related merge requests found
......@@ -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(),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment