cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to animate vibration of a building

A_B
1-Newbie
1-Newbie

How to animate vibration of a building

Hello,

I am trying to animate vibration of a building such as:

each floor will have a set of displacements from time 0 sec up to 54 sec at time increment 0.02 as in figure below, I could have up to 10 floors.

2.png

.The displacement at time 0,1,2,3,4 sec for all 10 floors with respect to the floor height are shown in the figure below:

3.png

The vertical axis (ydata) is the floor height which is constant. The horizontal axis (r100data, r101data ......) is the displacement value for each floor at certain time. For instance, the horizontal axis in the first figure (r100data) is the displacement for each floor at time 0 sec.

This is what (r100data, r101data ......) look like:

4.png

I would like to do the animation such as the frames will start from 0 sec, 0.02 sec , 0.04sec ............ 54 sec.

Thank you in advance!!!!!

1 REPLY 1
Werner_E
24-Ruby V
(To:A_B)

Animations can only have up to 1000 frames (FRAME from 0 to 999), so you won't get the 2701 frames you want - at least not in one run.

One possible way is to let FRAME run from 0 to 810, so you have a time interval of 1/15 sec

time:=FRAME/15

and pick the value at

timeindex:=round(FRAME*10/3)

You should make rdata a function dependend on time or timeindex.

Top Tags