Skip to content

Bug Report: Incorrect GOS values computed in Neper 4.10.1 #1040

@GodloveQing

Description

@GodloveQing

Neper version: 4.10.1
Module: -S (post-processing)
Command: neper -S n2d.sim -rescell gos
Platform: Ubuntu (WSL2)

When computing GOS from a raster tessellation (.tesr) using Neper 4.10.1 following the EBSD tutorial:

https://neper.info/doc/tutorials/ebsd_process.html

the computed GOS values are orders of magnitude larger than those shown in the tutorial.

Tutorial expected values:

3.124415538011
2.405535676705

My computed values:

36.211881332051
44.493304803758

Create raster tessellation following tutorial (EBSD → TESR)

Run

neper -S n2d.sim -rescell ori

(Expected output, OK)

Run

neper -S n2d.sim -rescell gos

inspect:

more n2d.sim/results/cells/gos/gos.step0

output is ~10× larger than tutorial values.

This is the simulation.tesr file generated by Neper 4.10.1:
***tesr
**format
2.2
**general
2
4 3
0.001000000000 0.001000000000
**cell
2
*id
1 2
crysym
cubic
**data
binary8
������������
**oridata
rodrigues:passive
binary16
cÏ6��Ðß?ê%�I� è?�)ò��ÃÔ¿�ý5!"ÕÜ?Wg6j}èè?�éÝÊ\�Ô¿¾vSì��À®�ý �dâ?ð÷�9Ï��@ñʱpS��Ài¿MSW ã?�úLù.å�@�há^¶�Ý?úX�0M&ç?�ÇI±<sÕ¿���óÄ��ÀïMû?À�á?Ð�!.ó*�@<U{Xi×�À�ê°´= ß?*B0äßé�@´Þ§�vî�ÀwÄ��Ë×ç?�Ô6Ä^©�@Ù¼|ùp�À�õ��vçæ?)1Î<�� @­�Ü����Àè{��)Zå?v+üâ'ô�@�äéo8��À�&`;�cç?ª%¤
wÁ�@{���ãá�ÀÛTÁY2
á?ôY��®��@
**oridef
ascii
1 1 1 1 1 1 1 1 1 1 1 1
***end

ubuntu@primary:~/Home/Ubuntu/example/EBSD$ neper -S n2d.sim -rescell gos

======================== 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 : Loading initialization file /home/ubuntu/.neperrc'... Info : --------------------------------------------------------------- Info : MODULE -S loaded with arguments: Info : [ini file] (none) Info : [com line] n2d.sim -rescell gos Info : --------------------------------------------------------------- Info : Reading input data... Info : - Reading arguments... Info : > Input files: tesr Info : > Cell number : 2 Info : > Step number : 0 Info : > Cell results : ori Info : Running post-processing... Info : - Loading inputs... Info : > simulation.tesr... Info : - Writing results... Info : [o] Writing directory n2d.sim/results/cells'...
Info : . gos .............................................. 100%
Info : [o] Wrote directory `n2d.sim/results/cells'.
Info : Elapsed time: 0.042 secs.

ubuntu@primary:~/Home/Ubuntu/example/EBSD$ more n2d.sim/results/cells/gos/gos.step0
36.001217811669
44.493304803758

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions