Re: [Paraview] Maintain triangulation of slive from vtk to numpy

2017-03-07 Thread Gallagher, Timothy P
Kyle, Once you get a slice, you can extract the underlying vtkUnstructuredGrid and use that to extract the connectivity. For example: uns_grid = servermanager.Fetch(slice) npts = uns_grid.GetNumberOfCells() for n in xrange(npts): ptids = vtk.vtkIdList() uns_grid.GetCellPoints(0,

Re: [Paraview] Finding volume enclosed by a contour.

2017-03-04 Thread Gallagher, Timothy P
on. Tim From: Saideep Pavuluri Sent: Saturday, March 4, 2017 1:44 PM To: Gallagher, Timothy P; paraview@paraview.org Subject: RE: Finding volume enclosed by a contour. Hi Tim; Yes I do think so it is somehow related to the OpenFOAM reader. I just tried a tutorial case

Re: [Paraview] Finding volume enclosed by a contour.

2017-03-04 Thread Gallagher, Timothy P
d would do the integral of all the cell-averages). Sorry, I tried! Tim From: Saideep Pavuluri Sent: Saturday, March 4, 2017 1:00 PM To: Gallagher, Timothy P; paraview@paraview.org Subject: RE: Finding volume enclosed by a contour. Tim, I did try to vary from

Re: [Paraview] Finding volume enclosed by a contour.

2017-03-04 Thread Gallagher, Timothy P
rch 4, 2017 12:30 PM To: Gallagher, Timothy P; paraview@paraview.org Subject: RE: Finding volume enclosed by a contour. Thanks Tim; I could precisely extract the bubble using the threshold filter as you said (attached picture). Coming to the 2nd step: I applied the integrate variables filt

Re: [Paraview] Finding volume enclosed by a contour.

2017-03-04 Thread Gallagher, Timothy P
Your best bet would be to use the Threshold filter to extract the region where the scalar is greater (or less than) 0.5 and then use the IntegrateVariables filter on the Threshold. It's not entirely clear your exact pipeline, but it sounds like you are using the IntegrateVariables filter on th

Re: [Paraview] Cataylst pipeline not updating

2017-02-14 Thread Gallagher, Timothy P
uture reference, should I always just pass the time in? Or are the possibly other, unintended side effects from that as well to watch out for? Thanks again, Tim From: Andy Bauer Sent: Monday, February 13, 2017 11:30 AM To: Gallagher, Timothy P Cc: par

Re: [Paraview] Cataylst pipeline not updating

2017-02-13 Thread Gallagher, Timothy P
Contour filter that turns it off/disables it when the pipeline is built and there is no surface at that contour level? Thanks, Tim From: Andy Bauer Sent: Monday, February 13, 2017 10:56 AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Par

[Paraview] Cataylst pipeline not updating

2017-02-13 Thread Gallagher, Timothy P
Back with another question! I have a pipeline that has 1 input and 4 outputs. The simplest is a IntegrateVariables filter hooked up to the input. Another branch of the pipeline goes through several PythonCalculator filters and a CellDataToPointData filter and then arrives at the three outputs:

Re: [Paraview] Pipeline update with Catalyst

2017-02-07 Thread Gallagher, Timothy P
le). I know there's several things that could probably be done better in it, but it works for me at the moment. Thanks again! Tim From: Andy Bauer Sent: Tuesday, February 7, 2017 11:03 AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Parav

Re: [Paraview] Pipeline update with Catalyst

2017-02-07 Thread Gallagher, Timothy P
AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Pipeline update with Catalyst The pipeline is update mechanism is often called a lazy update scheme meaning only do the requested work and no more. If the UpdateProducers() method automatically updated all of the filters

Re: [Paraview] Pipeline update with Catalyst

2017-02-07 Thread Gallagher, Timothy P
ain, Tim From: Andy Bauer Sent: Tuesday, February 7, 2017 7:44 AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Pipeline update with Catalyst Hi Tim, The short answer is that you need to do coprocessor.Pipeline.flameArea.Upda

[Paraview] Pipeline update with Catalyst

2017-02-07 Thread Gallagher, Timothy P
Hello again, I am working on a pipeline using Catalyst that writes data only when features are detected. The idea is to have a 3D contour generated in the pipeline, and when it is big enough, start recording data. There is a long lead-up to when the features appear, and then they disappear rap

