Re: [Paraview] Subdomain

2017-09-12 Thread Muhammad Kashif Saeed
Can I make Programmable clip filter which can clip 200 or more sections of
domain separately?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Compute quartile from cell data

2017-09-12 Thread Joachim Pouderoux
Hi,

You are right about this limitation. It happens because originally this
feature has been developed to analyze series. However, it could be quite
easily ported to any other dataset. Maybe you could add an entry on the
ParaView bug tracker about?

Best,
Joachim

Le 30 août 2017 16:14, "Cornelis Bockemühl" 
a écrit :

> Sorry, I even stated it wrong: "compute quartile" works ONLY on row (i.e.
> table) data for me! Which really does not make a lot of sense for me (!??)
>
> 2017-08-30 22:12 GMT+02:00 Cornelis Bockemühl <
> cornelis.bockemu...@gmail.com>:
>
>> If I use a "compute quartile" filter on a data object that is an
>> unstructured grid with only cell data I do not seem to see any output data:
>> Is this a bug or a feature?
>>
>> If I convert to point data first I can see something, or if I load the
>> same data just as a plain table it works as well, but it does not work on
>> the cell data.
>>
>> One possible logic not to allow this function for cell data could be the
>> fact that cells can have very different size, so any statistics that works
>> on number of cells might not seem appropriate. However, I can easily
>> generate a histogram...
>>
>> --
>> Cornelis Bockemühl
>> Basel, Schweiz
>>
>
>
>
> --
> Cornelis Bockemühl
> Basel, Schweiz
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Using 64 or more cores on a single node when running client/server

2017-09-12 Thread Scott, W Alan
I just tried, and was stopped (I believe) by asking for more MPI ranks than 
cores.  I got an MPI error.  pvserver never even started.

Alan

> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
> Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
> Sent: Thursday, September 7, 2017 2:05 PM
> To: paraview@paraview.org
> Subject: [EXTERNAL] [Paraview] Using 64 or more cores on a single node
> when running client/server
> 
> Hello,
> 
> Has anyone managed to use ParaView 5.4.x with more than 64 core on a
> single node when running in client/server moder.
> 
> Thanks,
> 
> Joe
> 
> ~~~
> Joseph G. Hennessey Ph.D., SAIC
> Team SAIC
> Army Research Lab
> Email:  joseph.g.hennessey2@mail.mil
> 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Please vote for ParaView in the 2017 HPC Reader's choice awards!

2017-09-12 Thread David E DeMarle
We would like to thank everyone who has used and contributed to version 5.4
of ParaView this year.

To acknowledge the growth of ParaView, please join us in nominating the
fruit of our combined efforts for a 2017 HPCwire Readers’ Award in the
“Best HPC Visualization Product or Technology” category.

Nominations can be made at
https://www.hpcwire.com/2017-annual-hpcwire-readers-choice-awards/.

Thank you for your support!

For reference, the best of the new features in 5.4 are described here:
https://blog.kitware.com/paraview-5-4-0-release-notes/

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Select points based on coordinates

2017-09-12 Thread Scott, W Alan
This is on the todo list.

https://gitlab.kitware.com/paraview/paraview/issues/15530

Although I don’t like the filter, use the probe filter.  Turn Auto Apply on.  
Make sure that the probe filter is selected.  Type in your coordinates, or use 
the P key.

Alan



From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Yifei Ma
Sent: Monday, September 11, 2017 2:12 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Select points based on coordinates

Hi Paraviewers,

I am trying to extract points based on the coordinates. I tried to use "Find 
Data" but with no success. I am wondering how can I obtain such a goal with 
"Find Data"? Or is there a workaround?

FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10.

Thanks,
Yifei
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Select points based on coordinates

2017-09-12 Thread Yifei Ma
Hello Andrew,

Thanks for your response. I tried the Threshold filter for my data
(attached behind), I still cannot figure out how to choose points using
coordinates. In the Properties tab of Threshold filter, I can only use
diameter to specify the data range. Coordinate is not an option in the drop
down list (see picture below).

[image: Inline image 1]

Could you explain more about how to use coordinates of the points in the
threshold filter, please?

Thanks,
Yifei

On Tue, Sep 12, 2017 at 5:26 AM, Andrew  wrote:

> Hello.
> Possibly the Threshold filter is what you looking for (if you need to
> select a number of points in specified coordinates range). You can use 2-3
> filters in series to shape the region in 3 cartesian directions.
>
> 2017-09-11 23:12 GMT+03:00 Yifei Ma :
>
>> Hi Paraviewers,
>>
>> I am trying to extract points based on the coordinates. I tried to use
>> "Find Data" but with no success. I am wondering how can I obtain such a
>> goal with "Find Data"? Or is there a workaround?
>>
>> FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10.
>>
>> Thanks,
>> Yifei
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>


test_data.vtu
Description: Binary data
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Rendering problem with the Streamline Representation plugin

2017-09-12 Thread Wilhelm Lionel
Dear Paraviewers,


I found sevral rendering issues in the Streamline Representation plugin. In 
order the issue to be reproducible, I followed the "How to test ?" section on 
this page 
https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/.
 In order to see what I'm talking about, one can open Paraview (GUI) tools -> 
Python Shell -> run script -> PVstateSurfRepBug.py (I load the plugin in the 
script)


1. The streamlines appear in green as default color. If I try to set their 
color to white in the GUI it does not work (Gradient proxy -> Coloring -> edit 
color map). The user must first set the color as some other preset and then the 
GUI sets the DiffuseColor attribute to whatever the user choose.

2. In addition to the gradient filter, if a slice filter is attached to the 
wavelet source, even if the streamlines should be displayed (because the slice 
plane is behind the streamlines) they do always show. If the representation 
type of the slice is Point Gaussian, Surface or Surface with edges, they do not 
show but the other representation types work well

3. If I want to record an animation of the streamlines, the "Transparent 
Background" option leads to strange animation (with AVI format but not with 
OGG/Theora).


Despite these little bugs, I'd like to thank the developpers for this awsome 
plugin !! It realy helps to understand and interpret CFD results :)


Kindly,


Lionel Wilhelm
# state file generated using paraview version 5.4.1-RC4

# 
# setup views used in the visualization
# 

# Load the Streamlines Representation plugin
LoadDistributedPlugin("StreamLinesRepresentation", ns=globals())
Disconnect()
Connect()
 import the simple module from the paraview
from paraview.simple import *
 disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# Create a new 'Render View'
renderView1 = GetActiveViewOrCreate('RenderView')
renderView1.ViewSize = [924, 838]
renderView1.AxesGrid = 'GridAxes3DActor'
renderView1.CenterOfRotation = [0.0, 0.0, -1e-20]
renderView1.StereoType = 0
renderView1.CameraPosition = [0.0, 0.0, 66.92130429902464]
renderView1.CameraFocalPoint = [0.0, 0.0, -1e-20]
renderView1.CameraParallelScale = 17.320508075688775
renderView1.Background = [0.0, 0.0, 0.0]

# 
# setup the data processing pipelines
# 

# create a new 'Wavelet'
wavelet1 = Wavelet()

# create a new 'Gradient'
gradient1 = Gradient(Input=wavelet1)
gradient1.SelectInputScalars = ['POINTS', 'RTData']

# create a new 'Slice'
slice1 = Slice(Input=wavelet1)
slice1.SliceType = 'Plane'
slice1.SliceOffsetValues = [0.0]

# init the 'Plane' selected for 'SliceType'
slice1.SliceType.Normal = [0.0, 0.0, 1.0]

# 
# setup the visualization in view 'renderView1'
# 

