Ansys Learning Forum Forums Discuss Simulation General Mechanical Grouping elements with a command in APDL Reply To: Grouping elements with a command in APDL

dlooman
Ansys Employee

There is no *get of element temperature mentioned in the *get documentation.  It appears you would need to be in post1, create an element table for temp (etab,temp,temp) and then *get the etable item.  If you can't be in post1 when you issue these commands you could *get one of the nodes of the element and *get its temperature. 

Also, I'm pretty sure the *if command needs to end with then, *if, temp_val, le, 20,then.  You could replace the two *if commands with one:  *if, temp_val, le, 20,and,temp_val,gt,0,then