Re: [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh

2016-12-01 Thread Gallagher, Timothy P
ed onto the CFD grid. Does that seem like what you are trying to do? Tim From: tree...@gmail.com on behalf of Mike Tree Sent: Thursday, December 1, 2016 2:30 PM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Experimental Data Interp

Re: [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh

2016-11-07 Thread Gallagher, Timothy P
Mike, Your state file doesn't work without the data files that go along with it. That said, here is how you can do it: 1. Load your .dat file and use the TableToPoints filter to create points from the data table -- select your x, y, z appropriately 2. Load your CFD data file 3. Select your

Re: [Paraview] Non-blocking coprocessing

2016-10-25 Thread Gallagher, Timothy P
__ From: Andy Bauer Sent: Tuesday, October 25, 2016 4:43 PM To: Ufuk Utku Turuncoglu (BE) Cc: Gallagher, Timothy P; paraview@paraview.org Subject: Re: [Paraview] Non-blocking coprocessing Hi Tim, This may be better to do as an in transit set up. This way the processes would be inde

[Paraview] Loading XML configuration file from pvpython

2016-10-25 Thread Gallagher, Timothy P
Hello, I have a programmable filter that is wrapped into a custom plugin using an XML configuration file. If I use the GUI and go to the Manage Plugins and load it, everything is fine. However, I can't figure out how to load it inside pvpython. I am trying to do: servermanager.ProxyManager(

[Paraview] Non-blocking coprocessing

2016-10-24 Thread Gallagher, Timothy P
Hello again! I'm looking at using coprocessing for something that may take awhile to actually compute, so I would like to do it in a non-blocking fashion. Essentially I am going to be extracting data from the simulation into some numpy arrays (so once copied, the original data in the pipeline

Re: [Paraview] Function JOIN of XDMF in Paraview

2016-09-19 Thread Gallagher, Timothy P
The thing that jumps out at me is missing the Dimensions tag on the function itself. For instance, we create our grids as: grid.h5:/Domain_1/x grid.h5:/Domain_1/y grid.h5:/Domain_

Re: [Paraview] Function JOIN of XDMF in Paraview

2016-09-19 Thread Gallagher, Timothy P
ormat correct for the coordinates, and then look at the attribute. We also use the JOIN to create velocity vectors from individual arrays and it follows the same format as the grid coordinates. Tim ____ From: Gallagher, Timothy P Sent: Monday, September 19, 2016 10:41 PM

Re: [Paraview] Status of BoxLib AMR reader

2016-09-06 Thread Gallagher, Timothy P
, August 30, 2016 7:51 AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Thanks, Tim. I'll take a look in next few days. Utkarsh On Mon, Aug 29, 2016 at 4:12 PM, Gallagher, Timothy P mailto:tim.gallag...@gatech.edu>> wrote: I have

Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
link against the library, I will fix it to do it properly once everything else works! Tim From: ParaView on behalf of Gallagher, Timothy P Sent: Monday, August 29, 2016 12:41 PM To: Utkarsh Ayachit Cc: paraview@paraview.org Subject: Re: [Paraview] Status of B

Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
ere documentation or suggestions on debugging paraview? Is there a way to get more verbose output on why it isn't able to create the reader? Thanks again, Tim From: Utkarsh Ayachit Sent: Monday, August 29, 2016 8:46 AM To: Gallagher, Timothy P Cc: paraview

Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
the way. Tim From: Utkarsh Ayachit Sent: Monday, August 29, 2016 12:17 PM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Status of BoxLib AMR reader Tim, It doesn't know what the class is. Multiple things could have gone wrong:

Re: [Paraview] Status of BoxLib AMR reader

2016-08-26 Thread Gallagher, Timothy P
tions on what I missed? I added a section in the Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough I guess. Thanks, Tim From: ParaView on behalf of Gallagher, Timothy P Sent: Friday, August 26, 2016 11:53 AM To: Utkarsh

Re: [Paraview] Status of BoxLib AMR reader

2016-08-26 Thread Gallagher, Timothy P
de it: http://www.paraview.org/Wiki/VisIt_Database_Bridge I have a dataset for you, I will send it off-list. Thanks, Tim From: Utkarsh Ayachit Sent: Friday, August 26, 2016 8:35 AM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Stat

[Paraview] Status of BoxLib AMR reader

2016-08-25 Thread Gallagher, Timothy P
Hi, Our code is moving away from traditional structured grids towards an AMR capability using BoxLib. That means, unfortunately, that all of the development we have done to make our code Paraview and CoProcessing friendly is not usable with the BoxLib file format. I have seen some informatio

Re: [Paraview] Memory leak with Catalyst

2016-05-23 Thread Gallagher, Timothy P
I am using the multiblock format, so I am definitely interested in the solution. Hopefully Utkarsh sees this and can chime in. Thanks! Tim From: Burlen Loring Sent: Monday, May 23, 2016 3:30 PM To: Gallagher, Timothy P; Andy Bauer Cc: paraview@paraview.org

Re: [Paraview] Memory leak with Catalyst

2016-05-23 Thread Gallagher, Timothy P
u are hitting the same. On 5/20/2016 4:36 PM, Gallagher, Timothy P wrote: Well... not going so well. If I run a small simulation with massif and the Release build of paraview, I don't see any growing memory in time. I also get my VTK files and images. If I run the same simulation linked

Re: [Paraview] capability of ParaView, Catalyst in distributed computing environment ...

2016-05-22 Thread Gallagher, Timothy P
Sent: Sunday, May 22, 2016 7:59 AM To: Andy Bauer Cc: Ufuk Utku Turuncoglu; Gallagher, Timothy P; paraview@paraview.org Subject: Re: [Paraview] capability of ParaView, Catalyst in distributed computing environment ... Thanks for the information. Currently, i am working on two component case an

Re: [Paraview] Memory leak with Catalyst

2016-05-20 Thread Gallagher, Timothy P
Thanks for the help, Tim From: ParaView on behalf of Gallagher, Timothy P Sent: Friday, May 20, 2016 4:17 PM To: Burlen Loring; Andy Bauer Cc: paraview@paraview.org Subject: Re: [Paraview] Memory leak with Catalyst Thanks for the advice Burlen -- I haven'

Re: [Paraview] Memory leak with Catalyst

2016-05-20 Thread Gallagher, Timothy P
7;t work! Tim From: Burlen Loring Sent: Friday, May 20, 2016 3:46 PM To: Gallagher, Timothy P; Andy Bauer Cc: paraview@paraview.org Subject: Re: [Paraview] Memory leak with Catalyst VTK_DEBUG_LEAKS, although will catch some serious errors, will not catch all kinds of leaks. For example you

Re: [Paraview] Memory leak with Catalyst

2016-05-20 Thread Gallagher, Timothy P
PM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Memory leak with Catalyst Hi Tim, If you build Catalyst with VTK_DEBUG_LEAKS enabled it is pretty good at finding VTK objects that aren't deleted properly. You should be able to run this with a small amount o

[Paraview] Memory leak with Catalyst

2016-05-20 Thread Gallagher, Timothy P
Hi, One of our users is running a very big simulation and writing out images of two slices (two different views) every 1000 iterations and writing out the data for the two slices (two different data writers) as VTK files every 5000 iterations. It is using Paraview 4.4. After 21000 iterations

[Paraview] Spanwise averaging onto a slice

2016-05-18 Thread Gallagher, Timothy P
I'm fairly sure this has been discussed somewhere before, but my search engine skills are failing me right now. I would like to take the spanwise average of a 3D dataset to create a 2D plane of the averaged data. In my case, things are (relatively) friendly -- it's a channel with a uniform, st

Re: [Paraview] capability of ParaView, Catalyst in distributed computing environment ...

2016-05-18 Thread Gallagher, Timothy P
I'm not sure if this is exactly what the original user is referring to, but it is possible to have two separate codes communicate using MPI through the dynamic processes in MPI-2. Essentially, one program starts up on N processors and begins running and gets an MPI_COMM_WORLD. It then spawns ano

Re: [Paraview] Linking to Catalyst

2016-05-09 Thread Gallagher, Timothy P
__ From: Andy Bauer Sent: Monday, May 9, 2016 10:41 PM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Linking to Catalyst Hi Tim, I assume that writing out a data set works on other machines, correct? Can you try the gridwriter.py script at https://gitlab.kitwa

Re: [Paraview] Linking to Catalyst

2016-05-09 Thread Gallagher, Timothy P
7;' Any ideas why it does that? Or is there a way (and downfall) to just let it add attributes without manually calling add_attribute() each time? Tim ____________ From: ParaView on behalf of Gallagher, Timothy P Sent: Monday, May 9, 2016 5:13 PM To: Andy Bauer

Re: [Paraview] Linking to Catalyst

2016-05-09 Thread Gallagher, Timothy P
omething really obvious! Tim From: Andy Bauer Sent: Monday, May 9, 2016 4:43 PM To: Gallagher, Timothy P Cc: paraview@paraview.org Subject: Re: [Paraview] Linking to Catalyst Hi Tim, Is the PV directory you're pointing to a build directory or an install directory? If it

Re: [Paraview] Linking to Catalyst

2016-05-09 Thread Gallagher, Timothy P
Yeah -- okay, pointing it to the build directory instead of the install made sure everything was found. One step closer to getting this working on Cray. Thanks, Tim From: Andy Bauer Sent: Monday, May 9, 2016 4:54 PM To: Gallagher, Timothy P Cc: paraview

[Paraview] Linking to Catalyst

2016-05-09 Thread Gallagher, Timothy P
Hello again, I'm (finally) trying to get Catalyst to successfully link to our application code on Excalibur (Cray, ARL HPC). I was able to build paraview and all of the dependencies thanks to help I've gotten on the list here in the past. However, when I try to link my code to it (and this is

Re: [Paraview] Surface LIC plugin

2016-04-04 Thread Gallagher, Timothy P
Alan, If you are working on your own data, the LIC plugin expects velocity to be point centered rather than cell centered. If you do it on cell centered data, you'll get just uniform streaks without anything interesting happening. Tim From: ParaView on beha