[Paraview] Visualizing load paths

2016-07-11 Thread Sellmann, Kai Asaad
Dear Paraview Community,
I have succeded to import my FEM Data (Nodal Coordinates, Element Connectivity 
and Nodal Tensions) into Paraview via a self written *.vtk-file.
Now that I finally have my Force Vectors I want to use the stream tracer 
filter. But whatever I do ülaying around with the stream tracer settings, 
nothing happens.
I don't even get an error message or anything like that. Is there any 
additional documentation about the stream tracer filter? Anything else I could 
read and can't find on google?

I'd be grateful for any hints, help or critics =)

Thanks a lot!
Asaad
___
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] Contours of integer array

2016-07-11 Thread Schlottke-Lakemper, Michael
Hi folks,

I would like to visualize an integer array of an unstructured dataset based on 
voxels, which contains MPI rank ids generated by a filter we use. To achieve 
this, I plan to somehow extract the “sharp” interfaces, similar to what the 
contour filter does, to obtain a visual representation of the domain 
decomposition. However, for the contour filter, I first have to call “Cell data 
to point data”, which smears out the previously sharp interfaces and causes 
connectivity problems of the resulting contours, as in some areas the domain 
decomposition features are very small.

Is there another way how I could extract these contours? Please note that I am 
not using vtkProcessId but rather an own integer array.

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

Institute of Aerodynamics and Chair of Fluid Mechanics
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188
Fax: +49 (241) 80 92257
Mail: 
m.schlottke-lakem...@aia.rwth-aachen.de
Web: http://www.aia.rwth-aachen.de

___
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] Contours of integer array

2016-07-11 Thread Schlottke-Lakemper, Michael
Maybe some visualization might help to illustrate the problem. This is what the 
domain decomposition looks like for two domains:

[cid:5C5D6EE8-569B-4469-93BF-E838F51706B8@aia.RWTH-Aachen.DE]

There are only two domains with values 0 and 1, respectively. I then select & 
apply the “Cell Data to Point Data” filter, then the “Contour” filter with only 
one isosurface set to “0.5”. However, in this example, the result is a blank 
screen, i.e., no visible output from the Contour filter.

In another example, I get the following result:
[cid:43435313-C9BC-46AB-94F7-145F6A981F56@aia.RWTH-Aachen.DE]

The sharp, colored interfaces of the integer array in the back is clearly 
visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, …, 
3.5 as the isosurface values in the contour filter. While in this case I 
actually get an output (white lines), they follow the fuzzy output of “Cell 
Data to Point Data” and I am not able to reconstruct the sharp interfaces.

To conclude, my problems are actually twofold: I would like to find out how to 
restore sharp contours, and - if that does not work - at least how to make this 
approach work for all datasets I am looking at.

Again, thanks a lot in advance, and please excuse my double posting...

Michael

On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:

Hi folks,

I would like to visualize an integer array of an unstructured dataset based on 
voxels, which contains MPI rank ids generated by a filter we use. To achieve 
this, I plan to somehow extract the “sharp” interfaces, similar to what the 
contour filter does, to obtain a visual representation of the domain 
decomposition. However, for the contour filter, I first have to call “Cell data 
to point data”, which smears out the previously sharp interfaces and causes 
connectivity problems of the resulting contours, as in some areas the domain 
decomposition features are very small.

Is there another way how I could extract these contours? Please note that I am 
not using vtkProcessId but rather an own integer array.

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

Institute of Aerodynamics and Chair of Fluid Mechanics
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188
Fax: +49 (241) 80 92257
Mail: 
m.schlottke-lakem...@aia.rwth-aachen.de
Web: http://www.aia.rwth-aachen.de

___
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] different data ranges

2016-07-11 Thread Schmied, Christopher /DZNE
Dear all,

I am new to paraview.

I want to visualize and compare two image stacks with different bit depth (8 
and 16-bit).
Thus two different data ranges. Is there a way to overcome the default 
behaviour of paraview to use the same color transfer function?

I found two related posts here, but I somehow cannot make this work for me.

http://markmail.org/message/kxyunk2kv25yrwu2
http://markmail.org/message/m5aaivrteysqf2mu

Thanks a lot!
Christopher



___
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] Contours of integer array

2016-07-11 Thread David E DeMarle
Could try threshold, or nearly equivalently clip by scalar, followed by
surface filter.

Another option is the material interface filter. That requires unstructured
grid input and an integer or idtype material array. Clip its output or use
opacity to see inside since its external surface looks the same as its
input's.
On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" <
m.schlottke-lakem...@aia.rwth-aachen.de> wrote:

> Maybe some visualization might help to illustrate the problem. This is
> what the domain decomposition looks like for two domains:
>
>
> There are only two domains with values 0 and 1, respectively. I then
> select & apply the “Cell Data to Point Data” filter, then the “Contour”
> filter with only one isosurface set to “0.5”. However, in this example, the
> result is a blank screen, i.e., no visible output from the Contour filter.
>
> In another example, I get the following result:
>
> The sharp, colored interfaces of the integer array in the back is clearly
> visible. In this case, there are 5 domains (values [0,4]) and I used 0.5,
> …, 3.5 as the isosurface values in the contour filter. While in this case I
> actually get an output (white lines), they follow the fuzzy output of “Cell
> Data to Point Data” and I am not able to reconstruct the sharp interfaces.
>
> To conclude, my problems are actually twofold: I would like to find out
> how to restore sharp contours, and - if that does not work - at least how
> to make this approach work for all datasets I am looking at.
>
> Again, thanks a lot in advance, and please excuse my double posting...
>
> Michael
>
> On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael <
> m.schlottke-lakem...@aia.rwth-aachen.de> wrote:
>
> Hi folks,
>
> I would like to visualize an integer array of an unstructured dataset
> based on voxels, which contains MPI rank ids generated by a filter we use.
> To achieve this, I plan to somehow extract the “sharp” interfaces, similar
> to what the contour filter does, to obtain a visual representation of the
> domain decomposition. However, for the contour filter, I first have to call
> “Cell data to point data”, which smears out the previously sharp interfaces
> and causes connectivity problems of the resulting contours, as in some
> areas the domain decomposition features are very small.
>
> Is there another way how I could extract these contours? Please note that
> I am not using vtkProcessId but rather an own integer array.
>
> Thanks a lot in advance
>
> Michael
>
>
> --
> Michael Schlottke-Lakemper
>
> Institute of Aerodynamics and Chair of Fluid Mechanics
> RWTH Aachen University
> Wüllnerstraße 5a
> 52062 Aachen
> Germany
>
> Phone: +49 (241) 80 95188
> Fax: +49 (241) 80 92257
> Mail: m.schlottke-lakem...@aia.rwth-aachen.de
> Web: http://www.aia.rwth-aachen.de
>
> ___
> 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
>
>
___
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] Contours of integer array

2016-07-11 Thread Schlottke-Lakemper, Michael
Hi David,

Thanks for your answer. From what I understand, your suggestions allow me to 
extract the surface for a single domain. However, what I am really looking for 
is something like in the second example, i.e., where I get lines representing 
the domain boundaries between *all* domains at once. I just want them to align 
neatly with the actual boundaries and not have them diluted by the 
Cell-to-Point filter. Any idea how I can achieve that? Or maybe I just 
misunderstood you…

Michael

On 11 Jul 2016, at 13:37 , David E DeMarle 
mailto:dave.dema...@kitware.com>> wrote:


Could try threshold, or nearly equivalently clip by scalar, followed by surface 
filter.

Another option is the material interface filter. That requires unstructured 
grid input and an integer or idtype material array. Clip its output or use 
opacity to see inside since its external surface looks the same as its input's.

On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:
Maybe some visualization might help to illustrate the problem. This is what the 
domain decomposition looks like for two domains:



There are only two domains with values 0 and 1, respectively. I then select & 
apply the “Cell Data to Point Data” filter, then the “Contour” filter with only 
one isosurface set to “0.5”. However, in this example, the result is a blank 
screen, i.e., no visible output from the Contour filter.

In another example, I get the following result:


The sharp, colored interfaces of the integer array in the back is clearly 
visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, …, 
3.5 as the isosurface values in the contour filter. While in this case I 
actually get an output (white lines), they follow the fuzzy output of “Cell 
Data to Point Data” and I am not able to reconstruct the sharp interfaces.

To conclude, my problems are actually twofold: I would like to find out how to 
restore sharp contours, and - if that does not work - at least how to make this 
approach work for all datasets I am looking at.

Again, thanks a lot in advance, and please excuse my double posting...

Michael

On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:

Hi folks,

I would like to visualize an integer array of an unstructured dataset based on 
voxels, which contains MPI rank ids generated by a filter we use. To achieve 
this, I plan to somehow extract the “sharp” interfaces, similar to what the 
contour filter does, to obtain a visual representation of the domain 
decomposition. However, for the contour filter, I first have to call “Cell data 
to point data”, which smears out the previously sharp interfaces and causes 
connectivity problems of the resulting contours, as in some areas the domain 
decomposition features are very small.

Is there another way how I could extract these contours? Please note that I am 
not using vtkProcessId but rather an own integer array.

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

Institute of Aerodynamics and Chair of Fluid Mechanics
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188
Fax: +49 (241) 80 92257
Mail: 
m.schlottke-lakem...@aia.rwth-aachen.de
Web: http://www.aia.rwth-aachen.de

___
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


___
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] Contours of integer array

2016-07-11 Thread David E DeMarle
Extract region surface will do all domains at the same time.

What it does is iterate over all cells and extract the faces of the cell
for which either their is no neighbor or the neighbor cell has different
material.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Jul 11, 2016 at 8:25 AM, Schlottke-Lakemper, Michael <
m.schlottke-lakem...@aia.rwth-aachen.de> wrote:

