Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating more than 1 animation in a Do-loop, is this possible?

Status
Not open for further replies.

plvachon

Mechanical
Jun 16, 2005
38
I'm trying to create 2 animations (thus 2 *.avi files) with 2 different ETABLE results, and I don't find the way to do it. I'd like to get a frame for each Do-Loop and for each ETABLE plotting. Is this something possible? For example, here is the procedure I would like to do:

...
*DO,...
...
... (a lot of calculations)

! Creating the 1st *.avi file
PLETAB,16

/ANNOT,DELE
/tlabel,-0.9,-0.6,Title
/seg,multi,,0.5
/rep
/seg,off

! Creating the 2nd *.avi file
PLETAB,17 (some other results)
... (commands for recording the AVI file)

*ENDDO
...
 
Replies continue below

Recommended for you

To create animations, I use the /show command instead of /seg.
For example;

/show,'name of file',grph
*do,

....

*enddo
/show,close

This file can then be viewed in ansys display to create a video (which also lets you control the time between frames). By issuing a series of /show commands you can create multiple videos. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor