Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

aanimating results 1

Status
Not open for further replies.

james80

Mechanical
Feb 4, 2004
21
Is it possbile to animate a series of stress plots from a series of results files. I have 15 result files and I want to know if I can animate them.
 
Replies continue below

Recommended for you

I'm sure it's possible, but you need to make what you're trying to do a lot clearer.


------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
 
I am actually interested in animating a series of stress plots from a series of results files. I did not solve the model using multiple load steps because the results file becomes enormous and unworkable. I split the full cycle of load positions into 20 "steps" and wrote a macro to place the load in position, solve it, rename the results file appropriately, then repeat... remove the previously positioned loads and apply new ones at the next position, solve it, rename the results file appropriately, etc. In the end I have 20 results files. I wrote a macro to call up each results file in turn, orient the model, set the view parameters (focus,view,dist,etc.), set the color contour scale correctly and create a .jpg image. Then, I dump these images into PowerPoint and run a slide show. I really want to use Ansys animation to run images. Ideally, I would like to view the animation from different angles dynamically. My current method freezes the orientation, of course.
 
Hi james80,

I suppose you have 15 Results files from deferent simulations whith deferent jobnames for the SAME model. You could write a macro:

! Read the first model data

FINISH
/CLEAR,START
/FILNAM, jobname1
RESUME

/POST1

! start animation

/SEG, DELE
/SEG,MULTI,,0.5

/post1

FILE, jobname1, rst
SET,LAST
PLNSOL,S,EQV

FILE, jobname2, rst
SET,LAST
PLNSOL,S,EQV

.
.
.

FILE, jobname15
SET,LAST
PLNSOL,S,EQV

/SEG,OFF,,1
ANIM,15

That should work...
 
Dear mihaiupb
I will try this
thanks
james
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor