CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Split View / Coloring problem (https://www.cfd-online.com/Forums/paraview/161398-split-view-coloring-problem.html)

efp October 22, 2015 18:14

Split View / Coloring problem
 
I'm trying to view color maps of different vector components at the same time using a split view:
- Added new render views
- Added new 'Clip' filters (Clip1 and Clip2)
- In each render view, made one of the clip filters visible

If I set one to 'Surface' representation, the other to 'Surface with Edges', they appear as you would expect. One shows edges, the other doesn't.

However, when I change the 'Coloring' setting of one (say, Clip1 to the X component of the vector), the coloring setting of the other (Clip2) also changes! I can't get one displaying X and one displaying Y.

Why aren't these independent? Is this a bug? Anyone have an idea?

efp October 23, 2015 11:43

Solution I came up with from here: http://www.paraview.org/pipermail/pa...ly/022104.html

Quote:

ParaView tries to use the same color transfer function for each variable in all views to ensure that one perceives the same value wherever they see a particular color... What you might do then to get around this behavior is to create a copy of your array and color by that array in one view or the other. The simplest way I can thing to do that is to use the calculator filter.
This worked, but it seems like a hack to fix dumb, broken behavior.

Flowkersma October 23, 2015 11:49

Hi Eric,

I think this is not a bug. For example in CFD you may have run your simulation with two turbulence models and you want to compare the velocity vector between the two models. Then it may be handy when you can synchronously change the component of the velocity for both views.

There might be more sophisticated ways to do this but one workaround could be to make a new scalar variable from a component of the vector with Calculator and then for one view use the vector variable and for the other the scalar variable.

Regards,
Mikko


All times are GMT -4. The time now is 09:12.