# show data from gradient1
gradient1Display = Show(gradient1, renderView1)
# trace defaults for the display properties.
gradient1Display.Representation = 'Stream Lines'
gradient1Display.ColorArrayName = ['POINTS', '']
gradient1Display.OSPRayScaleArray = 'RTDataGradient'
gradient1Display.OSPRayScaleFunction = 'PiecewiseFunction'
gradient1Display.SelectOrientationVectors = 'None'
gradient1Display.ScaleFactor = 2.0
gradient1Display.SelectScaleArray = 'RTDataGradient'
gradient1Display.GlyphType = 'Arrow'
gradient1Display.GlyphTableIndexArray = 'RTDataGradient'
gradient1Display.DataAxesGrid = 'GridAxesRepresentation'
gradient1Display.PolarAxes = 'PolarAxesRepresentation'
gradient1Display.ScalarOpacityUnitDistance = 1.7320508075688779
gradient1Display.Slice = 10
gradient1Display.InputVectors = ['POINTS', 'RTDataGradient']
gradient1Display.SelectInputVectors = ['POINTS', 'RTDataGradient']
gradient1Display.WriteLog = ''

# show data from slice1
slice1Display = Show(slice1, renderView1)
# trace defaults for the display properties.
slice1Display.Representation = 'Surface LIC'
slice1Display.ColorArrayName = ['POINTS', '']
slice1Display.OSPRayScaleArray = 'RTData'
slice1Display.OSPRayScaleFunction = 'PiecewiseFunction'
slice1Display.SelectOrientationVectors = 'None'
slice1Display.ScaleFactor = 2.0
slice1Display.SelectScaleArray = 'RTData'
slice1Display.GlyphType = 'Arrow'
slice1Display.GlyphTableIndexArray = 'RTData'
slice1Display.DataAxesGrid = 'GridAxesRepresentation'
slice1Display.PolarAxes = 'PolarAxesRepresentation'
slice1Display.GaussianRadius = 1.0
slice1Display.SetScaleArray = ['POINTS', 'RTData']
slice1Display.ScaleTransferFunction = 'PiecewiseFunction'
slice1Display.OpacityArray = ['POINTS', 'RTData']
slice1Display.OpacityTransferFunction = 'PiecewiseFunction'
slice1Display.InputVectors = [None, '']

[Paraview] SurfaceLIC not supported

2017-09-12 Thread JUMEAU Charles

Dear Paraview community members,

I try to run the SurfaceLIC plugin in Paraview, using openFoam, in order 
to visualize streamlines of my airflow modelings. However, I recieve no 
matter the driver I use (NVIDIA 304.135 or X.Org server 1:1.0.12-1build 
2) an error message saying that SurfaceLIC is not supported.

Could you help me to fix this problem.

Here are my configuration and the complete error message.

Dell Precision 690
Nvidia Quadro FX 3500 X2
Linux 4.8.0-53 Linux mint 18.2
Openfoam 4.1
Paraview 5.0.1 (openfoam edition)

ERROR MESSAGE:
Surface LIC is not supported
vtkXopenGLRenderWindow
NVIDIA Corporation
2.1.2 NVIDIA 304.135
•       Quadro FX 350/PCIe/SSE2
LIC support = 1
Floating point texture formats = 0
Render buffers = 1
In 
/home/openfoam/OpenFOAM/ParaView-5.0.1/VTK/Rendering/LIC/vtkSurfaceLICPainter.cxx, 
line 975

ERROR: In
•      
 /home/openfoam/OpenFOAM/ParaView-5.0.1/VTK/Rendering/LIC/vtkSurfaceLICPainter.cxx, 
line 2069

vtkSurfaceLICPainter (0xa9f7ff0): SurfaceLIC is not supported

Thank you for your consideration,
Best regards

Charles JUMEAU
---
ISAE-ENSMA - Ecole Nationale Supérieur de mécanique et d'aérotechnique
1 avenue Clement Ader
86360 Chasseneuil du Poitou - Futuroscope
France
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Subdomain

2017-09-12 Thread Cory Quammen
What part do you need help with? The math for setting up the box? Or
how to move the box around in the domain?

On Mon, Sep 11, 2017 at 11:33 PM, Muhammad Kashif Saeed
 wrote:
> Thanks, Cory,
> I can count the particles in a clip box but can you help me how to adjust
> the desired location of clip box because I have to use lot of clip box
> filters to cover the whole domain in small box domains.
>
> Thanks in advance



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Select points based on coordinates

2017-09-12 Thread Andrew
Hello.
Possibly the Threshold filter is what you looking for (if you need to
select a number of points in specified coordinates range). You can use 2-3
filters in series to shape the region in 3 cartesian directions.

2017-09-11 23:12 GMT+03:00 Yifei Ma :

> Hi Paraviewers,
>
> I am trying to extract points based on the coordinates. I tried to use
> "Find Data" but with no success. I am wondering how can I obtain such a
> goal with "Find Data"? Or is there a workaround?
>
> FYI, I am using Paraview 5.4.1-RC3 64-bit on Windows 10.
>
> Thanks,
> Yifei
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] SelectInputVector attribute in the SurfaceLIC plugin

2017-09-12 Thread Wilhelm Lionel
Works like a charm,
thanks a lot !

Lionel

De : Utkarsh Ayachit 
Envoyé : lundi 11 septembre 2017 18:23
À : Wilhelm Lionel
Cc : Paraview@paraview.org
Objet : Re: [Paraview] SelectInputVector attribute in the SurfaceLIC plugin

Lionel,

There's indeed a bug there. A temporary workaround is as follows:

LoadDistributedPlugin("SurfaceLIC", ns=globals())
Disconnect()
Connect()

A fix for the issue is here:
https://gitlab.kitware.com/paraview/paraview/merge_requests/1898
I'll have it merged in before the next release.

Utkarsh

On Mon, Sep 11, 2017 at 10:54 AM, Wilhelm Lionel  wrote:
> Utkarsh,
> Thanks for the so quick reply :)
> Actually I explicitly load the plugin with the following command :
> LoadPlugin('/usr/lib/paraview-5.4/plugins/SurfaceLIC/libSurfaceLIC.so', 
> remote=True, ns=globals())
>
> I tried to load it with the command you suggested but it raises the same 
> error.
>
> While i'm continuing looking for a solution, I saw this old thred 
> https://public.kitware.com/pipermail/paraview/2012-July/025681.html
> I tried to use a command like
> extractBlock1Display_1 = Show(extractBlock1, View4)
> extractBlock1Display_1.Representation = 'Surface LIC'
> extractBlock1Display_1.SMProxy.GetProperty('SelectInputVectors').SetElement(0,['POINTS',
>  'vitesse'])
>
> but it still does not work...
> Thanks in advance,
>
> Lionel
> 
> De : Utkarsh Ayachit 
> Envoyé : lundi 11 septembre 2017 16:43
> À : Wilhelm Lionel
> Cc : Paraview@paraview.org
> Objet : Re: [Paraview] SelectInputVector attribute in the SurfaceLIC plugin
>
> Lionel,
>
> Does your Python script load the plugin explcitly? Currently none of
> the state files capture which plugins are loaded, you have to manually
> load the plugin. You can use  the following to load the plugin in your
> script before creating any of the proxies.
>
> LoadDistributedPlugin("SurfaceLIC", ns=globals())
>
>
>
> On Mon, Sep 11, 2017 at 10:16 AM, Wilhelm Lionel  
> wrote:
>> Dear Paraviewers,
>>
>>
>> I'm trying to use the SurfaceLIC plugin in a script intended to be executed
>> by pvbatch. Naturally, I used the trace tool in the GUI to design my python
>> script. When save the state in python and try to run it with pvbatch it
>> raises the following error :
>>
>>
>> ensight_full_cyclescaseDisplay.SelectInputVectors = ['POINTS', 'vitesse']
>>   File "/usr/lib/lib/python2.7/site-packages/paraview/servermanager.py",
>> line 453, in __setattr__
>> "to add this attribute.")
>> AttributeError: Attribute SelectInputVectors does not exist.  This class
>> does not allow addition of new attributes to avoid mistakes due to typos.
>> Use add_attribute() if you really want to add this attribute.
>>
>>
>> but if I just load state in the paraview GUI with the exact same script,
>> paraview does not complain. Any workaround ?
>>
>>
>> In fact, by searching a solution, it seems that the
>> ensight_full_cyclescaseDisplay object has a dictionary called
>> _Proxy__Properties which contain a key 'SelectInputVectors'. The problem is
>> that the SelectInputVectors value is a dead weakref object... and I'm not
>> really familiar with weakref objects.
>>
>>
>> Lionel Wilhelm
>>
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview