27 July 2022 2 750 Report

I have trouble configuring material files with damask software. So I need your help.I copied the example of damask 3.0 official website (the example of official website failed to run successfully) to try to use 'from_table' to give custom grain orientation, but always reported an error:    'ValueError: Length mismatch: Expected axis has 3 elements, new values have 1 elements'.

(1) The following is the instruction I use:

import damask

import numpy as np

t = damask.Table.load('ori.txt')

config_material = damask.ConfigMaterial.from_table(t,O='q')

(2)The following is the instruction I used. The attachment is the Eulerian angle file of grain orientation I used like that: first.png

(3)The following figure is an example of the official website:secong.png

More Ming Guo's questions See All
Similar questions and discussions