> Hi David,
>
> Thanks for your answer. From what I understand, your suggestions allow me
> to extract the surface for a single domain. However, what I am really
> looking for is something like in the second example, i.e., where I get
> lines representing the domain boundaries between *all* domains at once. I
> just want them to align neatly with the actual boundaries and not have them
> diluted by the Cell-to-Point filter. Any idea how I can achieve that? Or
> maybe I just misunderstood you…
>
> Michael
>
> On 11 Jul 2016, at 13:37 , David E DeMarle 
> wrote:
>
> Could try threshold, or nearly equivalently clip by scalar, followed by
> surface filter.
>
> Another option is the material interface filter. That requires
> unstructured grid input and an integer or idtype material array. Clip its
> output or use opacity to see inside since its external surface looks the
> same as its input's.
> On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" <
> m.schlottke-lakem...@aia.rwth-aachen.de> wrote:
>
>> Maybe some visualization might help to illustrate the problem. This is
>> what the domain decomposition looks like for two domains:
>>
>> 
>>
>> There are only two domains with values 0 and 1, respectively. I then
>> select & apply the “Cell Data to Point Data” filter, then the “Contour”
>> filter with only one isosurface set to “0.5”. However, in this example, the
>> result is a blank screen, i.e., no visible output from the Contour filter.
>>
>> In another example, I get the following result:
>> 
>>
>> The sharp, colored interfaces of the integer array in the back is clearly
>> visible. In this case, there are 5 domains (values [0,4]) and I used 0.5,
>> …, 3.5 as the isosurface values in the contour filter. While in this case I
>> actually get an output (white lines), they follow the fuzzy output of “Cell
>> Data to Point Data” and I am not able to reconstruct the sharp interfaces.
>>
>> To conclude, my problems are actually twofold: I would like to find out
>> how to restore sharp contours, and - if that does not work - at least how
>> to make this approach work for all datasets I am looking at.
>>
>> Again, thanks a lot in advance, and please excuse my double posting...
>>
>> Michael
>>
>> On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael <
>> m.schlottke-lakem...@aia.rwth-aachen.de> wrote:
>>
>> Hi folks,
>>
>> I would like to visualize an integer array of an unstructured dataset
>> based on voxels, which contains MPI rank ids generated by a filter we use.
>> To achieve this, I plan to somehow extract the “sharp” interfaces, similar
>> to what the contour filter does, to obtain a visual representation of the
>> domain decomposition. However, for the contour filter, I first have to call
>> “Cell data to point data”, which smears out the previously sharp interfaces
>> and causes connectivity problems of the resulting contours, as in some
>> areas the domain decomposition features are very small.
>>
>> Is there another way how I could extract these contours? Please note that
>> I am not using vtkProcessId but rather an own integer array.
>>
>> Thanks a lot in advance
>>
>> Michael
>>
>>
>> --
>> Michael Schlottke-Lakemper
>>
>> Institute of Aerodynamics and Chair of Fluid Mechanics
>> RWTH Aachen University
>> Wüllnerstraße 5a
>> 52062 Aachen
>> Germany
>>
>> Phone: +49 (241) 80 95188
>> Fax: +49 (241) 80 92257
>> Mail: m.schlottke-lakem...@aia.rwth-aachen.de
>> Web: http://www.aia.rwth-aachen.de
>>
>> ___
>> 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
>>
>>
>
___
Powered by www.kitware.com

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

Re: [Paraview] different data ranges

2016-07-11 Thread Cory Quammen
Christopher,

You basically need to have different names for your 8 and 16 bit data
arrays to be able to use color maps with different ranges.

You tried the Calculator trick to rename one of your arrays? Could you walk
through what you tried that isn't working?

Thanks,
Cory

On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE <
christopher.schm...@dzne.de> wrote:

> Dear all,
>
> I am new to paraview.
>
> I want to visualize and compare two image stacks with different bit depth
> (8 and 16-bit).
> Thus two different data ranges. Is there a way to overcome the default
> behaviour of paraview to use the same color transfer function?
>
> I found two related posts here, but I somehow cannot make this work for me.
>
> http://markmail.org/message/kxyunk2kv25yrwu2
> http://markmail.org/message/m5aaivrteysqf2mu
>
> Thanks a lot!
> Christopher
>
>
>
>
> ___
> 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
>
>


-- 
Cory Quammen
R&D 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] Contours of integer array

2016-07-11 Thread Schlottke-Lakemper, Michael
Hi David,

ah, ok. However, in this case I’m wondering what I am doing wrong here: If I 
use the Extract Region Surface filter, my dataset looks just like before. Do I 
need to create an array with a certain name that contains the information on 
which the regions are extracted? And does this work also for 2D (unstructured 
grid with vtkQuads) or only in 3D?

Sorry for being so slow :-/

Michael

