We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

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