Re: [Paraview] Velocity field analysis - lambda2

2015-12-09 Thread David Larsson
Hi Armin and Tim,

Thanks both for the helpful instructions. I think using your Python Calculator 
tip Armin is the way to go - however, I can't seem to find any transpose 
function there (according to http://www.vtk.org/Wiki/Python_Calculator ). 
Following numpy it should be something on the lines of myTensor.T but that 
doesn't seem to work...

Anyway thanks for all the advice.

Cheers

David 

-Ursprungligt meddelande-
Från: ParaView [mailto:paraview-boun...@paraview.org] För Armin Wehrfritz
Skickat: den 8 december 2015 21:16
Till: paraview@paraview.org
Ämne: Re: [Paraview] Velocity field analysis - lambda2

Hi,

ParaView has several possibilities for user defined expressions, e.g:
1) "Calculator" filter
2) "Python Calculator" filter
3) "Programmable Filter"

The "Calculator" filter is very limited and only suited for simple calculations 
(basically what you see in the GUI). The "Python Calculator" filter has a wider 
selection of functions, including a gradient function. For really advanced 
things, the "Programmable Filter"
probably gives you the most flexibility.

I have attached a very simple state file, that demonstrates how to use the 
"Python Calculator" filter with an arbitrary expression, i.e.
"curl(gradient(RTData))" where RTData is a scalar field. The expression itself 
doesn't make much sense, but shows the basic principle.

A really good introduction to all of this functionality is given in the 
ParaView user guide (section 5.8 and 13):
http://www.paraview.org/paraview-guide/

HTH

-Armin





