Bad mesh ERROR (or not)

Submitted by Arnon on Sat, 07/27/2019 - 10:40

Hi All,

I am dealing with an error I hadn't seen before and it seems to be unlisted.

My simulation consists in a 20cm long tube and 3cm diameter, at the moment I have a single particle running along the tube with periodic boundary. I used GMSH to create the geometry and mesh of the tube.

The simulation itself is simple, simple geometry, simple distribution, simple output. I run the simulation in serial first and I did not know what the problem was. Then I run it in parallel and I obtained a little bit more of information:

<>

According with this error the problem is in the stl file.

fix specimen all mesh/surface/stress file ../Geometry/internalFinishSpecimen.stl type 2 curvature 1e-5 stress on

I tried the command Heal auto_remove_duplicates, it did not work. I also tried exclusion list read and then write, it did not work.

I reinstall and compile LIGGGHTS again in case the problem were there and I had the same problem.

I have attached what is printed on the screen and not to the log file LIGGGHTS creates, I called them logerror*. I also attached the log files generated by LIGGGHTS and the geometry file.

The logerrors start with the following lines:

*** Error in `/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto': double free or corruption (!prev): 0x00000000071fc620 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f062d8ca7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f062d8d337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f062d8d753c]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9931d5]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9a68d7]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9a39dc]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9eae84]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9eaf75]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0xa0a07f]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x97f4c6]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0xa6d362]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x9453ae]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x4b7562]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x4b4e63]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x4b58d7]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x417cab]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f062d873830]
/home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto[0x418f99]
======= Memory map: ========
00400000-00bf3000 r-xp 00000000 08:04 407514 /home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto
00df2000-00e29000 r--p 007f2000 08:04 407514 /home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto
00e29000-00e2c000 rw-p 00829000 08:04 407514 /home/arnon/Applications/LIGGGHTS-PUBLIC/src/lmp_auto
02e02000-072cf000 rw-p 00000000 00:00 0 [heap]

It carries on this way for a while.

Does anyone know what is going on? Can somebody point me in the right direction?

Best regards,
Arnón