neper icon indicating copy to clipboard operation
neper copied to clipboard

Segmentation fault: Cohesive Interface + Order 2

Open kraem-math opened this issue 4 years ago • 3 comments

Hi Romain,

I get a segmentation fault when I try to mesh a tessellation with cohesive interfaces and a mesh order of 2:

========================`    N   e   p   e   r    =======================

Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.2.0
Info   : Built with: gsl|muparser|opengjk|nlopt|libscotch
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2021, and GNU GPL'd, by Romain Quey.
Info   : No initialization file found (`/home/mathias/.neperrc').
Info   : ---------------------------------------------------------------
Info   : MODULE  -M loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] n100-id1.tess -rcl 0.5 -order 2 -interface cohesive
         -format inp
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   :   - Reading arguments...
Info   : Loading input data...
Info   :   - Loading tessellation...
Info   :     [i] Parsing file `n100-id1.tess'...
Info   :     [i] Parsed file `n100-id1.tess'.
Info   : Meshing...
Info   :   - Preparing... (cl = 0.0002206) 100%
Info   :   - 0D meshing... 100%
Info   :   - 1D meshing... 100%
Info   :   - 2D meshing... 100% (0.0047|0.86/73%|13%|14%)
Info   :   - Fixing 2D-mesh pinches...
Info   :   - 3D meshing... 100% (0.81|0.89/74%|26%| 0%)
Info   :   - Processing mesh at interfaces...
Info   :     > Making mesh discontinuous...
Info   :     > Adding cohesive elements...
Info   :   - Switching mesh to order 2...
Segmentation fault (core dumped)

The tessellation was created with the following input:

neper  -T -n 100 -domain 'sphere(10e-3,100):split(x):split(y):split(z)' -morpho 'graingrowth' -ori 'random' -oridescriptor 'rotmat' -format 'tess,ori'

Without the cohesive interface, meshing runs smoothly.

I hope you can help here and thank you in advance!

Best Mathias

kraem-math avatar Aug 05 '21 08:08 kraem-math

I encountered the same problem while using neper.

fzw9381 avatar Sep 27 '21 02:09 fzw9381

I encountered the same problem while using neper.

mumayy avatar Apr 29 '22 22:04 mumayy