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:
@ -670,17 +670,20 @@ void Foam::MULES::limitSum(SurfaceScalarFieldList& phiPsiCorrs)
|
|||||||
|
|
||||||
forAll(phiPsiCorrs[0].boundaryField(), patchi)
|
forAll(phiPsiCorrs[0].boundaryField(), patchi)
|
||||||
{
|
{
|
||||||
UPtrList<scalarField> phiPsiCorrsPatch(phiPsiCorrs.size());
|
if (phiPsiCorrs[0].boundaryField()[patchi].coupled())
|
||||||
forAll(phiPsiCorrs, phasei)
|
|
||||||
{
|
{
|
||||||
phiPsiCorrsPatch.set
|
UPtrList<scalarField> phiPsiCorrsPatch(phiPsiCorrs.size());
|
||||||
(
|
forAll(phiPsiCorrs, phasei)
|
||||||
phasei,
|
{
|
||||||
&phiPsiCorrs[phasei].boundaryField()[patchi]
|
phiPsiCorrsPatch.set
|
||||||
);
|
(
|
||||||
}
|
phasei,
|
||||||
|
&phiPsiCorrs[phasei].boundaryField()[patchi]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
limitSum(phiPsiCorrsPatch);
|
limitSum(phiPsiCorrsPatch);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user