On 12/08/2015 01:45 PM, Tim Gallagher wrote:
> David,
>
> If you are using the filter called Calculator, there is no gradient 
> nor transpose functions in it. The only functions you can use are the 
> ones you can click on the little buttons in the GUI (you can type them 
> instead of clicking, but those are the only ones available). So you 
> must use the ComputeDerivative filter before the Calculator because 
> you won't get the gradient any other way.
>
> Additionally, keep in mind that velocity is a vector and so the vector 
> gradient of velocity will be a tensor output. It will have variable 
> names like VectorGradient_0 through VectorGradient_8 when used inside 
> the calculator. Only the scalar components are available, it doesn't 
> work like a matrix in the Calculator filter.
>
> If you want to compute the strain (what I think your S is), you should 
> use the ComputeDerivatives filter and set the "Vectors" to your 
> velocity vector, set the  "Output Tensor Type" to "Strain" and since 
> you are after lambda_2, you should set the "Output Vector Type" to 
> "Vorticity".
>
> Once this is done, you will have cell-data fields for strain and for 
> vorticity. You probably want to do a CellDataToPointData filter to get 
> this back to node-centered data (which is required if you want 
> iso-surfaces). Once that is done, in your Calculator filter, you now 
> have access to scalars called Strain_0 through Strain_8 and 
> Vorticity_X, Vorticity_Y and Vorticity_Z.
>
> Strain_0 is S_xx, Strain_1 is S_xy, Strain_2 is S_xz, Strain_3 is 
> S_yx... through to Strain_8 = S_zz.
>
> With all of those individual components, your Calculator filter for
> Lambda_2 will just be a bunch of products and sums of those terms.
>
> Tim
>
> --
> --
> *From: *"David Larsson" 
> *To: *"Tim Gallagher" 
> *Cc: *paraview@paraview.org
> *Sent: *Tuesday, December 8, 2015 6:30:28 AM
> *Subject: *SV: [Paraview] Velocity field analysis - lambda2
>
> Hi Tim,
>
>
> thanks for your answer. Your method sound straight-forward. The only 
> issue I have now is that I'm simply not sure how to control the 
> Calculator of paraview. Following your steps, I want to set e.g.:
>
>
> 'Result Array Name': S_squared
>
>
> and then compute using the calculator something like
>
>
> (gradient(velocity) + transpose(gradient(velocity)))^2/2
>
>
> but this gives me a calculator error ('Syntax Error: expecting a 
> variable name'). So I assume I'm simply using the calculator the wrong 
> way (giving input in an incorrect manor).
>
>
> Could you specify how you give input to the calculator following your 
> outlined steps? Also, do you know the difference between the 
> 'ComputeDerivative' and 'Gradient' is?
>
>
> Thanks again for the help,
>
>
> /David
>
>
>
>  tEIlfcjHJ6nx0MeBY57EwkoSX2SdYQPib-GqeXHouLYnDA.=mailto%3adavid.lar
> sson%40sth.kth.se>
>
> --
> --
> *Från:* Tim Gallagher 
> *Skickat:* den 7 december 2015 23:16
> *Till:* tim gallagher
> *Kopia:* paraview@paraview.org; David Larsson
> *Ämne:* Re: [Paraview] Velocity field analysis - lambda2 For the sake 
> of people years later who come across this thread, there is a typo in 
> my definition and it 

[Paraview] Can't set custom range value too small

2015-12-09 Thread Gena Bug

Hi!

Tried PV rc1 (5.0.0-RC1-20-g58e9aa1 64-bit) and found that I can't set 
range value (maximum) if it less than 1e-16 in Color Map Editor (Rescale 
to custom range). Yes, it's not a very good value, however, minimum can 
be set to less values.

___
Powered by 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


Re: [Paraview] Displaying Cinema output

2015-12-09 Thread Andy Bauer
Hi Jim,

ParaView isn't the proper tool to view Cinema results. There are viewers
available at http://www.cinemascience.org/download/.

Under www.cinemascience.org there are links for documentation, getting
started and sample data.

The basic usage of the installer is to start the Cinema viewer and just
load the json file. The controls in the upper-right corner are used to
search through the different angles, elevations, time steps, etc.

Please let us know if you have any questions.

Best,
Andy

On Wed, Dec 9, 2015 at 11:15 AM,  wrote:

>
>
> Good afternoon,
>
>
>
> How do I visualise ParaView Cinema output?
>
>
>
> I have been investigating ParaView Catalyst and am interested in the
> Cinema output option. I have run some simulations and have some images for
> a selection of angles, elevations and timesteps with an accompanying json
> file.
>
>
>
> Is there a way to visualise this data in ParaView or is another tool
> required?
>
>
>
> Kind regards,
>
> Jim
>
>
>
> *Jim Eliot*
>
> *High Performance Computing Group*
>
> AWE, Aldermaston, Reading, RG7 4PR
>
>
>
> The information in this email and in any attachment(s) is commercial in
> confidence. If you are not the named addressee(s) or if you receive this
> email in error then any distribution, copying or use of this communication
> or the information in it is strictly prohibited. Please notify us
> immediately by email at admin.internet(at)awe.co.uk, and then delete this
> message from your computer. While attachments are virus checked, AWE plc
> does not accept any liability in respect of any virus which is not
> detected. AWE Plc Registered in England and Wales Registration No 02763902
> AWE, Aldermaston, Reading, RG7 4PR
>
> ___
> Powered by 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
>
>
___
Powered by 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


[Paraview] Displaying Cinema output

2015-12-09 Thread Jim.Eliot

Good afternoon,

How do I visualise ParaView Cinema output?

I have been investigating ParaView Catalyst and am interested in the Cinema 
output option. I have run some simulations and have some images for a selection 
of angles, elevations and timesteps with an accompanying json file.

Is there a way to visualise this data in ParaView or is another tool required?

Kind regards,
Jim

Jim Eliot
High Performance Computing Group
AWE, Aldermaston, Reading, RG7 4PR





The information in this email and in any attachment(s) is
commercial in confidence. If you are not the named addressee(s)
or
if you receive this email in error then any distribution, copying or
use of this communication or the information in it is strictly
prohibited. Please notify us immediately by email at
admin.internet(at)awe.co.uk, and then delete this message from
your computer. While attachments are virus checked, AWE plc
does not accept any liability in respect of any virus which is not
detected.

AWE Plc
Registered in England and Wales
Registration No 02763902
AWE, Aldermaston, Reading, RG7 4PR
___
Powered by 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


Re: [Paraview] Displaying Cinema output

2015-12-09 Thread David E DeMarle
Hi Jim.

Head over to cinema science.org and download the desktop viewer. The web
based viewer is also an option if you would like to put the results online.

cheers,


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

On Wed, Dec 9, 2015 at 11:15 AM,  wrote:

>
>
> Good afternoon,
>
>
>
> How do I visualise ParaView Cinema output?
>
>
>
> I have been investigating ParaView Catalyst and am interested in the
> Cinema output option. I have run some simulations and have some images for
> a selection of angles, elevations and timesteps with an accompanying json
> file.
>
>
>
> Is there a way to visualise this data in ParaView or is another tool
> required?
>
>
>
> Kind regards,
>
> Jim
>
>
>
> *Jim Eliot*
>
> *High Performance Computing Group*
>
> AWE, Aldermaston, Reading, RG7 4PR
>
>
>
> The information in this email and in any attachment(s) is commercial in
> confidence. If you are not the named addressee(s) or if you receive this
> email in error then any distribution, copying or use of this communication
> or the information in it is strictly prohibited. Please notify us
> immediately by email at admin.internet(at)awe.co.uk, and then delete this
> message from your computer. While attachments are virus checked, AWE plc
> does not accept any liability in respect of any virus which is not
> detected. AWE Plc Registered in England and Wales Registration No 02763902
> AWE, Aldermaston, Reading, RG7 4PR
>
> ___
> Powered by 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
>
>
___
Powered by 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


Re: [Paraview] OpenGL Backend Identification

2015-12-09 Thread Joachim Pouderoux
BTW, I took a look but I do not see any way for a third party VTK or PV
application that would not use CMake machinery (and use VTK_OPENGL_BACKEND)
to know if the VTK it uses is based on OpenGL backend 1 or 2.
VTK_OPENGL2 is a compiler definition provided to build VTK or PV but, as
there is no global VTK configuration header, shouldn't we add a function in
vtkRenderWindow to return the version of the backend it is based on?

*Joachim Pouderoux*

*PhD, Technical Expert*
*Kitware SAS *


2015-12-08 19:58 GMT+01:00 Ben Boeckel :

> On Mon, Dec 07, 2015 at 14:49:51 -0500, Tim Thirion wrote:
> > I'm looking to provide run-time identification of the current OpenGL
> > backend in use. Some questions:
> >
> > 1. VTK #defines VTK_OPENGL2, but ParaView #defines VTKGL2. Is there a
> > particular reason we have both?
>
> VTK used to have both. VTKGL2 should be migrated to VTK_OPENGL2 (as VTK
> did).
>
> > 2. Is there an ideal place to define such a constant? Perhaps on the
> render
> > window?
>
> The About dialog has a list of information already (versions of Python,
> matplotlib, numpy, Qt, etc.).
>
> --Ben
> ___
> Powered by 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
>
___
Powered by 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


Re: [Paraview] OpenGL Backend Identification

2015-12-09 Thread Shawn Waldon
There *is* a global VTK configuration header.  vtkConfigure.h has many of
these definitions and is included in vtkObjectBase.h (so pretty much
everywhere).  But you may be right that this should go somewhere in the
rendering code rather than in there.  I am not sure that vtkRenderWindow is
the best location for it, but I am not as familiar with the code that uses
the compiler definition.  Does everywhere that #ifdefs VTK_OPENGL2 include
vtkRenderWindow.h?  Or would we have to pull in that header just for that
macro?

Shawn

On Wed, Dec 9, 2015 at 11:54 AM, Tim Thirion 
wrote:

> Yes, that was my original question. :) Is the vtkRenderWindow the best
> place for this? I'm happy to add it.
>
> On Wed, Dec 9, 2015 at 11:12 AM, Joachim Pouderoux <
> joachim.pouder...@kitware.com> wrote:
>
>> BTW, I took a look but I do not see any way for a third party VTK or PV
>> application that would not use CMake machinery (and use VTK_OPENGL_BACKEND)
>> to know if the VTK it uses is based on OpenGL backend 1 or 2.
>> VTK_OPENGL2 is a compiler definition provided to build VTK or PV but, as
>> there is no global VTK configuration header, shouldn't we add a function in
>> vtkRenderWindow to return the version of the backend it is based on?
>>
>> *Joachim Pouderoux*
>>
>> *PhD, Technical Expert*
>> *Kitware SAS *
>>
>>
>> 2015-12-08 19:58 GMT+01:00 Ben Boeckel :
>>
>>> On Mon, Dec 07, 2015 at 14:49:51 -0500, Tim Thirion wrote:
>>> > I'm looking to provide run-time identification of the current OpenGL
>>> > backend in use. Some questions:
>>> >
>>> > 1. VTK #defines VTK_OPENGL2, but ParaView #defines VTKGL2. Is there a
>>> > particular reason we have both?
>>>
>>> VTK used to have both. VTKGL2 should be migrated to VTK_OPENGL2 (as VTK
>>> did).
>>>
>>> > 2. Is there an ideal place to define such a constant? Perhaps on the
>>> render
>>> > window?
>>>
>>> The About dialog has a list of information already (versions of Python,
>>> matplotlib, numpy, Qt, etc.).
>>>
>>> --Ben
>>> ___
>>> Powered by 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
>>>
>>
>>
>
> ___
> Powered by 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
>
>
___
Powered by 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


Re: [Paraview] OpenGL Backend Identification

2015-12-09 Thread Marcus D. Hanwell
vtkConfigure.h is definitely not the right place for this, and we
worked pretty hard to move things out of it that didn't need to be
there. It will cause almost all classes to recompile, and nothing in
common is even aware of rendering backends. There is a configured
header in the modules that record some settings (such as Cocoa,
Carbon, X11, etc as far as I remember) that would be more appropriate.

I haven't looked at the code in a while, adding something to configure
it in seems reasonable. It is something we originally hoped could be
decided at link time, and it has since become something that can only
really be decided at compile time (which backend to use). With that in
mind, you could simply define something in vtkRenderingCore's
configured header stating which backend it was compiled with.

Marcus

On Wed, Dec 9, 2015 at 12:00 PM, Shawn Waldon  wrote:
> There *is* a global VTK configuration header.  vtkConfigure.h has many of
> these definitions and is included in vtkObjectBase.h (so pretty much
> everywhere).  But you may be right that this should go somewhere in the
> rendering code rather than in there.  I am not sure that vtkRenderWindow is
> the best location for it, but I am not as familiar with the code that uses
> the compiler definition.  Does everywhere that #ifdefs VTK_OPENGL2 include
> vtkRenderWindow.h?  Or would we have to pull in that header just for that
> macro?
>
> Shawn
>
> On Wed, Dec 9, 2015 at 11:54 AM, Tim Thirion 
> wrote:
>>
>> Yes, that was my original question. :) Is the vtkRenderWindow the best
>> place for this? I'm happy to add it.
>>
>> On Wed, Dec 9, 2015 at 11:12 AM, Joachim Pouderoux
>>  wrote:
>>>
>>> BTW, I took a look but I do not see any way for a third party VTK or PV
>>> application that would not use CMake machinery (and use VTK_OPENGL_BACKEND)
>>> to know if the VTK it uses is based on OpenGL backend 1 or 2.
>>> VTK_OPENGL2 is a compiler definition provided to build VTK or PV but, as
>>> there is no global VTK configuration header, shouldn't we add a function in
>>> vtkRenderWindow to return the version of the backend it is based on?
>>>
>>> Joachim Pouderoux
>>>
>>> PhD, Technical Expert
>>> Kitware SAS
>>>
>>>
>>> 2015-12-08 19:58 GMT+01:00 Ben Boeckel :

 On Mon, Dec 07, 2015 at 14:49:51 -0500, Tim Thirion wrote:
 > I'm looking to provide run-time identification of the current OpenGL
 > backend in use. Some questions:
 >
 > 1. VTK #defines VTK_OPENGL2, but ParaView #defines VTKGL2. Is there a
 > particular reason we have both?

 VTK used to have both. VTKGL2 should be migrated to VTK_OPENGL2 (as VTK
 did).

 > 2. Is there an ideal place to define such a constant? Perhaps on the
 > render
 > window?

 The About dialog has a list of information already (versions of Python,
 matplotlib, numpy, Qt, etc.).

 --Ben
 ___
 Powered by 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
>>>
>>>
>>
>>
>> ___
>> Powered by 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
>>
>
>
> ___
> Powered by 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
>
___
Powered by 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


Re: [Paraview] Inconsistent new view with the defalut

2015-12-09 Thread Cory Quammen
Hi all,

Utkarsh merged a patch that should fix this issue in ParaView master. It
will be available in the nightly builds in a few days and in the 5.0
release.

Thanks,
Cory

On Mon, Dec 7, 2015 at 9:48 AM, Cory Quammen 
wrote:

> Patch posted here:
> https://gitlab.kitware.com/paraview/paraview/merge_requests/505
>
> On Mon, Dec 7, 2015 at 9:32 AM, Cory Quammen 
> wrote:
>
>> Yes, that should be possible. I have a potential fix for this problem and
>> should hopefully have it resolved in the next couple days.
>>
>> Cory
>>
>> On Sat, Dec 5, 2015 at 3:58 AM, Giuseppe Bilotta <
>> giuseppe.bilo...@gmail.com> wrote:
>>
>>> On Fri, Dec 4, 2015 at 10:56 PM, Cory Quammen 
>>> wrote:
>>> > Yoshimi,
>>> >
>>> > I looked into this issue some more.
>>> >
>>> > The server manager property is loaded as expected from the settings
>>> file.
>>> > However, camera settings are a little special as they are not updated
>>> from
>>> > the server manager. Data flows from the camera on the client to the
>>> server
>>> > only, not back.
>>> > I'll have to think of a way to handle this case.
>>>
>>> Wouldn't it be possible to pass the value of that setting when the
>>> camera is created, or use the same mechanism that is used to switch
>>> between parallel and orthographic when clicking on the checkbox?
>>>
>>> (I'll confess to having looked at the problem before (it's one of the
>>> reasons why I started looking into ways to contribute to paraview),
>>> but I couldn't make head or tail of it. It's very difficult for me to
>>> follow the code.)
>>>
>>> --
>>> Giuseppe "Oblomov" Bilotta
>>>
>>
>>
>>
>> --
>> Cory Quammen
>> R Engineer
>> Kitware, Inc.
>>
>
>
>
> --
> Cory Quammen
> R Engineer
> Kitware, Inc.
>



