Ansys Learning Forum Forums Discuss Simulation General Mechanical Export .txt file with element ID and corresponding elastic modulus Reply To: Export .txt file with element ID and corresponding elastic modulus

Erik Kostson
Ansys Employee

 

 

 

 

 

 

 

Hi

Assuming it is Workbench mech. you are using.

One way of doing this (get Young’s mod. for mesh/elements) using ACT mechanical scripting is shown here:

https://discuss.ansys.com/discussion/4481/how-to-get-youngs-modulus-for-each-element-in-the-mesh

 

If in APDL then looping over elements and using as below can do the same:

enow = elnext(enow)

*GET,mpid,ELEM,enow,ATTR,MAT ! get MP MAT number of el.

*GET, mpex(ii, 1), EX, mpid ! Store it in array

 

For the second part, that would need APDL.

All the best

Erik

 

 

 

 

 

 

Â