View Issue Details

IDProjectCategoryView StatusLast Update
0002381OpenFOAMBugpublic2017-06-30 12:26
ReporterThalenberghen Assigned Tochris  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
OSCentOSOS Version7.1 
Product Versiondev 
Summary0002381: mapFieldsPar crashes
DescriptionThe crash in mapFields has been fixed in the previous issue 0002363, thanks for that.However the parallel version mapFieldsPar still crashes as before with the following error:

Creating mesh-to-mesh addressing for region0 and region0 regions using cellVolumeWeight
[3]
[3]
[3] --> FOAM FATAL ERROR:
[3] Plane normal defined with zero length
Bad points:(2 -0.999998 3) (2 -1.49999 3) (2 -1.25 3)
[3]
[3] From function void plane::calcPntAndVec
(
    const point&,
    const point&,
    const point&
)
[3]
[3] in file meshes/primitiveShapes/plane/plane.C at line 116.
[3]
FOAM parallel run aborting
[3]
[3] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[3] #1 Foam::error::abort() at ??:?
[3] #2 Foam::plane::calcPntAndVec(Foam::Vector<float> const&, Foam::Vector<float> const&, Foam::Vector<float> const&) at ??:?
[3] #3 Foam::tetOverlapVolume::tetTetOverlapVol(Foam::tetPoints const&, Foam::tetPoints const&) const at ??:?
[3] #4 Foam::tetOverlapVolume::cellCellOverlapVolumeMinDecomp(Foam::primitiveMesh const&, long, Foam::primitiveMesh const&, long, Foam::treeBoundBox const&) const[0]
[0]

This can be reproduced using i.e. two instances of the motorbike tutorial and mapping them with -consistent
Steps To Reproduce1. Create two meshed and decomposed instances of the motorbike tutorial
2. Solve the first for some timeSteps
3. Try to map the results to the second instance using mapFieldsPar
TagsNo tags attached.

Activities

henry

2016-12-09 09:34

manager   ~0007442

Try with '-mapMethod mapNearest'

MattijsJ

2016-12-09 16:03

reporter   ~0007447

Or slightly shift one of your meshes. You get this error when the faces of the two meshes are co-planar.

chris

2017-06-30 12:26

manager   ~0008305

No feedback from reporter.

The "-mapMethod mapNearest" suggestion probably worked.

Issue History

Date Modified Username Field Change
2016-12-09 09:12 Thalenberghen New Issue
2016-12-09 09:34 henry Note Added: 0007442
2016-12-09 16:03 MattijsJ Note Added: 0007447
2017-06-30 12:25 chris Assigned To => chris
2017-06-30 12:25 chris Status new => closed
2017-06-30 12:25 chris Resolution open => fixed
2017-06-30 12:26 chris Status closed => resolved
2017-06-30 12:26 chris Note Added: 0008305