[Paraview] [EXTERNAL] ExodusII and mode shape animation

Moreland, Kenneth kmorel at sandia.gov
Tue Dec 13 10:09:03 EST 2011


You can use the has mode shape function to write multiple mode shapes to the same exodus file.  You could identify the frequency using the time.  It's a logical use for it, but ParaView won't do anything with that other than print it in a label.

The automatic mode shape animation supported by the Exodus reader won't work for you.  It assumes that all displacements have the same phase.  (That is, it assumes that u = 1 + 0i for all points.)

You could do the animation fairly easily in a Python Programmable Filter using the equations you provided.  You might be able to do it with the Python Calculator, but I'm not sure you can access the current time value from it.  One of the Python gurus would have to speak up here.

-Ken

From: Paw Møller <pawsen at gmail.com<mailto:pawsen at gmail.com>>
Date: Tue, 13 Dec 2011 12:27:46 +0100
To: <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] ExodusII and mode shape animation

Hi

First of: I write to the ExodusII format from my own fortran program.

I would like to animate some mode shapes (or complex harmonic solutions).
My solution is a complex vector u. The physical displacement over e.g one period is then
              d = Re( u*exp(i*omega*t)) =>
              d = Re(u)*cos(omega*t)-Im(u)*sin(omega*t)

To animate this I could write the real and imaginary part of u in two vectors, and then multiply with cosine and -sine. But then I have to do that for each timestep somehow and I dont know how to do that. Would it be possible to write a vector containing the timesteps and then do the math with the calculator?

The ExodusII has a 'has mode shape' function. But I haven't been able to find any examples/documentation on it. It seems that you write the eigenfrequency as time for the corresponding displacementvector. But how do you animate the modeshape itself?

Any help is appriciated!
Thanks,
Paw _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111213/2546a74e/attachment.htm>


More information about the ParaView mailing list