MantisBT - ParaView
View Issue Details
0008273ParaView(No Category)public2008-12-09 22:012011-01-13 17:00
Alan Scott 
Ken Moreland 
normalminoralways
closedfixed 
 
3.6 
0008273: Feature: Ability to turn vibrations off for mode shapes
Item number 1, described by Ken below. Main section says:

First, this selection of time mode was designed for storing mode shape solutions, which has a minor unintended consequence.
Because mode shapes capture vibration information, turning on mode shapes also enables a special animation mode that will vary the displacement magnitude along a sine wave if you hit play. However, as long as you keep the time at 0, you will get the results you want.


Alan,

The problem, in a nutshell, is that the Exodus file is reporting as time something that is not time, which in turn causes ParaView to handle it incorrectly. The good news is that this is not the first time we have encountered the Exodus-time-is-not-really-time use case, and Eric can use our workaround immediately. The sort-of bad news is that the previous use case, mode shapes, is slightly different than what Eric is doing and thus he will have to be somewhat careful until we fix it properly.

To directly select which steady state solution to load, scroll the object inspector to near the bottom and click on the "Has Mode Shapes" checkbox.
The scroll bar underneath should enable itself and allow you to select the "time" that you want.

Now for the bad news. First, this selection of time mode was designed for storing mode shape solutions, which has a minor unintended consequence.
Because mode shapes capture vibration information, turning on mode shapes also enables a special animation mode that will vary the displacement magnitude along a sine wave if you hit play. However, as long as you keep the time at 0, you will get the results you want. The second unfortunate thing is that although you should be able to use the animation view to establish an animation that steps through the time steps in this mode, you cannot right now because the time index is marked as non-animateable. Both of these issues should be pretty easy to fix. Just create a bug report to be solved for 3.6 and assign it to me.

-Ken
No tags attached.
patch SuppressModeAnimate.patch (8,561) 2009-03-20 16:44
https://www.vtk.org/Bug/file/7133/SuppressModeAnimate.patch
Issue History
2008-12-09 22:01Alan ScottNew Issue
2008-12-09 22:03Alan ScottStatusbacklog => tabled
2008-12-09 22:03Alan ScottAssigned To => Ken Moreland
2009-03-20 16:44Ken MorelandFile Added: SuppressModeAnimate.patch
2009-03-20 16:45Ken MorelandNote Added: 0015744
2009-03-30 08:53Ken MorelandNote Added: 0015848
2009-03-30 08:53Ken MorelandStatustabled => @80@
2009-03-30 08:53Ken MorelandResolutionopen => fixed
2009-04-03 15:24Alan ScottNote Added: 0015906
2009-04-03 15:24Alan ScottStatus@80@ => closed
2009-05-13 13:45Utkarsh AyachitTarget Version => 3.6
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0015744)
Ken Moreland   
2009-03-20 16:45   
The attached patch adds an Animate Vibrations option to the Exodus reader (default on) that allows you to switch off the mode shape animation. I'll check it in when I am going to be around long enough to fix any errors.
(0015848)
Ken Moreland   
2009-03-30 08:53   
Added a checkbox to Exodus reader object inspector to turn on/off the animation of the vibrations for mode shapes (default to on).

/cvsroot/ParaView3/ParaView3/Qt/Components/Resources/UI/pqExodusIIPanel.ui,v <-- Qt/Components/Resources/UI/pqExodusIIPanel.ui
new revision: 1.14; previous revision: 1.13
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/readers.xml,v <-- Servers/ServerManager/Resources/readers.xml
new revision: 1.148; previous revision: 1.147
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReader.cxx,v <-- VTK/Hybrid/vtkExodusIIReader.cxx
new revision: 1.76; previous revision: 1.75
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReader.h,v <-- VTK/Hybrid/vtkExodusIIReader.h
new revision: 1.27; previous revision: 1.26
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReaderPrivate.h,v <-- VTK/Hybrid/vtkExodusIIReaderPrivate.h
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkPExodusIIReader.cxx,v <-- VTK/Hybrid/vtkPExodusIIReader.cxx
new revision: 1.26; previous revision: 1.25
(0015906)
Alan Scott   
2009-04-03 15:24   
Untested - I don't have data that I can use to test. I have passed a version ov ParaView on to my user, who will report if there are still problems.