CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SnappyHexMesh crash (floating point exception while snappying)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2015, 12:27
Default SnappyHexMesh crash (floating point exception while snappying)
  #1
New Member
 
Frank_uk
Join Date: Apr 2015
Posts: 1
Rep Power: 0
Frank_uk is on a distinguished road
Hello all,

I am working on an ~18M cell case (external aero) and I am facing a crash problem during the mesh snappying.

I am working in parallel, using 12 cores.

It looks like a divide by zero case, but I cannot figure out what might be wrong. Changing a bit the ref levels in the control file sometimes helps to overcome it, but I cannot spot the root of the problem.

My current snapControls:

snapControls
{
nSmoothPatch 5;
tolerance 2.0;
nSolveIter 150;
nRelaxIter 10;
nFeatureSnapIter 10;
implicitFeatureSnap false;
explicitFeatureSnap true;
multiRegionFeatureSnap false;
}

Below an excerpt of the log.

I thank you in advance for your help.

Regards,

Frank
--

Moving mesh ...

Iteration 0
Moving mesh using displacement scaling : min:1 max:1
Checking faces in error :
non-orthogonality > 65 degrees : 1454
faces with face pyramid volume < 1e-13 : 3972
faces with face-decomposition tet quality < 1e-15 : 16105
faces with concavity > 80 degrees : 190

...skipping one line
faces with interpolation weights (0..1) < 0.02 : 33
faces with volume ratio of neighbour cells < 0.01 : 197
faces with face twist < 0.02 : 1250
faces on cells with determinant < 0.001 : 124

Iteration 1
Moving mesh using displacement scaling : min:0.75 max:1
[8] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[8] #1 Foam::sigFpe::sigHandler(int) at ??:?
[8] #2 in "/lib/x86_64-linux-gnu/libc.so.6"
[8] #3 Foam::face::centre(Foam::Field<Foam::Vector<double > > const&) const at ??:?
[8] #4 Foam::face::sweptVol(Foam::Field<Foam::Vector<doub le> > const&, Foam::Field<Foam::Vector<double> > const&) const at ??:?
[8] #5 Foam:rimitiveMesh::movePoints(Foam::Field<Foam:: Vector<double> > const&, Foam::Field<Foam::Vector<double> > const&) at ??:?
[8] #6 Foam:olyMesh::movePoints(Foam::Field<Foam::Vecto r<double> > const&) at ??:?
[8] #7 Foam::fvMesh::movePoints(Foam::Field<Foam::Vector< double> > const&) at ??:?
[8] #8 Foam::motionSmootherAlgo::scaleMesh(Foam::List<int >&, Foam::List<Foam::Pair<int> > const&, Foam::dictionary const&, Foam::dictionary con
st&, bool, int) at ??:?
[8] #9 Foam::motionSmootherAlgo::scaleMesh(Foam::List<int >&, Foam::List<Foam::Pair<int> > const&, bool, int) at ??:?
[8] #10 Foam::autoSnapDriver::scaleMesh(Foam::snapParamete rs const&, int, Foam::List<Foam::Pair<int> > const&, Foam::motionSmoother&) at ??:?
[8] #11 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[8] #12
[8] at ??:?
[8] #13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[8] #14
[8] at ??:?
[lorenz-WS:15462] *** Process received signal ***
[lorenz-WS:15462] Signal: Floating point exception (8)
[lorenz-WS:15462] Signal code: (-6)
[lorenz-WS:15462] Failing at address: 0x3e800003c66
[lorenz-WS:15462] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f1786effd40]
[lorenz-WS:15462] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f1786effcc9]
[lorenz-WS:15462] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f1786effd40]
[lorenz-WS:15462] [ 3] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam4face6centreERKNS_5FieldIN S_6VectorIdEEEE+0x14f) [
0x7f17880ccbcf]
[lorenz-WS:15462] [ 4] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam4face8sweptVolERKNS_5Field INS_6VectorIdEEEES6_+0x3
a) [0x7f17880cd2ca]
[lorenz-WS:15462] [ 5] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam13primitiveMesh10movePoints ERKNS_5FieldINS_6VectorI
dEEEES6_+0xdd) [0x7f178817b39d]
[lorenz-WS:15462] [ 6] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMesh10movePointsERKNS_ 5FieldINS_6VectorIdEEEE+
0x1f1) [0x7f178815acf1]
[lorenz-WS:15462] [ 7] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMesh10movePointsERKN S_5FieldINS_6VectorIdEEE
E+0xbc) [0x7f178a52761c]
[lorenz-WS:15462] [ 8] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libdynamicMesh.so(_ZN4Foam18motionSmootherAlgo9sca leMeshERNS_4ListIiEERKNS
1_INS_4PairIiEEEERKNS_10dictionaryESB_bi+0x1ff) [0x7f1788cbe9ff]
[lorenz-WS:15462] [ 9] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libdynamicMesh.so(_ZN4Foam18motionSmootherAlgo9sca leMeshERNS_4ListIiEERKNS
1_INS_4PairIiEEEEbi+0x1b) [0x7f1788cbf69b]
[lorenz-WS:15462] [10] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libautoMesh.so(_ZN4Foam14autoSnapDriver9scaleMeshE RKNS_14snapParametersEiR
KNS_4ListINS_4PairIiEEEERNS_14motionSmootherE+0x12 2) [0x7f178869c132]
[lorenz-WS:15462] [11] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libautoMesh.so(_ZN4Foam14autoSnapDriver6doSnapERKN S_10dictionaryES3_ddRKNS
_14snapParametersE+0x1635) [0x7f178869da65]
[lorenz-WS:15462] [12] snappyHexMesh() [0x415eca]
[lorenz-WS:15462] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f1786eeaec5]
[lorenz-WS:15462] [14] snappyHexMesh() [0x41739d]
[lorenz-WS:15462] *** End of error message ***
Frank_uk is offline   Reply With Quote

Old   January 9, 2016, 07:19
Default
  #2
Member
 
gereksiz
Join Date: Mar 2015
Posts: 42
Rep Power: 11
clktp is on a distinguished road
Did you solve this problem, I have the same issu and I can't figure it out why it happens.
clktp is offline   Reply With Quote

Reply

Tags
floating point exception, printstack, sigfpe, snappyhexmesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
icoFoam floating point exception (8) leizhao512 OpenFOAM Running, Solving & CFD 7 November 1, 2018 12:43
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 03:55
A floating point exception - SEM Model yansheng STAR-CCM+ 1 April 4, 2016 05:57
Floating point exception from twoPhaseEulerFoam openfoammaofnepo OpenFOAM Running, Solving & CFD 1 March 19, 2016 14:56
Floating point exception crash at writeInterval matthiasd OpenFOAM Running, Solving & CFD 0 March 17, 2016 06:06


All times are GMT -4. The time now is 11:40.