-- 
Cory Quammen
R Engineer
Kitware, Inc.
___
Powered by 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


[Paraview] Plot3D function files over time

2015-12-09 Thread Scott, W Alan
Berk helped me loading Plot3D function files over numerous time steps, and I 
wanted to document it here.  Here is my e-mail I sent to my user.




ParaView can read and correctly handle Plot3D function files over numerous time 
steps. The trick is that you need to create a master file that tells the Plot3D 
function reader how to find the files it needs, and how to read them.



Using your example datasets, I created a master file named master.p3d.  (You 
can name it anything, but the extension must be p3d.)  Inside this file, I 
wrote the following.  Be sure to watch the comas at the end of the lines.



{

"auto-detect-format" : true,

"filenames" : [

{ "time" : 0, "xyz" : "solver.xyz", "function" : "solver-007.fun" },

{ "time" : 1, "xyz" : "solver.xyz", "function" : "solver-0070100.fun" },

{ "time" : 2, "xyz" : "solver.xyz", "function" : "solver-0070200.fun" }

]

}



Then, file/ open the master.p3d file.

Alan

___
Powered by 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


[Paraview] Selecting a point in Python

2015-12-09 Thread Scott, W Alan
I am trying to create a python script that will create a plot selection over 
time.  Here is what I am trying to do:

* Read in the can.exo.  All vars on.  Apply

* Select point on can. (This is the line that does not record in the 
Trace Recorder, and I need).

* Plot selection over time (I can't get here without the previous step).

How is a selection done in Python?

Thanks,

Alan

___
Powered by 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


Re: [Paraview] Inconsistent new view with the defalut

2015-12-09 Thread Giuseppe Bilotta
On Wed, Dec 9, 2015 at 7:28 PM, Cory Quammen  wrote:
> Hi all,
>
> Utkarsh merged a patch that should fix this issue in ParaView master. It
> will be available in the nightly builds in a few days and in the 5.0
> release.

I can confirm that current master preserves the parallel projection as
set on load (at least for me).

-- 
Giuseppe "Oblomov" Bilotta
___
Powered by 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


[Paraview] 'Plot Data' missing Points X/Y/Z as option for X axis on 5.0-RC?

2015-12-09 Thread Giuseppe Bilotta
Hello,

up until 4.4 I could use the Plot Data filter to plot any quantity
over any spatial coordinate for the points. I would Pick "Points (0)"
or "Points (1)" or "Points (2)" as X Array Name (after un-checking
"Use index") and select any array I wanted to plot in the Series
parameters.

In 5.0-RC this doesn't seem to be possible anymore: I have Points X,
Points Y and Points Z as options for the Series, but not for the X
Array. There is a horrible workaround to plot a single array (pick the
array as X and the Points X as Series), but it's a hack and it can't
be use for multiple series.

Suggestions?

-- 
Giuseppe "Oblomov" Bilotta
___
Powered by 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


Re: [Paraview] OpenGL Backend Identification

2015-12-09 Thread Tim Thirion
Yes, that was my original question. :) Is the vtkRenderWindow the best
place for this? I'm happy to add it.

On Wed, Dec 9, 2015 at 11:12 AM, Joachim Pouderoux <
joachim.pouder...@kitware.com> wrote:

> BTW, I took a look but I do not see any way for a third party VTK or PV
> application that would not use CMake machinery (and use VTK_OPENGL_BACKEND)
> to know if the VTK it uses is based on OpenGL backend 1 or 2.
> VTK_OPENGL2 is a compiler definition provided to build VTK or PV but, as
> there is no global VTK configuration header, shouldn't we add a function in
> vtkRenderWindow to return the version of the backend it is based on?
>
> *Joachim Pouderoux*
>
> *PhD, Technical Expert*
> *Kitware SAS *
>
>
> 2015-12-08 19:58 GMT+01:00 Ben Boeckel :
>
>> On Mon, Dec 07, 2015 at 14:49:51 -0500, Tim Thirion wrote:
>> > I'm looking to provide run-time identification of the current OpenGL
>> > backend in use. Some questions:
>> >
>> > 1. VTK #defines VTK_OPENGL2, but ParaView #defines VTKGL2. Is there a
>> > particular reason we have both?
>>
>> VTK used to have both. VTKGL2 should be migrated to VTK_OPENGL2 (as VTK
>> did).
>>
>> > 2. Is there an ideal place to define such a constant? Perhaps on the
>> render
>> > window?
>>
>> The About dialog has a list of information already (versions of Python,
>> matplotlib, numpy, Qt, etc.).
>>
>> --Ben
>> ___
>> Powered by 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
>>
>
>
___
Powered by 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