Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-23 Thread Andy Bauer
Hi, It may be a driver issue. Which NVIDIA driver version are you using? According to https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ you'll need at lest 355.11. Cheers, Andy On Mon, Oct 23, 2017 at 5:25 PM, Bruce D'Amora wrote: > I

[Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2

2017-10-23 Thread Bruce D'Amora
I think there is an issue with volume rendering on Paraview v5.4.1 using EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try to volume render results in a segfault. Always seem to get these errors, but only when I try volume rendering. Warning: In

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Shuhao Wu
There's the `SaveData` function you can use. Just save via a .vtu extension. I personally also use CompressorType="LZ4" Try doing this in the paraview gui first and then record it into Python. Then you can see how everything is done. Shuhao On 2017-10-23 05:00 PM, Eslami, Parastou wrote:

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Eslami, Parastou
Hi Shuhao, Thank you for your response. Yes, I found the TemporalStatistics filter as well. Could you please let me know how I can save it back as a .vtu file? Best Regards, Parastou From: ParaView on behalf of Shuhao Wu

Re: [Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Shuhao Wu
I believe you're looking for the TemporalStatistics filter. Specifically what you want maybe something along the lines of: temporal_statistics = TemporalStatistics(Input=vtk_data) temporal_statistics.ComputeAverage = 1 temporal_statistics.ComputeMinimum = 0

[Paraview] Calculating time-averaged shear stress

2017-10-23 Thread Eslami, Parastou
Hi Everyone, I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to 1. Read the vtu files for each time step 2. calculate the magnitude of shear stress 3. calculate time-averaged shear stress for all the elements in my geometry

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-23 Thread Utkarsh Ayachit
Koija, > But I have still no clue how to make the pvserver render the scene remotely > and only transfer the rendered image to the pvpython client instead of all 3D > datasets (which will be huge). By default, ParaView will do remote rendering, if possible when the geometry size exceeds

Re: [Paraview] Equally spaced points on a slice (for the streamlines)

2017-10-23 Thread Utkarsh Ayachit
Is the slice axis aligned? If so, you can use a regular source eg. Wavelet or Mandlebrot to generate the evenly spaced points by setting the extents appropriately. Utkarsh On Mon, Oct 23, 2017 at 2:41 AM, Andrew wrote: > Hello. > I need to distribute points on a slice

Re: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-23 Thread Utkarsh Ayachit
Leo, You can't access it in Python since the Python script is not run on the server side. If your goal is to debug what thet camera is set to, you can put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. That's where the local camera on each rank is "prepped" for

[Paraview] ParaView Release Roadmap

2017-10-23 Thread Utkarsh Ayachit
Folks, We have a change in the ParaView release plan, as follows: *1. ParaView 5.5 October/November 2017 release has been postponed.* We have already had 3 releases this year, hence we have decided to postpone the 5.5 release. The next release will be according to the release plan described

Re: [Paraview] How to run a python script in every interaction

2017-10-23 Thread Utkarsh Ayachit
For camera interaction, you can add an observer to vtkCommand::[InteractionEvent|StartInteractionEvent|EndInteractionEvent] fired by vtkRenderWindowInteractor. e.g. def callback(caller, event): print ("ineraction") from paraview.vtk import vtkCommand view = GetActiveView()

Re: [Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread Utkarsh Ayachit
Jimmy, You can use `vtkSMPropertyHelper(glyph, "Scalars").SetInputArrayToProcess(vtkDataObject::POINT, "Diameters")`. Utkarsh On Mon, Oct 23, 2017 at 5:19 AM, A . wrote: > Dear community, > > > I'm having a hard time figuring out how to set the "Scalars" property of

Re: [Paraview] Rescale & axes grid tricks

2017-10-23 Thread Sonya Davydycheva
Cory, This is what I needed. It works. Many thanks, Sonya Davydycheva (713)498-6139 On Mon, Oct 23, 2017 at 7:47 AM, Cory Quammen wrote: > Sonya, > > ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in > red here: > >

[Paraview] How to run a python script in every interaction

2017-10-23 Thread Léo Pessanha
Hi! How can I run a python script in every interaction? By interaction I mean camera movements, hitting apply buttons and etc I don't know if an approach like running the script every N frames is the ideal, but if that's possible it would be a great start too Best regards, Leonardo Pessanha

[Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information

2017-10-23 Thread Léo Pessanha
Hi! I would like to know if there's a way to acess the information/attributes of the cameras there are created trough a .pvx file To acess the attributes in the camera of the active Layout/RenderView I do: 1 - Open Python Shell 2 - camera = GetActiveCamera() 3 - print(camera) And the output

[Paraview] Script for exporting multiple scenes

2017-10-23 Thread Ing. Claudio Pascarelli
Hi, these are the first times that I'm using Paraview and Python. I would like to create a script that: 1 - Read the number and name of properties (variables/contour plot) that I have in my .vtu file (for instance TEMPERATURE and TH_FLUX) 2 - Export every contour plot (Export Scenes) in

Re: [Paraview] Rescale & axes grid tricks

2017-10-23 Thread Cory Quammen
Sonya, ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in red here: [image: Inline image 1] Best regards, Cory On Mon, Oct 23, 2017 at 8:09 AM, Sonya Davydycheva wrote: > Cory, Alan and all ParaView experts, > > I keep playing with two versions of

[Paraview] Rescale & axes grid tricks

2017-10-23 Thread Sonya Davydycheva
Cory, Alan and all ParaView experts, I keep playing with two versions of Paraview following your kind advice, thanks (see below, on Paraview 5.4.1 error message & freeze). The earlier versions freeze sometimes as well, but I found a way to isolate and avoid the bug (I just avoid making full

[Paraview] Setting glyph "Scalars" property in a C++ pipeline

2017-10-23 Thread A .
Dear community, I'm having a hard time figuring out how to set the "Scalars" property of a glyph object with the C++ API. In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis'] In C++ I would assume something like: vtkSMPropertyHelper(glyph, "Scalars", true).Set("['POINTS',

[Paraview] Equally spaced points on a slice (for the streamlines)

2017-10-23 Thread Andrew
Hello. I need to distribute points on a slice equally to start streamlines from these points. The problem is that the Mask Points filter seems to not to have such option. I tried all combinations of randomizing in this filter but the problem persist. My mesh is unstructured tetra with inflation