Skip to main content

ANSYS qu from new user: writing a "for" loop for this example

Submitted by bumblebee on

Hi: I am a new ANSYS user and would really appreciate help writing a "for"-type loop to go with an example found here:

http://www.mece.ualberta.ca/tutorials/ansys/CL/CAT/BirthDeath/Print.html

 At the end of the example is the paragraph below.  I want to know how to do this!  Can anyone modify the code for me?  I don't even know where to start.  I would be very grateful!  

 This procedure can be programmed in a loop, using command line code, to more accurately model element death over time. Rather than running the analysis for a time of 60 and killing any elements above melting temperature at the end, a check can be done after each substep to see if any elements are above the specified temperature and be killed at that point. That way, the prescribed convection can then act on the elements below those killed, more accurately modelling the heating process. 

Free Tags