-
Hello DAMASK team,
homogenization:
I attached the input file in the .zip file in case you may use them. Thank you and best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
it's just an issue of getting the data. You use the full stress and strain tensor and average over all points and all components. The datasets with the equivalent quantities are suffixed by import damask
import numpy as np
import matplotlib.pyplot as plt
res = damask.Result('geom_N1_8x8x8_compressionZ_n1_material.hdf5')
res.add_stress_Cauchy()
res.add_strain()
res.add_equivalent_Mises('sigma')
res.add_equivalent_Mises('epsilon_V^0.0(F)')
sigma = [np.average(s)/1.e6 for s in res.get('sigma_vM').values()]
epsilon=[np.average(e)*100 for e in res.get('epsilon_V^0.0(F)_vM').values()]
plt.plot(epsilon,sigma)
plt.show() works |
Beta Was this translation helpful? Give feedback.
it's just an issue of getting the data. You use the full stress and strain tensor and average over all points and all components. The datasets with the equivalent quantities are suffixed by
_vM
, soworks