Re: [Paraview] Running Paraview on an HPC machine with multiple processes?

2017-07-12 Thread Andy Smith
t helps I'm on > Paraview 4.3.1 64-bit. Sorry I am pretty new to all of this stuff. Slowly > getting the hang of things. > > > Jake > > On Wed, Jul 12, 2017 at 1:48 PM, Andy Smith <agsmith...@gmail.com> wrote: > >> Jake, >> >> If I start up the remote

Re: [Paraview] Running Paraview on an HPC machine with multiple processes?

2017-07-12 Thread Andy Smith
Jake, If I start up the remote server in parallel using something like: mpiexec.hydra -n 8 pvserver -sp=1 and then connect from my workstation I am able to read an XDMF file like the one you posted using ParaView 5.4.0. Can you post how you are starting your server and the exact error that

[Paraview] XDMF Multiblock limit on number of blocks shown in Hierarchy

2017-03-08 Thread Andy Smith
We use XDMF to output multiple unstructured blocks from our CFD code within a Spatial Collection. If 998 or fewer blocks are output in the collection all of the individual blocks are displayed in the Blocks and Hierarchy tabs in the main Properties tab when loading the grid. This allows the user

Re: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem...

2017-02-09 Thread Andy Smith
longer hangs with these changes. If you > have a chance to test it on your real data or other cases that would help > me feel more confident about the change. > > Thanks > Ken > > > > > On Wed, Feb 8, 2017 at 9:21 AM, Andy Smith <agsmith...@gmail.com> wrote: >

Re: [Paraview] Best way to make a code's output Paraview-ready

2017-02-08 Thread Andy Smith
I will second that recommendation. I've used XDMF in this way (writing the HDF5 and XML parts manually) with multiple CFD codes. You may also want to checkout the XDMF API as I'm sure they've made improvements since I started using XDMF 6 or 7 years ago. -Andy On Wed, Feb 8, 2017 at 7:52 AM,

Re: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem...

2017-02-08 Thread Andy Smith
at 8:32 AM, Ken Martin <ken.mar...@kitware.com> wrote: > Thanks Andy, just to make sure I understand the issue. Is the case that > one processor has no data, or is it that it has data, but it is outside the > current view? > > Thanks > Ken > > On Thu, Feb 2, 2017 at 5

Re: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem...

2017-02-02 Thread Andy Smith
itware.com/vtk/vtk/merge_requests/2419 > > Hopefully it will test out OK and get merged into VTK and then merged into > ParaView. > > On Mon, Dec 12, 2016 at 11:38 AM, Andy Smith <agsmith...@gmail.com> wrote: > >> Ken, >> >> You are correct in your assumption abou

Re: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem...

2016-12-12 Thread Andy Smith
Ken, You are correct in your assumption about my dataset; it is multiblock unstructured data. Adding a MergeBlocks filter to my slice does improve the 5.2.0 with OpenGL2 significantly. With that change the performance of 5.2.0 with OpenGL2 is on the same order of magnitude as 5.2.0 with OpenGL

Re: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem...

2016-12-09 Thread Andy Smith
Stefan, I am testing out 5.2.0 with offscreen rendering and have observed similar results. My version built with OpenGL2 is slightly faster than the OpenGL version for non surface LIC operations, but massively slower when using Surface LIC. Comparing back to version 4.4.0, version 5.2.0 with

Re: [Paraview] Extract/plot data at a specified set of points

2016-10-19 Thread Andy Smith
Niccolò, 1. Load your CFD results as normal. 2. Load your x,y,z dataset with the appropriate settings, demiliter, header, etc. 3. Use the Table to Points filter on the x,y,z dataset, again selecting the correct fields for the x, y and z data. 4. Select your CFD dataset and choose the Resample

Re: [Paraview] CGNSSeriesReader - python - cell arrays

2016-09-30 Thread Andy Smith
Would something like this work for you? from __future__ import print_function from paraview.simple import * cgns = CGNSSeriesReader(FileNames=['SC10_steady.cgns']) availableCellArrays = cgns.GetPropertyValue('CellArrayInfo')[::2] print(availableCellArrays) On Fri, Sep 30, 2016 at 2:57 AM,

Re: [Paraview] X and Y bounds in python

2016-08-30 Thread Andy Smith
Miguel, Can you try: bounds = myObject.GetDataInformation().GetBounds() where bounds is an array containing [xmin, xmax, ymin, ymax, zmin, zmax] -Andy On Mon, Aug 29, 2016 at 6:44 PM, Salazar De Troya, Miguel < salazardet...@llnl.gov> wrote: > Hello > > I’ve got an object opened that

[Paraview] Surface LIC contrast enhancement invalid range

2016-08-04 Thread Andy Smith
A colleague of mine is having an issue using Surface LIC in ParaView 4.4: I am having issues while running a Python script in batch mode on a server with software rendering. While rendering a surface LIC image I receive the following error message: ERROR: In

Re: [Paraview] Colormap loading (xml)

2016-06-15 Thread Andy Smith
Can you try enclosing your map with ColorMaps tags, i.e., ... -Andy On Wed, Jun 15, 2016 at 9:34 AM, Lester Anderson wrote: > Hello, > > I have a couple xml colormaps I want to load as presets but the import > option does

[Paraview] Reading json colormap files in Python and exporting color data

2016-04-26 Thread Andy Smith
I have two questions: 1. I am trying to load colormaps in a Python script so that I have access to the lookup table later in the script. I have successfully used the LoadLookupTable function with xml colormap files but this does not seem to work on json files. I get a parsing error: ERROR:

[Paraview] Call Python function with parallel reader without pvbatch directly

2016-01-26 Thread Andy Smith
I'd like to use a driver Python script to call a Python function within a module that uses ParaView to read a file in parallel and I was wondering the best way to go about this. A little background: The file structure is something like this: mypythonpackage/ scripts/ my_driver_script.py