View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000104 | OpenFOAM | Bug | public | 2010-12-08 21:06 | 2010-12-09 09:54 |
Reporter | Assigned To | ||||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | 10.04 |
Summary | 0000104: cellCells() gives segmentation fault on non-orthogonal mesh | ||||
Description | When the cellCells function is used to create a labelList of a cell's neighbours, the program crashes giving a segmentation fault unless the mesh is completely orthogonal. Here is an example of the code used: label probeCell = mesh_.findCell(probePoint); //Label cell probePoint is in const labelList& probeCellNeighbours = mesh_.cellCells()[probeCell]; The first line executes fine. The second line using cellCells() works fine on a flat plate mesh made in blockMesh. When the second line is used on a structured mesh around an airfoil (for instance, the airFoil2D mesh in the simpleFoam tutorials), it gives a segmentation fault and crashes the program. It seems to hit some cells and make an infinitely long list of neighbors until it crashes. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-08 21:06 |
|
New Issue | |
2010-12-09 09:54 |
|
Note Added: 0000172 | |
2010-12-09 09:54 |
|
Status | new => closed |
2010-12-09 09:54 |
|
Assigned To | => user4 |
2010-12-09 09:54 |
|
Resolution | open => no change required |
2010-12-09 09:54 |
|
Fixed in Version | => 1.7.x |