View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001385 | OpenFOAM | Bug | public | 2014-08-29 12:00 | 2014-09-30 17:26 |
Reporter | Assigned To | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Unix | OS | Other | OS Version | (please specify) |
Summary | 0001385: Crash of sample patchInternalField surface - suspect with low quality tets and octree search | ||||
Description | Hello, I have attached a case which triggers a segmentation fault in sample. The case is a 240 cell subset out of a larger mesh which has been meshed with snappyHexMesh. The minTetQuality has been set to < 0 to disable this check, otherwise the coverage by the layers of the domain is unsatisfactory, so this can't be changed. To reproduce the fault, run: sample on the case. I have also attached my log output which has a lot of print statements from the included modified: mapDistribute.C mappedPatchBase.C files. I think that I have localised the problem to line 223 of mappedPatchBase.C i.e. the octree find in findSamples: label cellI = tree.findInside(sample); which is called from line 635 of the same file (the // And re-search call). The failure of this search produces a -1 in which ends up being passed to the mapDistribute and appears as -1 on line 747 of mapDistribute.C for the sendProc variable, hence the seg-fault. All line numbers are for the standard 2.3.0 release versions of the files. The failure persists in the latest 2.3.x. The included image: locationOfError.png shows where the error occurs in context of the rest of the mesh (green ball). The faceSet of lowQualityTetFaces is shown in blue, and the failing sample is at one of these, so I suspect that the octree is failing to find a sample on this face for some reason. Regards, Graham | ||||
Tags | No tags attached. | ||||
2014-08-29 12:00
|
|
|
fixed in ccc06b4581b555bf06fb935a3b2188b5e1260258 It will re-search the failed samples for the nearest cell |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-29 12:00 |
|
New Issue | |
2014-08-29 12:00 |
|
File Added: sampleError.tar.gz | |
2014-09-30 17:26 |
|
Note Added: 0003241 | |
2014-09-30 17:26 |
|
Status | new => resolved |
2014-09-30 17:26 |
|
Fixed in Version | => 2.3.x |
2014-09-30 17:26 |
|
Resolution | open => fixed |
2014-09-30 17:26 |
|
Assigned To | => user4 |