error 844 #67
-
Hello, could anybody help me? I tried to run a simulation, but this error occurred. It says invalid size of the VTI file like this and when I tried to cut the EBSD data it still error. Thank you Here I attached the geom file
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This error indicates that (at least) one of the grid sizes is non-positive. >>> import numpy as np
>>> import damask
>>> grid=damask.GeomGrid.load('ebsd.vti')
>>> grid
cells: 56 × 48 × 1
size: 55.99999999999999 × 47.99999999999999 × 0.0 m³
origin: -55.5 -0.49999999999999994 0.0 m
# materials: 2669 Set the thickness to, for instance, the smaller cell dimension along the other two directions: >>> grid.size[2] = grid.cells[2]*np.min((grid.size/grid.cells)[:2])
>>> grid
cells: 56 × 48 × 1
size: 55.99999999999999 × 47.99999999999999 × 0.9999999999999999 m³
origin: -55.5 -0.49999999999999994 0.0 m
# materials: 2669 DAMASK versions after 3.0.1 will have more informative messages regarding VTI parsing errors. |
Beta Was this translation helpful? Give feedback.
This error indicates that (at least) one of the grid sizes is non-positive.
For the file you provided, which is a 2D map, the third dimension has zero thickness:
Set the thickness to, for instance, the smaller cell dimension along the other two directions: