Re: [Paraview] Catalyst and In situ Visualization

2015-10-16 Thread Andy Bauer
Hi Amit, That is essentially correct. If you know ahead of time what images you want, you can set generate a Python script in the GUI that will output those images during your Catalyst enabled simulation run. Information on connecting the GUI to a Catalyst enabled simulation run is available at

Re: [Paraview] [EXT] Trusses to Tubes

2015-10-16 Thread David Thompson
Hi Dennis, > ... running extract surface and then tube is working very well for me. I > guess I never thought about a "line" element having a surface but apparently > that's a line! Yes, the "Extract Surface" filter's name is a little misleading. What it really does is convert a dataset from

Re: [Paraview] [EXT] Trusses to Tubes

2015-10-16 Thread Dennis Conklin
David, Thanks for the insight! Just fyi, Paraview seems a little unstable if I have too many of these tubed at a time - My blocks are about 200,000 trusses each and it's only safe to process one at a time. I know there were some surface issues with v4.4 so I need to try it on an earlier

[Paraview] numpy build issues

2015-10-16 Thread Scott, W Alan
I am having issues getting ParaView, remote cluster, working with my own build of Python and numpy. Obviously, I don't have root on these clusters, and I want to use my own Python. (Clusters often have 10 year old python.) >From the following, it appears I am missing a libgfortran.so.1. Any

Re: [Paraview] [EXTERNAL] Re: Cell volume

2015-10-16 Thread Scott, W Alan
Thanks! Both Cory and Utkarsh's solution works well. I will pass this on to my user. Alan -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, October 16, 2015 8:27 AM To: Cory Quammen Cc: Scott, W Alan; paraview@paraview.org Subject: [EXTERNAL]

Re: [Paraview] numpy build issues

2015-10-16 Thread Ben Boeckel
On Fri, Oct 16, 2015 at 18:44:40 +, Scott, W Alan wrote: > I am having issues getting ParaView, remote cluster, working with my > own build of Python and numpy. Obviously, I don't have root on these > clusters, and I want to use my own Python. (Clusters often have 10 > year old python.) > >

Re: [Paraview] [EXTERNAL] Re: numpy build issues

2015-10-16 Thread Scott, W Alan
Ah, thanks Ben!! Um ... These are clusters... Nothing surprises me... :-) Alan -Original Message- From: Ben Boeckel [mailto:ben.boec...@kitware.com] Sent: Friday, October 16, 2015 1:00 PM To: Scott, W Alan Cc: paraview@paraview.org Subject: [EXTERNAL] Re: [Paraview] numpy build issues

Re: [Paraview] VTK Data File Scalars Analysis

2015-10-16 Thread Cory Quammen
Guillermo, vtkSplitColumnComponents assigns the names based on a guess that 3-component arrays are vectors with X, Y, Z components and 6-component arrays represent symmetric 3x3 matrices, i.e. XX XY XZ XY YY YZ XZ YZ ZZ See ParaView/ParaViewCore/VTKExtensions/Core/vtkPVPostFilter.cxx, lines

Re: [Paraview] How I can define PYTHONPATH for Paraview/Tools/Python Shell

2015-10-16 Thread Cory Quammen
On Fri, Oct 16, 2015 at 4:20 PM, Adrian Martinez Vargas < adriangeol...@yahoo.es> wrote: > Hi, > > I have try unsuccessfully to load modules from an existing Anaconda > distribution, hosted in /home/user/anaconda, from the Python Shell existing > in Paraview/Tools. I'm using Paraview 4.4 in

[Paraview] How I can define PYTHONPATH for Paraview/Tools/Python Shell

2015-10-16 Thread Adrian Martinez Vargas
Hi, I have try unsuccessfully to load modules from an existing Anaconda distribution, hosted in /home/user/anaconda, from the Python Shell existing in Paraview/Tools. I'm using Paraview 4.4 in Ubuntu15. Using the command (in a system shell) $export PYTHONPATH =

Re: [Paraview] [EXT] Re: Trusses to Tubes

2015-10-16 Thread Dennis Conklin
David, Thanks for those suggestions - I actually have only a single diameter in each block due to having only a single set of material properties per block.So running extract surface and then tube is working very well for me. I guess I never thought about a "line" element having a surface

Re: [Paraview] Cannot import ColorMap

2015-10-16 Thread Utkarsh Ayachit
Ruggiero, Try changing the tag to . Utkarsh On Thu, Oct 15, 2015 at 8:09 PM, Ruggiero Guida wrote: > Hi, > > I am trying to import the following colormap into Paraview 4.4 (binary > version). > > > > > > > > > > > > > > > > I keep receiving the

Re: [Paraview] Cell volume

2015-10-16 Thread Cory Quammen
Hi Alan, This script for the Programmable Filter should compute cell volumes and add them as a new 'volume' cell array (I tested it on a vtkUnstructuredGrid data set). from vtk.numpy_interface import algorithms as algs volume = algs.volume(inputs[0]) output.CellData.append(volume, 'volume')

[Paraview] Python Scripting: Managing the Histogram Outputs

2015-10-16 Thread mohammadreza yaghoobi
Dear all, I'm trying to handle the output of Histogram filter in my python script. First I use extract selection to select a specified geometry of a VTK file. Then, I apply the Histogram Filter. Now, I want to write the outputs of Histogram in the external text file. The outputs of

Re: [Paraview] Cell volume

2015-10-16 Thread Utkarsh Ayachit
You can also use the "Python Calculator" with expression "volume(inputs[0])" and the "Array Association" set to "Cell Data". Utkarsh On Fri, Oct 16, 2015 at 10:00 AM, Cory Quammen wrote: > Hi Alan, > > This script for the Programmable Filter should compute cell volumes

Re: [Paraview] [Paraview-developers] Locale settings in PV

2015-10-16 Thread Cory Quammen
Hi Gerald, It looks like this isn't necessarily a quick change. I have filed a bug report here: http://www.paraview.org/Bug/view.php?id=15786 Thanks, Cory On Fri, Oct 16, 2015 at 10:31 AM, Lodron, Gerald wrote: > Hi > > I searched "DoubleValidator" in complete PV

Re: [Paraview] ExtractSelection with ids: scripting example

2015-10-16 Thread Cory Quammen
Livia, The IDs list passed to IDSelectionSource takes processorID and point/cell ID pairs. Your IDs was set to [0, 1], which means "select point 1 from processor 0". To select points 0, 1, and 2, for example, set your IDs setting to [0, 0, 0, 1, 0, 2]. See the data descriptor for IDs at [1].

Re: [Paraview] ExtractSelection with ids: scripting example

2015-10-16 Thread Cory Quammen
No problem. Cory On Fri, Oct 16, 2015 at 10:25 AM, wrote: > Thanks, > > I had misinterpreted the description (first I tried [(0,0),(0,1)] but it > was giving error). Now it’s all clear, thank you very much! > > Livia > > > > > > *From:* Cory Quammen

Re: [Paraview] [Paraview-developers] Locale settings in PV

2015-10-16 Thread Cory Quammen
Hi Gerald, Thanks for your report and fix. It looks like pqDoubleEdit is used only in the PointSprite plugin. Are you seeing this problem only in the PointSprite plugin, or do you see problems more widely in ParaView? Thanks, Cory On Thu, Oct 15, 2015 at 5:46 AM, Lodron, Gerald

Re: [Paraview] [Paraview-developers] Locale settings in PV

2015-10-16 Thread Lodron, Gerald
Hi I searched "DoubleValidator" in complete PV source and also found same usage in other classes.I am currently not in office but you can easily search with Visual studio or other programms. Or wait till end next week. I teseted the Qlocator::setDefault function in a constructor of a plugin of

Re: [Paraview] Python Scripting: Managing the Histogram Outputs

2015-10-16 Thread Utkarsh Ayachit
Do you intend to write the data out as CSV? You can simply use the CSVWriter as follows: histogram1 = SaveData('/tmp/sample.csv', proxy=histogram1) Utkarsh On Fri, Oct 16, 2015 at 11:23 AM, mohammadreza yaghoobi wrote: > Dear all, > > I'm trying

[Paraview] VTK Data File Scalars Analysis

2015-10-16 Thread Guillermo Giraldo
Hi, I'd like to know how Paraview analyses scalar data from a VTK data file. Specially, how it extracts the components of a scalar and assigns names for color plots. For example if numComp is 3 they are named "Magnitude, X, Y and Z2, but if numComp is 6 they are named "Magnitude, XX, YY; ZZ, XY,

[Paraview] Catalyst and In situ Visualization

2015-10-16 Thread Amit Goel
Dear Paraview Users and Gurus I am new to paraview and attempting the following task.. please let me know if my understanding is correct. I have a simulation that runs and spits out H5Part file, having location of say 1000 particles with locations that I can see with paraview. If I use