Skip to content

Discovered a bug in Neper when creating mesh from tesr file (Urgent help required because its getting impossible to mesh)) #1030

@Noshin06

Description

@Noshin06

I am facing issues creating mesh from this tesr file that I have attached here as well as the Image and it's getting impossible to mesh it. The error message I am getting from Neper right now is
"noshin@tuhinm-grad06:/mnt/c/Ubantu_app_software/practise14$ # 2D mesh from TESR (triangles), first order, relatively coarse
neper -M labels_ascii_2d_clean_final.tesr
-elttype tri -order 1 -rcl 0.8
-o mesh_tri

======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 4.10.1
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info : Running on 8 threads.
Info : https://neper.info
Info : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info : No initialization file found (/home/noshin/.neperrc'). Info : --------------------------------------------------------------- Info : MODULE -M loaded with arguments: Info : [ini file] (none) Info : [com line] labels_ascii_2d_clean_final.tesr -elttype tri -order 1 -rcl 0.8 -o mesh_tri Info : --------------------------------------------------------------- Info : Reading input data... Info : - Reading arguments... Warning: > Using a development Gmsh version (4.14.0-git)... Info : Loading input data... Info : - Loading raster tessellation... Info : [i] Parsing file labels_ascii_2d_clean_final.tesr'...
Info : [i] Parsed file `labels_ascii_2d_clean_final.tesr'.
Info : - Reconstructing topology...
Info : > Reconstructing 1D mesh... 100%
Info : > Reconstructing 0D mesh... 100%
Error : You have discovered a bug in Neper! Please file an issue at
https://github.com/rquey/neper/issues. Thank you.

Aborted (core dumped)."

I have shared the image, so for 2D, I used tri and tried to use element type hex or quad, where I was getting a segmentation fault. Please suggest to me how to mesh this figure from TESR to TESS, and then mesh, and if possible, kindly share what kind of command I should use in Neper. I am also sharing the error message for using different element types
"noshin@tuhinm-grad06:/mnt/c/Ubantu_app_software/practise14$ neper -V labels_ascii_2d_clean_final.tesr -res 4967:4417 -print neper_view_id.png

======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 4.10.1
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info : Running on 8 threads.
Info : https://neper.info
Info : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info : No initialization file found (/home/noshin/.neperrc'). Info : --------------------------------------------------------------- Info : MODULE -V loaded with arguments: Info : [ini file] (none) Info : [com line] labels_ascii_2d_clean_final.tesr -res 4967:4417 -print neper_view_id.png Info : --------------------------------------------------------------- Info : - Reading arguments... Error : Unknown option -res'.
Error : Bad arguments!

Aborted (core dumped)
noshin@tuhinm-grad06:/mnt/c/Ubantu_app_software/practise14$ neper -V labels_ascii_2d_clean_final.tesr -print neper_view_id.png

======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 4.10.1
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info : Running on 8 threads.
Info : https://neper.info
Info : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info : No initialization file found (/home/noshin/.neperrc'). Info : --------------------------------------------------------------- Info : MODULE -V loaded with arguments: Info : [ini file] (none) Info : [com line] labels_ascii_2d_clean_final.tesr -print neper_view_id.png Info : --------------------------------------------------------------- Info : - Reading arguments... Info : Loading raster tessellation... Info : [i] Parsing file labels_ascii_2d_clean_final.tesr'...
Info : [i] Parsed file labels_ascii_2d_clean_final.tesr'. Info : Printing image... Info : - Printing raster tessellation... Info : > Converting to mesh... Info : - Generating png file (1200x900 pixels)... Info : [o] Writing file neper_view_id.png.png'...
Info : [o] Wrote file `neper_view_id.png.png'.
Info : Printing scale...
Info : Elapsed time: 29.676 secs.
========================================================================"

Tesr_file.txt

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions