neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
199 stars 53 forks source link

Segmentation fault: Cohesive Interface + Order 2 #281

Open kraem-math opened 2 years ago

kraem-math commented 2 years ago

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

fzw9381 commented 2 years ago

I encountered the same problem while using neper.

mumayy commented 2 years ago

I encountered the same problem while using neper.