<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>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.</div>
<div><br>
</div>
<div>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.)</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>-Ken</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Paw Møller <<a href="mailto:pawsen@gmail.com">pawsen@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tue, 13 Dec 2011 12:27:46 +0100<br>
<span style="font-weight:bold">To: </span><<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] ExodusII and mode shape animation<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<font class="Apple-style-span" face="courier new,monospace">Hi<br>
<br>
First of: I write to the ExodusII format from my own fortran program.<br>
<br>
I would like to animate some mode shapes (or complex harmonic solutions).<br>
My solution is a complex vector u. The physical displacement over e.g one period is then<br>
d = Re( u*exp(i*omega*t)) =><br>
d = Re(u)*cos(omega*t)-Im(u)*sin(omega*t)<br>
<br>
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?<br>
<br>
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?<br>
<br>
Any help is appriciated!<br>
Thanks,<br>
Paw</font> _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Please keep messages on-topic and check the ParaView Wiki at:
<a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</blockquote>
</span>
</body>
</html>