neperfepx / neper

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

Missing elements in Abaqus inp file mesh #425

Open AdityaVuppala opened 2 years ago

AdityaVuppala commented 2 years ago

Dear Roman,

I am tring to generate an .inp file for Abaqus and I see some elements missing in the inp model generate. Here are the commands I am using:

neper -T -n 'from_morpho' -id 1 -dim 3 -domain 'cube(1.385, 1.385, 1.385)' -regularization 1 -morpho "diameq:lognormal(0.256,0.0001),1-sphericity:lognormal(0.145,0.03)" -statcell diameq
neper -M nfrom_morpho-id1.tess  -elttype hex -rcl 1.2 -format inp

I have attached the images to show the missing elements. Both the images correspond to the same inp file 2 1

Thanks, Aditya.

AdityaVuppala commented 2 years ago

Sorry forgot to mention, its neper Version 4.2.0. In version 3.5 it works well.

rquey commented 2 years ago

Thanks for the bug report.

A workaround is not to use regularization prior to hex meshing, at it is useless and actually causing the bug.