Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Animating complex shapes

Status
Not open for further replies.

harryhaller

Structural
Jun 29, 2006
9
0
0
DE
Hello,

I don't know if this is the right forum for this.

I would like to animate some mode shapes, at the moment I have written my program so that it uses cos(real part of mode shape) + sin(imaginary part of the mode shape). This indeed produces a shape which seems correct, but when I compare my complex mode shapes to those in a commercial modal analysis program(mescope) the shape at 0 degrees( when the shape should be entirely imaginary?) looks slightly different than mine, although using the same data.

Many thanks in advance

Harry
 
Replies continue below

Recommended for you

Please ignore the formula in the first post, thats not what I've written, I didn`t have the code in front of me when I wrote my original post, my brain must need defragmenting.

My code goes as follows

degrees = 0 to 360 in 10 degree steps

real(mode shape) * cos(degrees) + imag(mode shape)*sin(degrees)


Many thanks

Harry
 
If you want to get the magnitude from Re and Im data, you need to take the square root of the sum of the squares of the magnitudes.
 
Status
Not open for further replies.
Back
Top