On 11 Jul 2016, at 14:29 , David E DeMarle 
mailto:dave.dema...@kitware.com>> wrote:

Extract region surface will do all domains at the same time.

What it does is iterate over all cells and extract the faces of the cell for 
which either their is no neighbor or the neighbor cell has different material.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Jul 11, 2016 at 8:25 AM, Schlottke-Lakemper, Michael 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:
Hi David,

Thanks for your answer. From what I understand, your suggestions allow me to 
extract the surface for a single domain. However, what I am really looking for 
is something like in the second example, i.e., where I get lines representing 
the domain boundaries between *all* domains at once. I just want them to align 
neatly with the actual boundaries and not have them diluted by the 
Cell-to-Point filter. Any idea how I can achieve that? Or maybe I just 
misunderstood you…

Michael

On 11 Jul 2016, at 13:37 , David E DeMarle 
mailto:dave.dema...@kitware.com>> wrote:


Could try threshold, or nearly equivalently clip by scalar, followed by surface 
filter.

Another option is the material interface filter. That requires unstructured 
grid input and an integer or idtype material array. Clip its output or use 
opacity to see inside since its external surface looks the same as its input's.

On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:
Maybe some visualization might help to illustrate the problem. This is what the 
domain decomposition looks like for two domains:



There are only two domains with values 0 and 1, respectively. I then select & 
apply the “Cell Data to Point Data” filter, then the “Contour” filter with only 
one isosurface set to “0.5”. However, in this example, the result is a blank 
screen, i.e., no visible output from the Contour filter.

In another example, I get the following result:


The sharp, colored interfaces of the integer array in the back is clearly 
visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, …, 
3.5 as the isosurface values in the contour filter. While in this case I 
actually get an output (white lines), they follow the fuzzy output of “Cell 
Data to Point Data” and I am not able to reconstruct the sharp interfaces.

To conclude, my problems are actually twofold: I would like to find out how to 
restore sharp contours, and - if that does not work - at least how to make this 
approach work for all datasets I am looking at.

Again, thanks a lot in advance, and please excuse my double posting...

Michael

On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael 
mailto:m.schlottke-lakem...@aia.rwth-aachen.de>>
 wrote:

Hi folks,

I would like to visualize an integer array of an unstructured dataset based on 
voxels, which contains MPI rank ids generated by a filter we use. To achieve 
this, I plan to somehow extract the “sharp” interfaces, similar to what the 
contour filter does, to obtain a visual representation of the domain 
decomposition. However, for the contour filter, I first have to call “Cell data 
to point data”, which smears out the previously sharp interfaces and causes 
connectivity problems of the resulting contours, as in some areas the domain 
decomposition features are very small.

Is there another way how I could extract these contours? Please note that I am 
not using vtkProcessId but rather an own integer array.

Thanks a lot in advance

Michael


--
Michael Schlottke-Lakemper

Institute of Aerodynamics and Chair of Fluid Mechanics
RWTH Aachen University
Wüllnerstraße 5a
52062 Aachen
Germany

Phone: +49 (241) 80 95188
Fax: +49 (241) 80 92257
Mail: 
m.schlottke-lakem...@aia.rwth-aachen.de
Web: http://www.aia.rwth-aachen.de

___
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.

Re: [Paraview] different data ranges

2016-07-11 Thread Cory Quammen
Christopher,

Adding the paraview list back so that others may benefit from or contribute
to the discussion.

I think the advice to leave the function blank wasn't quite right. What you
actually want in the function is the name of the existing array in your
data set. You can get a list of the names in the Scalars or Vectors pop-up
menu at the bottom of the calculator controls, or you can just type in the
array name. For example, to rename from 'ImageScalars' to 'Result', you
would leave the Result Array Name as 'Result' and enter 'ImageScalars' in
the function.

HTH,
Cory

On Mon, Jul 11, 2016 at 9:17 AM, Schmied, Christopher /DZNE <
christopher.schm...@dzne.de> wrote:

> Dear Cory,
>
> So basically I tried to use the calculator. As far as I understood without
> function.
> Then in Result Array Name I give it a name. Then I apply the calculator.
> I also tried to resave the file. But the default behaviour is still there.
>
> Maybe I don’t understand where I should manipulate the name of the data
> array.
> Or what else could I do wrong?
>
> Thanks a lot!
> Christopher
>
>
> On 11 Jul 2016, at 14:38, Cory Quammen  wrote:
>
> Christopher,
>
> You basically need to have different names for your 8 and 16 bit data
> arrays to be able to use color maps with different ranges.
>
> You tried the Calculator trick to rename one of your arrays? Could you
> walk through what you tried that isn't working?
>
> Thanks,
> Cory
>
> On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE <
> christopher.schm...@dzne.de> wrote:
>
>> Dear all,
>>
>> I am new to paraview.
>>
>> I want to visualize and compare two image stacks with different bit depth
>> (8 and 16-bit).
>> Thus two different data ranges. Is there a way to overcome the default
>> behaviour of paraview to use the same color transfer function?
>>
>> I found two related posts here, but I somehow cannot make this work for
>> me.
>>
>> http://markmail.org/message/kxyunk2kv25yrwu2
>> http://markmail.org/message/m5aaivrteysqf2mu
>>
>> Thanks a lot!
>> Christopher
>>
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
>
>


