MantisBT - ParaView
View Issue Details
0013778ParaViewBugpublic2013-01-09 15:582016-08-12 09:59
Jeff Mauldin 
Andy Bauer 
urgentminorunable to reproduce
closedmoved 
3.98.0 
 
CoProcessing
incorrect functionality
0013778: catalyst: vector variables have extraneous '_' appended in coprocessing script output
The basic problem here is as follows. To create a coprocessing visualization script with Catalyst, you are using the coprocessing plugin. The data item in question is a vector variable, such as displacement. You create the coprocessing script by loading an exodus file which is a stand-in for the data which will be generated during the simulation.

So: you bring up paraview, load the coprocessing plugin, and load the stand-in exodus data. You make a simple view which involves the vector variable (e.g. color by the displacement accepting the default use of the vector magnitude for the coloring value). Then dump out a script using the coprocessing plugin.

The script will not work properly during coprocessing visualization. The reason is that a '_' has been appended the the variable name during the process (e.g. the variable is 'displ' but comes out in the script as 'displ_').

A workaround is available, which is to go through the python script and change all the offending strings by removing the '_' (e.g. 'displ_' to 'displ'). However, given the already high bar of using paraview to generate the script, having to go and edit the python before use is a bridge too far for almost any user.

This appears to be somewhat related to to exodus reader. I think (but I'm not exactly sure how it works) that the data in the exodus file actually appears as three separate variables, one for each vector component (e.g. displ_x, displ_y, displ_z). The exodus reader combines these into a single vector variable with a given name (displ_).

I'm not precisely sure of a solution here. Perhaps the thing to do is to allow some automatic editing of the variable names either at exodus read time or coprocessing script write-out time (e.g. optionally remove a trailing '_' from vector names in the coprocessing script output).
 
No tags attached.
Issue History
2013-01-09 15:58Jeff MauldinNew Issue
2013-01-09 17:43Andy BauerAssigned To => Andy Bauer
2013-01-09 18:04Andy BauerNote Added: 0030052
2013-01-10 10:37Andy BauerNote Added: 0030053
2013-01-10 10:37Andy BauerStatusbacklog => todo
2013-01-17 13:11Andy BauerReproducibilityhave not tried => unable to reproduce
2013-01-17 13:11Andy BauerCategory(No Category) => Bug
2016-08-12 09:59Kitware RobotNote Added: 0038312
2016-08-12 09:59Kitware RobotStatustodo => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved

Notes
(0030052)
Andy Bauer   
2013-01-09 18:04   
I tried reproducing your problem and wasn't able to. I used the disk_out_ref.ex2 exodus file in VTKData (http://www.vtk.org/files/release/5.10/vtkdata-5.10.1.zip [^]) using the V variable and the can.ex2 exodus file in ParaViewData (available at http://www.paraview.org/paraview/resources/software.php [^]) with DISP. What version of ParaView are you using? I'm using the head repo but don't think this should have changed since 3.98 came out. Any chance you could share an exodus file which you're getting this behavior with?

This is obviously bad behavior as ideally a user should never have to modify the python script unless they want to change the output behavior.
(0030053)
Andy Bauer   
2013-01-10 10:37   
Waiting for feedback before I can change this to active development.
(0038312)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.