mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
MULES: correct the handling of boundary conditions for limiting the sum
This commit is contained in:
@ -669,6 +669,8 @@ void Foam::MULES::limitSum(SurfaceScalarFieldList& phiPsiCorrs)
|
||||
}
|
||||
|
||||
forAll(phiPsiCorrs[0].boundaryField(), patchi)
|
||||
{
|
||||
if (phiPsiCorrs[0].boundaryField()[patchi].coupled())
|
||||
{
|
||||
UPtrList<scalarField> phiPsiCorrsPatch(phiPsiCorrs.size());
|
||||
forAll(phiPsiCorrs, phasei)
|
||||
@ -683,6 +685,7 @@ void Foam::MULES::limitSum(SurfaceScalarFieldList& phiPsiCorrs)
|
||||
limitSum(phiPsiCorrsPatch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user