[Paraview] Defining new Variables

Rinehart, Richard D. (GRC-VG00)[DB Consulting Group, Inc.] richard.d.rinehart at nasa.gov
Mon Feb 9 14:45:44 EST 2015


Thanks all, I have gotten it to work.  And it does like I expect.  In my early excursions using Paraview, it’s totally possible to do things that doesn’t crash it but otherwise hoses up subsequent downstream  movements.  I don’t say that to complain as it’s quite amazing for opensource and perhaps it’s mostly user error.  It’s just wise sometimes to exit and reload I find ☺
-rich

From: David E DeMarle [mailto:dave.demarle at kitware.com]
Sent: Monday, February 09, 2015 2:39 PM
To: Moreland, Kenneth
Cc: Rinehart, Richard D. (GRC-VG00)[DB Consulting Group, Inc.]; paraview at paraview.org
Subject: Re: [Paraview] Defining new Variables

And make sure the subsequent filters start from the calculator filter, otherwise they, just like the calculator itself, will take in the output of the upstream source. (i.e. you've made a branching fan out pipeline)


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Feb 9, 2015 at 12:54 PM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
The variable should be available for use by subsequent filters. I've never had a problem with that. Perhaps the calculator was not giving the variable the name you were expecting? (The default name is "Result".)

-Ken

From: <Rinehart>, "Inc.]" <richard.d.rinehart at nasa.gov<mailto:richard.d.rinehart at nasa.gov>>
Date: Monday, February 9, 2015 at 10:50 AM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Defining new Variables

Thanks!  Ahh….  Filters.  But the variable did not seem available for use by subsequent filters after the filter application.  That’s confusing me.  But I’ll try again.
-rich


From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
Sent: Monday, February 09, 2015 12:06 PM
To: Rinehart, Richard D. (GRC-VG00)[DB Consulting Group, Inc.]; paraview at paraview.org<mailto:paraview at paraview.org>
Subject: Re: [Paraview] Defining new Variables

Richard,

Did you click the "Apply" button after entering the expression in the calculator filter? After you click the Apply button ParaView will evaluate your expression on all elements of your data.

The new variable becomes part of the newly generated data set labeled as "Calculator1" or something similar in the pipeline browser (at the left of the GUI). The variable is available when showing that data in the view or adding subsequent filters to that.

If this talk of filters is confusing, I suggest taking a look at the ParaView tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial) and/or the ParaView guide as Utkarsh suggested earlier to learn the fundamental concepts of ParaView.

-Ken

From: <Rinehart>, "Inc.]" <richard.d.rinehart at nasa.gov<mailto:richard.d.rinehart at nasa.gov>>
Date: Monday, February 9, 2015 at 8:51 AM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] Defining new Variables

Greetings!
A relative newbie Paraview question[http://www.cfd-online.com/Forums/images/smilies/smile.gif]. In Ensight I use the calculator to define essentially a new variable, such as degrees F as computed from K. I've done that in Paraview but it doesn't seem to then be available to use. ?

_______________________________________________
Powered by www.kitware.com<http://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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150209/4994e3a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1061 bytes
Desc: image001.gif
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150209/4994e3a7/attachment.gif>


More information about the ParaView mailing list