View Issue Details

IDProjectCategoryView StatusLast Update
0000587OpenFOAMBugpublic2012-07-18 09:45
Reporteruser430Assigned Touser2 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.2
Summary0000587: wdgePolyPatch::initTransform()
DescriptionCode crash with no readable error in case of wedge plane aligned with principal axis due to floating point exception at line 80.
axis_ /= magAxis; should be postponed at line 97.

        scalar magAxis = mag(axis_);

        if (magAxis < SMALL)
        {
            FatalErrorIn
            (
                "wedgePolyPatch::initTransforms()"
            ) << "wedge " << name()
                << " plane aligns with a coordinate plane." << nl
                << " The wedge plane should make a small angle (~2.5deg)"
                   " with the coordinate plane" << nl
                << " and the the pair of wedge planes should be symmetric"
                << " about the coordinate plane." << nl
                << " Normal of face " << 0 << " is " << patchNormal_
                << " , implied coordinate plane direction is " << centreNormal_
                << exit(FatalError);
        }

        axis_ /= magAxis;
Steps To ReproduceSimply rotate a wedge to have it aligned along a principal axis
TagsNo tags attached.

Activities

user2

2012-07-18 09:45

  ~0001471

Thanks for the report - fixed by commit 439bebb0

Issue History

Date Modified Username Field Change
2012-07-17 16:34 user430 New Issue
2012-07-18 09:45 user2 Note Added: 0001471
2012-07-18 09:45 user2 Status new => resolved
2012-07-18 09:45 user2 Fixed in Version => 2.1.x
2012-07-18 09:45 user2 Resolution open => fixed
2012-07-18 09:45 user2 Assigned To => user2