MULES: correct the handling of boundary conditions for limiting the sum

This commit is contained in:
Henry
2011-09-05 19:12:42 +01:00
parent 8cd7ca50a3
commit 94e86ddd97

View File

@ -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)
@ -682,6 +684,7 @@ void Foam::MULES::limitSum(SurfaceScalarFieldList& phiPsiCorrs)
limitSum(phiPsiCorrsPatch);
}
}
}