Re: [Paraview] .cube files in pvbatch

2015-01-30 Thread Favre Jean
try this: bk2_cube = GaussianCubeReader( guiName="bk2.cube", FileName='/sandbox/bk2.cube' ) contour1 = Contour(Input=servermanager.OutputPort(bk2_cube, 1)) - Jean/CSCS ___ Powered by www.kitware.com Visit other Kitware open-source proj

[Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Eleonora Piersanti
Hi to everyone!I computed with finite elements a 2D velocity field. I plotted without any problem the velocity field with paraview. I would like to compute the gradient. I tried Filters->Gradient of Unstructured Data Set but without succes.Can you help me?Thanks, Nora _

[Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Eleonora Piersanti
Hi to everyone!I computed with finite elements a 2D velocity field. I plotted without any problem the velocity field with paraview. I would like to compute the gradient. I tried Filters->Gradient of Unstructured Data Set but without succes.Can you help me?Thanks, Nora _

Re: [Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Andy Bauer
Your description is a bit vague to diagnose the issue. Can you share your data set? I was able to use the Wavelet source, use the Slice filter and then use the Gradient of Unstructured Data Set without any issues. Can you see if that works for you? Regards, Andy On Fri, Jan 30, 2015 at 5:26 AM, E

Re: [Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Eleonora Piersanti
Thank you for the answer.I think that the dimension of the .vtk file was too big. You can download the .vtk file from: https://www.dropbox.com/s/o1wjo2brsaeu5ag/stability_realEigU_up0.vtk.tar.gz?dl=0 In which sense should I use the Slice filter? Sorry but I am quite new with paraview.Kind regar

Re: [Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Andy Bauer
It looks like the Gradient of Unstructured Data Set filter isn't working properly with quadratic triangles. Try using the Extract Surface filter before computing gradients to convert them into linear triangles. If you want to get more familiar with using ParaView, the ParaView tutorial at http://w

Re: [Paraview] Fwd: Visualization in ParaView/VisIt

2015-01-30 Thread Martin Huarte Espinosa
Thanks Armin. Martin. On Thu, Jan 29, 2015 at 9:43 AM, Armin Wehrfritz wrote: > I just stumbled across this interesting blog: > http://berkgeveci.github.io/2015/01/08/h5py-writer-reader/ > > If you have some kind of python knowledge, especially the "HDF5Reader" > part should be very interesting

Re: [Paraview] Average data from multiple nodes

2015-01-30 Thread Moreland, Kenneth
Alan, Try selecting the points you want and then plot the selection over time. I think the current version of plot selection over time creates a series for the average value of the selection. -Ken Sent from my iPad so blame autocorrect. On Jan 23, 2015, at 1:45 PM, Scott, W Alan mailto:wasc.

Re: [Paraview] .cube files in pvbatch

2015-01-30 Thread Insley, Joseph A.
Success! Thanks, Jean. joe On Jan 30, 2015, at 2:18 AM, Favre Jean wrote: > try this: > > bk2_cube = GaussianCubeReader( guiName="bk2.cube", > FileName='/sandbox/bk2.cube' ) > > contour1 = Contour(Input=servermanager.OutputPort(bk2_cube, 1)) > - > Jean/CSCS > ___

[Paraview] Memory use with Xdmf files

2015-01-30 Thread Michael Jackson
I have written an Xdmf file that uses the 3D CoRectMesh to display a montage of 54 gray scale images. They are laid out in a 9x6 fashion. Each Image is about 1292x968 pixels. We have run stitching algorithms on the images to find their correct coordinates in XYZ space so that they will form the mon

Re: [Paraview] Gradient of 2D velocity field with paraview

2015-01-30 Thread Eleonora Piersanti
Thank you so much! It seems to really work! :)Just out of curiosity, what Extract surface filter does? Since velocity is approximated with quadratic elements, do I loose accouracy using Extract surface filter?  Kind regards,Eleonora Il Venerdì 30 Gennaio 2015 11:48, Andy Bauer ha scritt

Re: [Paraview] Average data from multiple nodes

2015-01-30 Thread Scott, W Alan
Ken, I don't think that works. Try the following: can.exo. select a few dozen points. plot selection over time. apply. Notice that it only shows the first point. Select multiple points. (this now works). You never get an average. Alan From: Moreland, Kenneth Sent: Friday, January 30, 2015

Re: [Paraview] ParaView Seg Faults when running Animation in a Programmable Filter

2015-01-30 Thread Omid Mahabadi
After a lot of debugging, it turns out the issue is with the SetCells function of the vtk unstructured grid. Below are the bits of my Programmable Filter code that are relevant to the seg fault: output = self.GetOutputDataObject(0) cellArray = vtk.vtkCellArray() cellTypes = []

Re: [Paraview] Average data from multiple nodes

2015-01-30 Thread Moreland, Kenneth
Huh. I'm thinking of the behavior described in bug 0014940. When you make a query selection, you get statistics like average. When you make a surface selection (which is essentially an id selection) you get that first point. When you make a frustum selection, you get an error. I would report th

[Paraview] Algorithm used for vorticity calculation

2015-01-30 Thread Jean Hertzberg
Can anybody tell me exactly what algorithm is used to calculate vorticity in the Compute Derivatives filter? Is it a first or second order central difference scheme for gradients, or does it use the circulation method? Thanks. Jean Hertzberg Dept. Mechanical Engineering University of Colorado, B

Re: [Paraview] particle surface based on position

2015-01-30 Thread timcfagan .
I can generate surfaces but it seems none of them are based on particle positions. Anyone know if this is part of paraview functionality? On Wed, Jan 28, 2015 at 3:55 PM, timcfagan . wrote: > Is there a way for paraview to generate a surface based on point positions? > > Viewing particle data as