mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: particleI.H: check for duplicate faces
This commit is contained in:
@ -514,6 +514,16 @@ inline void Foam::particle::crossEdgeConnectedFace
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else if (f == pFaces[fI])
|
||||
{
|
||||
// This is a necessary condition if using duplicate baffles
|
||||
// (so coincident faces). We need to make sure we don't cross into
|
||||
// the face with the same vertices since we might enter a tracking
|
||||
// loop where it never exits. This test should be cheap
|
||||
// for most meshes so can be left in for 'normal' meshes.
|
||||
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Found edge on other face
|
||||
|
||||
Reference in New Issue
Block a user