mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: extractEulerianParticles - corrected patch index. Fixes #2707
This commit is contained in:
@ -43,7 +43,7 @@ Type Foam::functionObjects::extractEulerianParticles::faceValue
|
|||||||
{
|
{
|
||||||
label patchi = patchIDs_[localFacei];
|
label patchi = patchIDs_[localFacei];
|
||||||
label pFacei = patchFaceIDs_[localFacei];
|
label pFacei = patchFaceIDs_[localFacei];
|
||||||
if (patchi != 0)
|
if (patchi != -1)
|
||||||
{
|
{
|
||||||
return field.boundaryField()[patchi][pFacei];
|
return field.boundaryField()[patchi][pFacei];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user