Re: [Paraview] Averaging data in paraview

2017-09-14 Thread Moreland, Kenneth
I don’t think there is anything ready made that will do what you are 
describing. However, I think if your points are lined up along the x axis 
(assuming width=x), I think you can fake it by squishing the data to a line and 
telling ParaView to merge coincident points (clean the data). Try the following 
steps:


1.   Add the Transform filter. Change the Scale parameter to [0, 1, 1]. 
Apply.

2.   Add the Clean to Grid filter. Apply.

3.   Add the Plot Over Line filter. Apply.

Another alternative is to just create a scatterplot with the Y value on the 
bottom axis and the value on the right. (Turn off lines, turn on markers.) It’s 
different than showing the average, but it contains more information.

-Ken


From: ParaView  on behalf of JAIRAJ MATHUR 

Date: Thursday, September 14, 2017 at 2:30 PM
To: paraview 
Subject: [EXTERNAL] [Paraview] Averaging data in paraview

Hey all!

I have an unstructured grid type data(it is cell data, image attached below). I 
wish to do a plot in paraview such that I am averaging along the width, and 
plotting this averaged data along the length. In order to do that, what am I 
looking at here?
Essentially, I want a scatter plot of the average along width.

Thanks!

--
Jairaj Mathur,
Mechanical Engineering
Washington University in St Louis

___
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] ParaView GPU support (UNCLASSIFIED)

2017-09-14 Thread Su, Simon M CIV USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED

 Hello,

How do we configure ParaView to take advantage of available GPU hardware? Do we 
have to compile with different compile flags? Or ParaView automatically detects 
availability of GPU hardware and take advantage of it?  Any insight is greatly 
appreciated

Thanks
-simon


CLASSIFICATION: UNCLASSIFIED
___
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] Reading group of pvti files: vtkImageData is static over time

2017-09-14 Thread A .
Hello,


I have a vtkImageData object that I write (with a XMLPImageDataWriter) every 
time step to a pvti file.

When I open the group of output_*.pvti files, properties like X, Y, Z extent 
and range do not change as I animate over time.

But when I open the actual files I can see that these values in fact are 
different.


And if I open the files individually (for example output_99.pvti) these 
properties are displayed correctly in ParaView.

The problem appears when I open them as a group; it then keeps the properties 
of the first file.


Does anyone else has this issue, and is there a way to solve this?


Best,

Jimmy
___
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] Connecting points

2017-09-14 Thread Andy Bauer
Hi,

ParaView has line cells which is what you probably want to use. The line
cells themselves have no concept of cross section but you can add that as
field data.

Beyond this, how are you getting your points into ParaView? Wherever that
is being done you'll probably want to add in the line cells at that point
in your workflow. Another option is using the Python Programmable Filter to
make those cells -- see
https://www.paraview.org/Wiki/Python_Programmable_Filter.

Cheers,
Andy

On Thu, Sep 14, 2017 at 6:02 AM, Doina Gumeniuc (224252 MAHS) <224...@via.dk
> wrote:

> Hi dear users,
>
> I would really appreciate if you could guide me on how to connect points
> with beam elements, FEM style.
>
> Thank you!
>
> ___
> 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


[Paraview] Clearing a selection created in python

2017-09-14 Thread Felipe Bordeu
Hi, I'm trying to create a selection using python, but I have a little
question

I use this script (as a macro)

source = GetActiveSource()
activeView = GetActiveView()
props = GetDisplayProperties(source,view=activeView)
fieldtype, arrayname = props.ColorArrayName
a = paraview.simple._select(fieldtype[0:-1], arrayname,source)
Render()

this will highlight all the entities (points or cells) with values
different form zero in the current view (this work great)

the only problem is that the clear selection icon ("garbage icon") is
disable and the only way to clear the selection is to create a new
selection (using the mouse) and the clear it using the button.

Any ideas.
thanks

Felipe
___
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] Connecting points

2017-09-14 Thread Doina Gumeniuc (224252 MAHS)
Hi dear users,

I would really appreciate if you could guide me on how to connect points with 
beam elements, FEM style.

Thank you!
___
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