Ansys Learning Forum Forums Discuss Simulation General Mechanical Change Material Property Reply To: Change Material Property

zzhang868
Subscriber

I have 100 identical parts with the same material property "X" set up in the GUI. I want to slightly modify the value of "X" for all parts. Based on your feedback, I can locate the ID of material property "X" and adjust it.

Question 9: Since I have many parts, I want to change "X" for all parts efficiently. Is it possible to use APDL to modify "X" for all parts within a single script, perhaps by using a loop, instead of creating an individual APDL script for each part?

Question 9.1: If so, I assume we need to obtain the ID of each part. How can we retrieve the ID of each part, along with visualization to identify each one from the interface?

Question 9.2: How would I write an APDL script to handle this scenario?

Thank you so much!