-- 
Cory Quammen
R&D 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] different data ranges

2016-07-11 Thread Schmied, Christopher /DZNE
Dear Cory,

ah ok! Good that works now. I also needed to change the data array in the 
coloring section from my “MetaImage” to “Result"
Awesome! Thanks a lot!

Cheers,
Christopher

On 11 Jul 2016, at 15:21, Cory Quammen 
mailto:cory.quam...@kitware.com>> wrote:

Christopher,

Adding the paraview list back so that others may benefit from or contribute to 
the discussion.

I think the advice to leave the function blank wasn't quite right. What you 
actually want in the function is the name of the existing array in your data 
set. You can get a list of the names in the Scalars or Vectors pop-up menu at 
the bottom of the calculator controls, or you can just type in the array name. 
For example, to rename from 'ImageScalars' to 'Result', you would leave the 
Result Array Name as 'Result' and enter 'ImageScalars' in the function.

HTH,
Cory

On Mon, Jul 11, 2016 at 9:17 AM, Schmied, Christopher /DZNE 
mailto:christopher.schm...@dzne.de>> wrote:
Dear Cory,

So basically I tried to use the calculator. As far as I understood without 
function.
Then in Result Array Name I give it a name. Then I apply the calculator.
I also tried to resave the file. But the default behaviour is still there.

Maybe I don’t understand where I should manipulate the name of the data array.
Or what else could I do wrong?

Thanks a lot!
Christopher


On 11 Jul 2016, at 14:38, Cory Quammen 
mailto:cory.quam...@kitware.com>> wrote:

Christopher,

You basically need to have different names for your 8 and 16 bit data arrays to 
be able to use color maps with different ranges.

You tried the Calculator trick to rename one of your arrays? Could you walk 
through what you tried that isn't working?

Thanks,
Cory

On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE 
mailto:christopher.schm...@dzne.de>> wrote:
Dear all,

I am new to paraview.

I want to visualize and compare two image stacks with different bit depth (8 
and 16-bit).
Thus two different data ranges. Is there a way to overcome the default 
behaviour of paraview to use the same color transfer function?

I found two related posts here, but I somehow cannot make this work for me.

http://markmail.org/message/kxyunk2kv25yrwu2
http://markmail.org/message/m5aaivrteysqf2mu

Thanks a lot!
Christopher




___
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




--
Cory Quammen
R&D Engineer
Kitware, Inc.




--
Cory Quammen
R&D 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] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card.

2016-07-11 Thread Weiguang guan

Aashish, you're right --- it is fixed in version 5.1.0. Thanks.

Weiguang

On 08/07/2016 10:42 AM, Aashish Chaudhary wrote:

Hi Weiguang,

Have you tried recent release of paraview / vtk? This should have been 
fixed in the recent commits.


Thanks


On Fri, Jul 8, 2016 at 10:04 AM, Weiguang guan 
mailto:gu...@rhpcs.mcmaster.ca>> wrote:


Is there a solution to fix the problem? Thanks.

Weiguang


On 04/07/2016 3:51 PM, Weiguang guan wrote:

I run into the same problem on linux.

Warning: In

/home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx,
line 251
vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO
support. The algorithm may produce visual artifacts.

I'm running Paraview 5.0.0.

Weiguang

On 03/03/2016 9:42 AM, Aashish Chaudhary wrote:

I have the same problem. Though in my case it is a small unstructuredgrid
vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit
prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL
version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions
amongst others GL_ARB_frame_buffer_object.
Also, it does show artifacts. In particular for a vector allocated to a
standard hexahedron cell, the colors are slightly different within the cell.
You can see triangular segments [possibly tetrahedron?]

It seems to me that you are running into a different issue as atleast
you are seeing
something but it does look correct to you. Is that it?

Thanks



Regard
Paul.



___
Powered bywww.kitware.com  

Visit other Kitware open-source projects 
athttp://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 bywww.kitware.com  

Visit other Kitware open-source projects 
athttp://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




--
/| Aashish Chaudhary
| Technical Leader
| Kitware Inc.
/
/| http://www.kitware.com/company/team/chaudhary.html/


___
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] Visualizing load paths

2016-07-11 Thread Andy Bauer
Can you share your dataset and specific information on what you're trying
to do in ParaView?

Cheers,
Andy



On Mon, Jul 11, 2016 at 3:53 AM, Sellmann, Kai Asaad <
asaad.sellm...@rwth-aachen.de> wrote:

> Dear Paraview Community,
> I have succeded to import my FEM Data (Nodal Coordinates, Element
> Connectivity and Nodal Tensions) into Paraview via a self written
> *.vtk-file.
> Now that I finally have my Force Vectors I want to use the stream tracer
> filter. But whatever I do ülaying around with the stream tracer settings,
> nothing happens.
> I don't even get an error message or anything like that. Is there any
> additional documentation about the stream tracer filter? Anything else I
> could read and can't find on google?
>
> I'd be grateful for any hints, help or critics =)
>
> Thanks a lot!
> Asaad
>
> ___
> 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] problems using pvbatch in frozen build

2016-07-11 Thread Burlen Loring
certainly seems like a bug worth fixing. let me know if you want me to 
start a bug report.


On 07/08/2016 01:19 PM, Burlen Loring wrote:
Thanks Utakarsh. It sounds like it may be possible to work around the 
issue by not importing the lookuptable module from simple. However,  
it's "import math" that fails, and math seems like a fairly basic 
module that should always be present. Is there any chance it got left 
out of some packaging manifest used in the freeze process? having it 
be available might be a better solution.


On 07/08/2016 08:38 AM, Utkarsh Ayachit wrote:
I got over such problems by delaying importing of those modules until 
needed. They are not needed for most common use-cases.


See:
https://gitlab.kitware.com/paraview/paraview/commit/3af48fffd924bf5ffd11f576a261ef4eb3ff5897

On Tue, Jul 5, 2016 at 2:35 PM, Burlen Loring > wrote:


Hi All,

I'm encountering some issues when trying to use pvbatch from a
frozen build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key
python modules are missing.ie  math. However,
I can use Python shell feature in the GUI from the same build. Do
we have any idea about what may be wrong with pvbatch?


here is output from a simple test:

nid00048:~$pvbatch pvbatch-test.py
started
Traceback (most recent call last):
  File "pvbatch-test.py", line 3, in 
from paraview.simple import *
  File

"/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py",
line 40, in 
import lookuptable
  File

"/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py",
line 21, in 
from math import sqrt
ImportError: No module named math

I tried this as well:

nid00048:~$pvpython
Python 2.7.9 (default, Jan  8 2015, 22:29:31)
[GCC 4.9.1 20140716 (Cray Inc.)] on linux2
Traceback (most recent call last):
  File "/etc/pythonstart", line 7, in 
import readline
ImportError: Excluded frozen object named readline
>>> import math
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named math
>>>

Thanks
Burlen

___
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 bywww.kitware.com

Visit other Kitware open-source projects 
athttp://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] ParaView 5.1.1 Release Plans

2016-07-11 Thread Hahn, Steven E.
I encountered issues building ParaView 5.1.0 with VTK_USE_SYSTEM_HDF5=ON and 
CMake 3.6. The issue with FindHDF5 was reported by another user on the CMake 
mailing list (http://public.kitware.com/pipermail/cmake/2016-July/063908.html) 
and on OS X I was able to work around it by setting the HDF5_ROOT variable. 

I also encountered linker errors that go away after cherry-picking VTK commit 
351d0a6d1ce13daef7e52ed988f843aae0ff9fbf 
(https://github.com/Kitware/VTK/commit/351d0a6d1ce13daef7e52ed988f843aae0ff9fbf).
  Would you please add a fix for the HDF5 linking errors in ParaView 5.1.1?

Steven 

On 6/29/16, 10:05 AM, "ParaView on behalf of Utkarsh Ayachit" 
 wrote:

Folks,

Since there we a couple of crucial issues reported after the 5.1.0
release, we are planning on putting out a 5.1.1 patch release.

Currently, this will include the following fixes:

1. Address issues with depth peeling not working as expected in
client-server mode.
2. Address issues with ExodisIIReader not loading certain variables.
3. Address issue with nested lists in OpenFOAM
4. Address issue with "?" button not working in ParaView binaries.

Is there anything else that's can qualify as critical that should go
in this patch release? Note the 5.2.0 release in planned for SC16 i.e.
Oct/Nov.

If there's nothing else, I think we have fixes for almost all of
these, so we can put the release out early next week.

Utkarsh
___
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] ParaView 5.1.1 Release Plans

2016-07-11 Thread Utkarsh Ayachit
Steve,

That's already on the `release` branch which will become 5.1.1. There
are a few more issues with it that we are currently tracking down, but
yea, it should get included in the 5.1.1 release.

On Mon, Jul 11, 2016 at 1:43 PM, Hahn, Steven E.  wrote:
> I encountered issues building ParaView 5.1.0 with VTK_USE_SYSTEM_HDF5=ON and 
> CMake 3.6. The issue with FindHDF5 was reported by another user on the CMake 
> mailing list 
> (http://public.kitware.com/pipermail/cmake/2016-July/063908.html) and on OS X 
> I was able to work around it by setting the HDF5_ROOT variable.
>
> I also encountered linker errors that go away after cherry-picking VTK commit 
> 351d0a6d1ce13daef7e52ed988f843aae0ff9fbf 
> (https://github.com/Kitware/VTK/commit/351d0a6d1ce13daef7e52ed988f843aae0ff9fbf).
>   Would you please add a fix for the HDF5 linking errors in ParaView 5.1.1?
>
> Steven
>
> On 6/29/16, 10:05 AM, "ParaView on behalf of Utkarsh Ayachit" 
>  
> wrote:
>
> Folks,
>
> Since there we a couple of crucial issues reported after the 5.1.0
> release, we are planning on putting out a 5.1.1 patch release.
>
> Currently, this will include the following fixes:
>
> 1. Address issues with depth peeling not working as expected in
> client-server mode.
> 2. Address issues with ExodisIIReader not loading certain variables.
> 3. Address issue with nested lists in OpenFOAM
> 4. Address issue with "?" button not working in ParaView binaries.
>
> Is there anything else that's can qualify as critical that should go
> in this patch release? Note the 5.2.0 release in planned for SC16 i.e.
> Oct/Nov.
>
> If there's nothing else, I think we have fixes for almost all of
> these, so we can put the release out early next week.
>
> Utkarsh
> ___
> 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] problems using pvbatch in frozen build

2016-07-11 Thread Utkarsh Ayachit
On Mon, Jul 11, 2016 at 1:36 PM, Burlen Loring  wrote:
> certainly seems like a bug worth fixing. let me know if you want me to start
> a bug report.

That'd be great. Thanks, Burlen.
___
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] Invisible volume rendering in client/server mode

2016-07-11 Thread Utkarsh Ayachit
Odd. I wonder if it's driver related. Did you build ParaView with
VTK_RENDERING_BACKEND set to OpenGL2? Also, "-tdx"/"-tdy" could indeed
slow things down as it's now rendering for a tiledisplay rather than
for a client. The rendering works in that case, since the client is
rendering on it's own. Also what is the datatype you're rendering? I'd
suspect it's an unstructured grid or a multiblock of unstructured
grid.

Utkarsh

On Sat, Jul 9, 2016 at 3:28 AM, Gunnar Jansen  wrote:
> Dear ParaView users,
>
> I recently set up a pvserver on our small cluster. I used the most recent
> stable ParaView release 5.1 and compiled from source.
>
> The connection and rendering in client/server mode works fine in all
> representations except the "Volume" rendering. Here, depending on the model,
> either no model is shown at all (just the standard 3D render screen), or the
> previous representation with artifacts shows up. This seems to be a problem
> of the --use-offscreen-rendering flag that I use in the pvserver startup.
>
> I run the server on a node with 2 CPU (with 10 cores each) and 2 Nvidia
> Tesla K40c. I start the server with:
>
> xinit /usr/mpi/gcc/openmpi-1.6.5/bin/mpirun -np 4 pvserver -display :0.0
> --use-offscreen-rendering   : -np 4 pvserver -display :0.1
> --use-offscreen-rendering
>
> In the client the threshold for remote rendering is set to 0.
>
> If I pass additionally the -tdx=1 and -tdy=1 flags the volume rendering is
> performed correctly, but the overall speed is decreased greatly.
>
> Thank you in advance for any help!
>
> Gunnar
>
>
> ___
> 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] VTK data partition

2016-07-11 Thread 张江
Hi,

I use vtkDistributedDataFilter to partition the unstructured data. It seems 
that each process gets a data partition and does not know any information about 
other data partitions.
So my question is, after the partitioning, given a point, how can I know which 
process owns it? Or simply how can I know whether it is inside the entire 
domain?

Best regards,
___
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] numpy_interface/dataset_adapter append method fails on string datatypes ?

2016-07-11 Thread Dean Neumann
Thank you Utkarsh,  that did the trick.
Regards,
Dean

On Fri, Jul 8, 2016 at 1:43 PM, Utkarsh Ayachit  wrote:

> Dean,
>
> Current numpy support in VTK doesn't include string arrays, You can
> overcome that as follows:
>
> colNames = [ 'simulation', 'v0 (m/s)', 'k (%)' ]
> col0 = [ 'm01-sim001', 'm01-sim002', 'm02-sim001' ]
> ...
> strArray = vtk.vtkStringArray()
> strArray.SetName(colNames[0])
> strArray.SetNumberOfTuples(len(col0))
> for i in range(len(col0)):
> strArray.SetValue(i, col0[i])
> output.RowData.AddArray(strArray)
>
>
>
>
> On Fri, Jul 1, 2016 at 9:46 PM, Dean Neumann  wrote:
>
>> I am trying to write a python programmable filter which calculates
>> statistics across multiple input datasets and outputs those as a vtkTable.
>>
>> All is ok for numeric values.   But I can't seem to get any approach to
>> work for outputting a vtkTable column of string values.
>> Using numpy_interface/dataset_adapter.py is the cleanest approach I've
>> yet tried for appending  columns of numeric values to an output dataset of
>> type vtkTable, but it raises the following error on string-valued arrays:
>>
>>> Traceback (most recent call last):
>>
>> File "", line 29, in 
>>
>> File "", line 14, in RequestData
>>
>> File "C:\Program
>>> Files\ParaView\lib\paraview-5.0\site-packages\vtk\numpy_interface\dataset_adapter.py",
>>> line 648, in append
>>
>> narray = narray * numpy.ones(arrLength)
>>
>> TypeError: only integer arrays with one element can be converted to an
>>> index
>>
>>
>> Can someone please post an example python programmable filter that
>> outputs a vtkTable which includes a column of string valued data?   I have
>> attached a minimal script which reproduces the problem.
>>
>>
>> Thanks
>>
>> Dean Neumann
>>
>> ___
>> 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] Can a collaborative client share a pipeline without creating a view itself?

2016-07-11 Thread Peter Debuchev
Dear Utkarsh,
is there any chance that this issue is looked at during the upcoming
hackathon?

Peter

2016-06-28 17:46 GMT+02:00 Peter Debuchev :

> Dear Utkarsh,
> I tried to reproduce the error as described in my previous email, but
> haven't been able to until now, don't know what happend. The attached code
> attaches to a pvserver at localhost:1 and adds a sphere every half
> second. Unfortunately it crashes as soon as I connect ParaView to the same
> server.
> I guess I'll have to give up programming ParaView and work the old way,
> writing VTK files and loading them in ParaView. It is way too complicated.
>
> Peter
>
> 2016-06-24 7:08 GMT+02:00 Peter Debuchev :
>
>> Thank you for the patch. There is still something missing. If I modify
>> the custom client such that it adds an object every half second or so, then
>> first start this clients and then ParaView after a few seconds, ParaView
>> misses one of the objects. ParaView finds those objects that are added
>> before ParaView starts and those that are added later. But during ParaView
>> startup one of the objects is lost.
>> I'll see if I can make this reproducible and send a code example in the
>> next days.
>>
>> Peter
>>
>> 2016-06-22 17:25 GMT+02:00 Utkarsh Ayachit :
>>
>>> > can you give a quick update whether the suggested bug fix is likely to
>>> be
>>> > solved:
>>>
>>> Here you go:
>>> https://gitlab.kitware.com/paraview/paraview/merge_requests/844
>>>
>>> Once the dashboards come back clean, this will get merged. If do get
>>> around to testing it, I'd suggest getting involved and giving the
>>> merge-request a +1 ;).
>>>
>>> Utkarsh
>>>
>>
>>
>
___
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] Invisible volume rendering in client/server mode

2016-07-11 Thread Gunnar Jansen
Oh, I forgot to mention the data type in my previous post.
You are indeed right, it is an unstructured grid. In order to make sure it
is not related to my input files, I tried with the example case XX as well
with the same results.
ParaView was built with the OpenGL2 rendering backend, as this seems to be
the new standard also with the pre-compiled clients.
I think this is not a MPI issue, as also starting only a single process
does not solve the problem.

Gunnar

2016-07-11 20:35 GMT+02:00 Utkarsh Ayachit :

> Odd. I wonder if it's driver related. Did you build ParaView with
> VTK_RENDERING_BACKEND set to OpenGL2? Also, "-tdx"/"-tdy" could indeed
> slow things down as it's now rendering for a tiledisplay rather than
> for a client. The rendering works in that case, since the client is
> rendering on it's own. Also what is the datatype you're rendering? I'd
> suspect it's an unstructured grid or a multiblock of unstructured
> grid.
>
> Utkarsh
>
> On Sat, Jul 9, 2016 at 3:28 AM, Gunnar Jansen 
> wrote:
> > Dear ParaView users,
> >
> > I recently set up a pvserver on our small cluster. I used the most recent
> > stable ParaView release 5.1 and compiled from source.
> >
> > The connection and rendering in client/server mode works fine in all
> > representations except the "Volume" rendering. Here, depending on the
> model,
> > either no model is shown at all (just the standard 3D render screen), or
> the
> > previous representation with artifacts shows up. This seems to be a
> problem
> > of the --use-offscreen-rendering flag that I use in the pvserver startup.
> >
> > I run the server on a node with 2 CPU (with 10 cores each) and 2 Nvidia
> > Tesla K40c. I start the server with:
> >
> > xinit /usr/mpi/gcc/openmpi-1.6.5/bin/mpirun -np 4 pvserver -display :0.0
> > --use-offscreen-rendering   : -np 4 pvserver -display :0.1
> > --use-offscreen-rendering
> >
> > In the client the threshold for remote rendering is set to 0.
> >
> > If I pass additionally the -tdx=1 and -tdy=1 flags the volume rendering
> is
> > performed correctly, but the overall speed is decreased greatly.
> >
> > Thank you in advance for any help!
> >
> > Gunnar
> >
> >
> > ___
> > 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