Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a bug while doing 2d meshing #937

Open
limorit opened this issue Nov 11, 2024 · 0 comments
Open

Find a bug while doing 2d meshing #937

limorit opened this issue Nov 11, 2024 · 0 comments

Comments

@limorit
Copy link

limorit commented Nov 11, 2024

Describe the bug

I'm meshing a .tesr file whose data come from a EBSD test. There is no bug when I do -elttype quad, but when I change it to -elttype tri, there comes an Error.

Reproduce

Here is an example reaults of -elttype quad :

$ neper -M T4_ori_neper.tesr -elttype quad -rcl 0.07 -dim 2 -order 1 -format msh

========================    N   e   p   e   r    =======================
Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.10.2-1
Info   : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info   : Running on 28 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info   : Loading initialization file `/home/xxx/.neperrc'...
Info   : ---------------------------------------------------------------
Info   : MODULE  -M loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] T4_ori_neper.tesr -elttype quad -rcl 0.07 -dim 2
         -order 1 -format msh
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   :   - Reading arguments...
Info   : Loading input data...
Info   :   - Loading raster tessellation...
Info   :     [i] Parsing file `T4_ori_neper.tesr'...
Info   :     [i] Parsed file `T4_ori_neper.tesr'.
Info   : Meshing...
Info   :   - Preparing...

Info   :   - 2D meshing...
Info   : Searching nsets and fasets...
Info   : Writing mesh results...
Info   :   - Preparing mesh...
Info   :   - Mesh properties:
Info   :     > Node number:    74418
Info   :     > Elt  number:    73868
Info   :     > Mesh area:    0.026
Info   :   - Writing mesh...
Info   :     [o] Writing file `T4_ori_neper.msh'...
Info   :     [o] Wrote file `T4_ori_neper.msh'.
Info   : Elapsed time: 0.145 secs.
========================================================================

And here is the an example reaults of -elttype tri :

$ neper -M T4_ori_neper.tesr -elttype tri -rcl 0.07 -dim 2 -order 1 -format msh

========================    N   e   p   e   r    =======================
Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.10.2-1
Info   : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info   : Running on 28 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info   : Loading initialization file `/home/xxx/.neperrc'...
Info   : ---------------------------------------------------------------
Info   : MODULE  -M loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] T4_ori_neper.tesr -elttype tri -rcl 0.07 -dim 2
         -order 2 -format msh
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   :   - Reading arguments...
Info   : Loading input data...
Info   :   - Loading raster tessellation...
Info   :     [i] Parsing file `T4_ori_neper.tesr'...
Info   :     [i] Parsed file `T4_ori_neper.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)
@limorit limorit changed the title Find aa bug while doing 2d meshing Find a bug while doing 2d meshing Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant