CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   SurfaceFeatureExtract Foam::error::printStack (http://www.cfd-online.com/Forums/openfoam-meshing/122233-surfacefeatureextract-foam-error-printstack.html)

donQi August 14, 2013 21:33

SurfaceFeatureExtract Foam::error::printStack
 
Hello,

When launching SurfaceFeatureExtract OF2.2.x on redhat6.4 sometimes I get the following error. If I launch the same files and SurfaceFeatureExtract on OF2.2.x installed on Ubuntu no error at all.

Code:


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading surfaceFeatureExtractDict

Surface            : "EVAP.stl"


Feature line extraction is only valid on closed manifold surfaces.
Statistics:
Triangles    : 24
Vertices    : 16
Bounding Box : (0.0739288 -0.14355 0.313129) (0.164224 0.14345 0.51628)


Constructing feature set from included angle 170
Removing all non-manifold edges (edges with > 2 connected faces) unless they cross multiple regions

Initial feature set:
    feature points : 10
    feature edges  : 26
    of which
        region edges  : 12
        external edges : 9
        internal edges : 5


Final feature set:
    points : 16
    of which
        convex            : 0
        concave            : 0
        mixed              : 10
        non-feature        : 6
    edges  : 26
    of which
        external edges    : 9
        internal edges    : 5
        flat edges        : 0
        open edges        : 12
        multiply connected : 0

Writing extendedFeatureEdgeMesh to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP.extendedFeatureEdgeMesh"

Writing extendedFeatureEdgeMesh components to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP"
Writing convex feature points to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_convexFeaturePts.obj"
Writing concave feature points to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_concaveFeaturePts.obj"
Writing mixed feature points to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_mixedFeaturePts.obj"
Writing mixed feature point structure to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_mixedFeaturePtsStructure.obj"
Writing external edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_externalEdges.obj"
Writing internal edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_internalEdges.obj"
Writing flat edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_flatEdges.obj"
Writing open edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_openEdges.obj"
Writing multiple edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_multipleEdges.obj"
Writing region edges to "/net/lnx6/home/al/plane/constant/extendedFeatureEdgeMesh/EVAP_regionEdges.obj"

Writing featureEdgeMesh to "/net/lnx6/home/al/plane/constant/triSurface/EVAP.eMesh"

Surface            : "H-CORE-FRONT.stl"


Feature line extraction is only valid on closed manifold surfaces.
Statistics:
Triangles    : 71521
Vertices    : 35766
Bounding Box : (0.1068 -0.14355 0.252663) (0.279262 0.14345 0.540279)


Constructing feature set from included angle 170
Removing all non-manifold edges (edges with > 2 connected faces) unless they cross multiple regions

Initial feature set:
    feature points : 728
    feature edges  : 4462
    of which
        region edges  : 127
        external edges : 2692
        internal edges : 1643

#0  Foam::error::printStack(Foam::Ostream&) in "/net/lnx6/home/al/centFOAM//OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/net/lnx6/home/al/centFOAM//OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 
 at sigaction.c:0
#3  Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam::operator/<Foam::Vector<double> >(Foam::UList<Foam::Vector<double> > const&, Foam::tmp<Foam::Field<double> > const&) in "/net/lnx6/home/al/centFOAM//OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libedgeMesh.so"
#4  void Foam::extendedFeatureEdgeMesh::sortPointsAndEdges<Foam::triSurface>(Foam::triSurface const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&) in "/net/lnx6/home/al/centFOAM//OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libedgeMesh.so"
#5  Foam::extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(Foam::surfaceFeatures const&, Foam::objectRegistry const&, Foam::fileName const&) in "/net/lnx6/home/al/centFOAM//OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libedgeMesh.so"
#6 
 in "/net/lnx6/home/al/centFOAM/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/bin/surfaceFeatureExtract"
#7  __libc_start_main in "/lib64/libc.so.6"
#8 
 in "/net/lnx6/home/al/centFOAM/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/bin/surfaceFeatureExtract"
Floating point exception (core dumped)

has anyone encountered the same error?

Thank you
Al

donQi August 15, 2013 00:43

OK problem solved.
Cause of the error: the STL file used were seen as non closed manifold (even if graphically no evident holes were present)
Solution: recreate the STL with a better quality mesh.
relaunch surfaceFeatureExtract with the new STL and the problem disappears.
Why then in Ubuntu everything works since the beginning, I have no idea.


All times are GMT -4. The time now is 07:15.