View Issue Details

IDProjectCategoryView StatusLast Update
0002038OpenFOAMBugpublic2016-04-02 02:04
ReporterMattijsJ Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOpenSuSEOS Version13.2
Summary0002038: faceZoneToCell selecting cells
DescriptionfaceZoneToCell uses masterCells() or slaveCells().

If the faceZone is on a boundary these will have -1 for the non-existing neighbouring cell. This causes -1 to be inserted into the cellSet.

Change faceZoneCell.C:93 from:
                if (cellLabels[i] < mesh_.nCells())
to:
                if (cellLabels[i] >= 0 && cellLabels[i] < mesh_.nCells())

TagsNo tags attached.

Activities

henry

2016-04-01 17:02

manager   ~0006071

Thanks Mattijs

Resolved in OpenFOAM-3.0.x by commit 10d3215bdd4292f249f589832b2a772ca9758165
Resolved in OpenFOAM-dev by commit bb390f474fd64bfad210b2f5db3bacb9c2af3576

Issue History

Date Modified Username Field Change
2016-04-01 11:58 MattijsJ New Issue
2016-04-01 17:02 henry Note Added: 0006071
2016-04-01 17:02 henry Status new => resolved
2016-04-01 17:02 henry Resolution open => fixed
2016-04-01 17:02 henry Assigned To => henry