Re: [Paraview] [EXTERNAL] Decode a vtu file

2017-01-13 Thread Andi Hartarto
Dear Kenneth, Thank you for helping but i didn't mean understanding the text document if that is what you mean. I mean I want to access the appended data in base 64. Maybe in command module somehow (code to show the data) data .. Thank you, Andi On 14 January 2017 at 03:49, Moreland, Kenneth

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread David Thompson
Hi Andy, >> ... a basic assumption of the Exodus file format: each rank is assigned a >> subset of the cells and nodes in the simulation domain, since otherwise >> there is no state to store. ... >> > My worry here is that with the processes that have data possibly changing > between time

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Andy Bauer
On Fri, Jan 13, 2017 at 4:13 PM, David Thompson wrote: > Hi all, > > > It's looking like there could be a decent amount of hacking in the > ExodusII code to get the writer to work properly for this (as well as the > reader to read it back in without issues). The main

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Moreland, Kenneth
Hmm. That’s disappointing. Although I’ve heard of files missing fields on element blocks because no blocks with that field is local, I guess having no data on a process is not something simulations typically experience. I agree with modifying the reader then. I would not mess around with the

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread David Thompson
Hi all, > It's looking like there could be a decent amount of hacking in the ExodusII > code to get the writer to work properly for this (as well as the reader to > read it back in without issues). The main issue appears to be that NetCDF > doesn't allow creating a dimension of 0 length/size.

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Andy Bauer
It's looking like there could be a decent amount of hacking in the ExodusII code to get the writer to work properly for this (as well as the reader to read it back in without issues). The main issue appears to be that NetCDF doesn't allow creating a dimension of 0 length/size. Thus the stuff in

[Paraview] vtkSocketCommunicator (0x9be6300): Could not receive tag. 1

2017-01-13 Thread Mehrdad Yousefi
Hi, I compiled ParaView 5.2 on our cluster from source and also have a binary package of ParaView 5.2 on my local machine. I can connect server/client successfully but when I try to open a file I get this error: [yousefi@node2010 ~]$ mpirun -np 24 ./ParaView-build/bin/pvserver -display

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Andy Bauer
Hi Ken, Thanks for the input. There is an explicit check in the writer to see if there are any points before writing out point data. I took that check out and am hitting a NetCDF error that the "num_nodes" dimension isn't specified. It will probably take a bit of investigating to fix this but at

Re: [Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Moreland, Kenneth
Andy, That sounds like a bug in our Exodus writer to me. I’m not positive, but I’m pretty sure that you can specify in Exodus point and cell arrays if no grid points or cells exist. The writer is probably making a shortcut and skipping that if there is no actual data. -Ken From: ParaView

[Paraview] exodusII reader & writer in parallel

2017-01-13 Thread Andy Bauer
Hi, I'm trying out the ExodusII writer in parallel and had some questions about how it should work in general when there isn't any data on process 0. Currently what happens in ParaView is that a file for each process is written out but the file corresponding to process 0 doesn't have any grid

Re: [Paraview] ParaView 5.1.2 is not recording changes to the LUT position when tracing is one with all options (UNCLASSIFIED)

2017-01-13 Thread Utkarsh Ayachit
Joe, That's indeed a bug. I've reported an issue here: https://gitlab.kitware.com/paraview/paraview/issues/17113 Utkarsh On Thu, Jan 12, 2017 at 11:56 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) wrote: > CLASSIFICATION: UNCLASSIFIED > > Hello, > >

Re: [Paraview] [EXTERNAL] Decode a vtu file

2017-01-13 Thread Moreland, Kenneth
Documentation for vtu file format (and several other standard VTK formats) is here: http://www.vtk.org/VTK/img/file-formats.pdf -Ken From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Andi Hartarto Sent: Thursday, January 12, 2017 7:54 PM To: paraview@paraview.org Subject:

Re: [Paraview] Programmable filter - input data and output data

2017-01-13 Thread Crepier, Pierre
Cory, Thanks for your quick answer and clarifying the context. So if I try to reproduce the behaviour of the clip filter, I would do: import vtk input = self.GetInputDataObject(0, 0) plane = vtk.vtkPlane() plane.SetOrigin(-4.0, 0.0, 0.0) plane.SetNormal(1.0, 0.0, 0.0) xMin =

Re: [Paraview] Embedding the Visualizer app in the browser within an iframe

2017-01-13 Thread Claude
Hi Debopam, Thanks for the added details on the gist and congratulations for setting up the server, you are almost there. For Visualizer to be able to load a file, it will need the argument --load-file (it seems to have disappeared in your config launcher). The option --data specifies the

[Paraview] ParaView 5.1.2 is not recording changes to the LUT position when tracing is one with all options (UNCLASSIFIED)

2017-01-13 Thread Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED Hello, ParaView 5.1.2 is not recording changes to the LUT Scalar Bar position and size when tracing is one with all options. And that even when I manually set the positions of the LUT in the script file run by pvpython, Paraview will seem to pull the settings for

Re: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered

2017-01-13 Thread Lodron, Gerald
Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: _ Here the mhd header which I usually prefer, the “DimSize” is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False

Re: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered

2017-01-13 Thread Joachim Pouderoux
Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific

Re: [Paraview] Embedding the Visualizer app in the browser within an iframe

2017-01-13 Thread Debopam Ghoshal
Hi Claude, I followed your instructions with some modifications since I was having problems. Finally, I was able to configure the Apache front end with the ParaView Web launcher, and now I can view the index page of the visualizer. However, when I choose any of the sample files, they are not

[Paraview] Decode a vtu file

2017-01-13 Thread Andi Hartarto
Hello all, Can I please have guidance/help in decoding a vtu file? My file is a (data long list) The file can be found in this link:

Re: [Paraview] [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered

2017-01-13 Thread Joachim Pouderoux
OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS *

[Paraview] using tree widgets

2017-01-13 Thread Mark Olesen
I'm currently using an ArraySelectionDomain to select items from (a very long) list of mesh-parts (string names) as per http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_file It would be quite helpful if I could structure my list and use a

Re: [Paraview] upgrading reader module/plugin

2017-01-13 Thread Mark Olesen
Hi Utkarsh, With many thanks to your hints, I also dug around to see what command_button was doing and this corresponds nicely what I needed. I'll put it here for anyone browsing the archives. Cheers /mark void fireCommand(vtkSMProperty* prop) { vtkSMProxy* pxy = this->proxy();

Re: [Paraview] Embedding the Visualizer app in the browser within an iframe

2017-01-13 Thread Debopam Ghoshal
Hi Claude Thank you so much for your detailed explanation. The gist has been very useful. I am working on it at present, and is in the process of smoothening out a few creases because of the operating system I am using (Windows 10). Will let you know once I am able to use paraview web properly.

[Paraview] Migration plugin from pqNamedObjectPanel to pqPropertyWidget

2017-01-13 Thread Lodron, Gerald
Hi I am migrating my plugins from pqNamedObjectPanel to new pqPropertyWidget. I have 2 unsolved taskes in one of my more complicated filters left which I cannot figure out how to solve: First Problem: I have a small getterfunction with a text of my plugin filter which includes some