Skip to content

Bug while creating a '.tesr' file from scratch (using a DREAM3D generated structure) and visualizing it as a '.tess' file in NEPER #971

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

Open
Laquelle-493 opened this issue Feb 19, 2025 · 0 comments

Comments

@Laquelle-493
Copy link

Hello @rquey, I started using Neper recently (mainly for generating and meshing structures for CPFE simulations) and am faced with a supposed bug during this process.

Essentially, I created a raster tessellation file from scratch containing the data of a synthetically generated microstructure from DREAM3D. After that, I wanted to visualize it as a '.tess' file and this is where I'm faced with a supposed bug. I had a hunch that it was due to the voxel sizes specified and tried changing it, but it still did not get me the desired result (I got odd/wrong microstructures). I've attached the '.tesr' file that I'm trying to work with as a '.txt' file with the same content (since I could not upload it directly)
I'd appreciate any help in trying to figure out what's wrong!

ebsd_pourneper.txt

$ neper -T -n from_morpho -morpho "tesr:file(ebsd_pourneper.tesr)"

========================    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 16 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info   : No initialization file found (`/home/vijay/.neperrc').
Info   : ---------------------------------------------------------------
Info   : MODULE  -T loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] -n from_morpho -morpho
         tesr:file(ebsd_pourneper.tesr)
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   : Creating domain...
Info   : Creating tessellation...
Info   :     [i] Parsing file `ebsd_pourneper.tesr'...
Info   :     [i] Parsed file `ebsd_pourneper.tesr'.
Info   :       . Number of cells: 334
Info   :   - Setting seeds... 100%
100%
Info   :       . Listing cell voxels... 100.0%
Warning:       . Sampling factor along x = 0.035764.  Setting to 1...
Warning:       . Sampling factor along y = 0.035764.  Setting to 1...
Warning:       . Sampling factor along z = 0.035764.  Setting to 1...
Info   :       . Number of voxels per cell: min = 1, avg = 3, max = 22.
Info   :   - Running tessellation...
Info   :     > Initial solution: f   =13.575097461
Info   :     > Iteration   1484: fmin=13.557182937 f=13.577552665 ((330 min) 331 void cells)
Info   :     > Iteration   1954: fmin=13.510295816 f=13.513806120 (2 subplex) ((327 min) 328 void cells)Error  : You have discovered a bug in Neper!  Please file an issue at
         https://github.com/rquey/neper/issues.  Thank you.

Aborted (core dumped)
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