mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
multiphaseEulerFoam: Ensure that the flux at inflow BCs is preserved
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user