Re: [Paraview] [EXTERNAL] Re: Make animation from steady state result

2018-02-02 Thread Andrew Parker via ParaView
Cory,

As a follow up.  Can I ask if it would be possible to do all that is
suggested on Scott's page:
https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#
Animating_a_static_vector_field

Along with all of your additional steps below from your last post (be great
to add these to Scott's page), entirely in pvpython or pvbatch?  I make use
of the anaconda version from here: https://anaconda.org/conda-forge/paraview

Would it be possible do you think to script all of this? I have not tired
it yet I should add just checking for show stoppers before I begin.
Thanks,
Andy

On 19 January 2018 at 13:18, Cory Quammen <cory.quam...@kitware.com> wrote:

> Andrew,
>
> Responses inlined below:
>
> On Fri, Jan 19, 2018 at 6:27 AM, Andrew Parker via ParaView
> <paraview@paraview.org> wrote:
> > Dear all,
> >
> > Sorry to post onto an old thread. I have been reading this thread and the
> > related write up here:
> > https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#
> Animating_a_static_vector_field
> >
> > This thread (and the tips and tricks post) is really close to what I
> want to
> > do, but I have a few follow-up questions.  I too have a steady-state
> > solution field. I want to trace particles from the inlet of my domain to
> the
> > exit, following the steady-state velocity field, and report for each
> > particle the temperature-time history (or any other scalar from my
> > simulation) that the particle sees.  In additional and crucially, the
> time
> > the particle has within the domain: a residence time.  The residence time
> > would be the maximum value or IntegrationTime each particle attains
> before
> > it leaves the domain.
> >
> > I see that if I follow the notes I can plot (using Glyphs) the
> temperature
> > as it varies across my domain as the particles are animated down the
> > streamlines: this is working.  What I do not seem to be able to find
> > however, is the IntegrationTime.  It appears as point-field data after
> the
> > streamlines are created, but vanishes after the contour filter is
> applied.
> > I guess the contour filter is computing a singular value for all values
> of
> > the IntegrationTime from T=0 to T=N with a specific level of granularity.
>
> By default, the Contour filter does not copy the scalar field used to
> determine the contour surface since it will always be the same value.
> You can tell it to copy the scalar field by enabling the Compute
> Scalars option.
>
> > However, I can't seem to extract the specific value of IntegrationTime
> (the
> > contour value) when I stop the simulation at any given point.  Do you
> know
> > how to do that?  The "time" scale in the VCR window always goes from 0->1
> > not from 0->(max value of IntegrationTime in seconds).  Can the actual
> value
> > of time be backed out or animated? If so how do I do that, or am I
> applying
> > the Contour filter wrongly: as per the post, I am only using the default
> > values in the Counter filter panel.
>
> Instead of using the Sequence animation mode, use Real Time. Then, set
> the Start Time to the minimum IntegrationTime value and End Time to
> the maximum IntegrationTime value. You can see these listed either in
> the Information tab of the StreamTracer filter in the Pipeline Browser
> or under the Contour filter's Property tab under the Isosurfaces
> section (Value Range). To show the current time in the render view,
> use an Annotate Time source, available in the Sources menu.
>
> > Finally, and importantly for me, while the Glyphs move across the screen
> > following the streamlines, and render via the temperature field, how to I
> > actually extract information from this pseudo time series to perform
> > analysis?  For example, the min and max temperature seen by a particle
> as it
> > moved across the streamline for instance?  I'm actually hoping to plot
> > offline (as a function of IntegrationTime) the min and max temperature
> > obtained for each particle: I can then take the min and max of that set
> for
> > the quickest and slowest particles.
>
> You can run the Connectivity filter on the StreamTracer output to
> assign a unique value to each streamline. This unique value will be
> called RegionId. It starts at 0 and ends at the number of stream lines
> minus 1. Selecting each stream line can be done with the Threshold
> filter in ParaView using the RegionId as the threshold array, then you
> can see the min/max of your temperature and IntegrationTime variables
> in the Information tab. Iterating over all stream lines and saving the
> min/max of the different scalar fields is possible using Par

[Paraview] Fwd: Integrate Variables Over a Volume

2018-02-02 Thread Andrew
[Sorry, I forgot to change the mail address to Paraview. So copying it to
the list.]

Hello. I use ParaView 5.4.1 and I checked Integrate Variables on volume
now. It works but, as in some other cases in ParaView, it requires the
single entities type. For example, if you have a domain (volume) and
boundaries (surfaces), it will not work on you whole input. Use Extract
Block to extract the "real" volume prior the Integrate Variables.
There is the other thing that is not very good concerning this "entity type
problem". If you use the Calculator filter on mixed entities (fluid domain
+ boundaries) it says that it cannot find a variable, although it shows
this variable in it's drop-down list. It's confusing if you encounter this
the first time or have forgotten about this issue. May be it would be
better to introduce some sort of message to inform a user that there is a
"mixed entity issue".

2018-02-01 22:59 GMT+03:00 Steytler, Louis Louw :

> Hi Everyone,
>
> Is there a way to integrate point or cell data over a volume in ParaView?
>
> It seems the "Integrate Variables" filter only integrates point and cell
> data over lines and surfaces. From the help documentation:
>
> "The Integrate Attributes filter integrates point and cell data over lines
> and surfaces. It also computes length of lines, area of surface, or volume.
> "
>
> I tried integrating over a volume, but this produced an error.
>
> Is there another way to do this?
>
> Any advice would be much appreciated.
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Integrate Variables

2018-02-01 Thread Andrew
Hello. The Intergate Variables filter just calculate the area integral of
each variable. If you need the mass flow then your workflow is correct. I
use the same approach:
1. Slice + coordinate thresholds if it's needed to bound the sloce.
2. Calculator filter with the function like
MassFlux=Density*VelocityVector*SurfaceNormalVector
3. Intergate Variables. The MassFlux integral is what we need.
Regarding the time dependence I cannot suggest you something because I
didn't work with transient cases in ParaView (I use CFD Post for
transients).
I also don't know the simple way to filter just one variable to integrate.
If you have lots of variables like in CFD results it's very inconvenient to
dig through all variables in Intagrate results.

2018-02-01 15:56 GMT+03:00 Andrew Roberts <and...@thevisualroom.com>:

> Hello,
>
> I have a function for mass flowrate that I want to plot over a time period
> DT. The velocity is time averaged per timestep dt, not the whole time
> period, DT. In otherwords the number of timesteps is DT/dt.
>
> mdot(T) = int_A (rho . u(T) . n . alpha(T)) dA
>
> mdot(T) is the massflow rate over time (kg/s)
> int_A () dA is the integral over the area of a slice through the domain
> (m^2)
> rho is the density of the particle phase and this is constant (kg/m^3)
> u(T) is the time averaged velocity of the particle phase for a timestep of
> dt and varies with time, T (m/s)
> n is the unit vector normal to the area (-)
> alpha is the time averaged volume fraction of the particle phase and also
> varies with time T (-)
>
> I think I am pretty sure that I can compute rho . u . n . alpha
>
> My process in paraview:
>
> Slice > Origin = 0, 0, 0, Normal = 0, 1, 0, Slice Type = Plane
>
> This is the part in the brackets of the massflow rate equation. Mean just
> means time averaged:
>
> Calculator > abs(U1Mean_Y)*2900*alpha1Mean
>
> Now I must integrate this over the area of the slice.
>
> *** Is it correct to use the Filter > IntegrateVariables? ***
>
> I then use PlotSelectionOverTime (which I'm pretty sure is right).
>
> Kind regards,
>
> Andrew
>
>
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] Integrate Variables

2018-02-01 Thread Andrew Roberts
Hello,

I have a function for mass flowrate that I want to plot over a time period
DT. The velocity is time averaged per timestep dt, not the whole time
period, DT. In otherwords the number of timesteps is DT/dt.

mdot(T) = int_A (rho . u(T) . n . alpha(T)) dA

mdot(T) is the massflow rate over time (kg/s)
int_A () dA is the integral over the area of a slice through the domain
(m^2)
rho is the density of the particle phase and this is constant (kg/m^3)
u(T) is the time averaged velocity of the particle phase for a timestep of
dt and varies with time, T (m/s)
n is the unit vector normal to the area (-)
alpha is the time averaged volume fraction of the particle phase and also
varies with time T (-)

I think I am pretty sure that I can compute rho . u . n . alpha

My process in paraview:

Slice > Origin = 0, 0, 0, Normal = 0, 1, 0, Slice Type = Plane

This is the part in the brackets of the massflow rate equation. Mean just
means time averaged:

Calculator > abs(U1Mean_Y)*2900*alpha1Mean

Now I must integrate this over the area of the slice.

*** Is it correct to use the Filter > IntegrateVariables? ***

I then use PlotSelectionOverTime (which I'm pretty sure is right).

Kind regards,

Andrew
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Make animation from steady state result

2018-01-19 Thread Andrew Parker
Thank you very much for these comments.  I'll give them a go and follow up
if need be.
Thanks,
Andy

On 19 January 2018 at 13:18, Cory Quammen <cory.quam...@kitware.com> wrote:

> Andrew,
>
> Responses inlined below:
>
> On Fri, Jan 19, 2018 at 6:27 AM, Andrew Parker via ParaView
> <paraview@paraview.org> wrote:
> > Dear all,
> >
> > Sorry to post onto an old thread. I have been reading this thread and the
> > related write up here:
> > https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#
> Animating_a_static_vector_field
> >
> > This thread (and the tips and tricks post) is really close to what I
> want to
> > do, but I have a few follow-up questions.  I too have a steady-state
> > solution field. I want to trace particles from the inlet of my domain to
> the
> > exit, following the steady-state velocity field, and report for each
> > particle the temperature-time history (or any other scalar from my
> > simulation) that the particle sees.  In additional and crucially, the
> time
> > the particle has within the domain: a residence time.  The residence time
> > would be the maximum value or IntegrationTime each particle attains
> before
> > it leaves the domain.
> >
> > I see that if I follow the notes I can plot (using Glyphs) the
> temperature
> > as it varies across my domain as the particles are animated down the
> > streamlines: this is working.  What I do not seem to be able to find
> > however, is the IntegrationTime.  It appears as point-field data after
> the
> > streamlines are created, but vanishes after the contour filter is
> applied.
> > I guess the contour filter is computing a singular value for all values
> of
> > the IntegrationTime from T=0 to T=N with a specific level of granularity.
>
> By default, the Contour filter does not copy the scalar field used to
> determine the contour surface since it will always be the same value.
> You can tell it to copy the scalar field by enabling the Compute
> Scalars option.
>
> > However, I can't seem to extract the specific value of IntegrationTime
> (the
> > contour value) when I stop the simulation at any given point.  Do you
> know
> > how to do that?  The "time" scale in the VCR window always goes from 0->1
> > not from 0->(max value of IntegrationTime in seconds).  Can the actual
> value
> > of time be backed out or animated? If so how do I do that, or am I
> applying
> > the Contour filter wrongly: as per the post, I am only using the default
> > values in the Counter filter panel.
>
> Instead of using the Sequence animation mode, use Real Time. Then, set
> the Start Time to the minimum IntegrationTime value and End Time to
> the maximum IntegrationTime value. You can see these listed either in
> the Information tab of the StreamTracer filter in the Pipeline Browser
> or under the Contour filter's Property tab under the Isosurfaces
> section (Value Range). To show the current time in the render view,
> use an Annotate Time source, available in the Sources menu.
>
> > Finally, and importantly for me, while the Glyphs move across the screen
> > following the streamlines, and render via the temperature field, how to I
> > actually extract information from this pseudo time series to perform
> > analysis?  For example, the min and max temperature seen by a particle
> as it
> > moved across the streamline for instance?  I'm actually hoping to plot
> > offline (as a function of IntegrationTime) the min and max temperature
> > obtained for each particle: I can then take the min and max of that set
> for
> > the quickest and slowest particles.
>
> You can run the Connectivity filter on the StreamTracer output to
> assign a unique value to each streamline. This unique value will be
> called RegionId. It starts at 0 and ends at the number of stream lines
> minus 1. Selecting each stream line can be done with the Threshold
> filter in ParaView using the RegionId as the threshold array, then you
> can see the min/max of your temperature and IntegrationTime variables
> in the Information tab. Iterating over all stream lines and saving the
> min/max of the different scalar fields is possible using ParaView's
> Python scripting capabilities. However, you may find it faster to
> export the data to a tool with which you are more familiar.
>
> To do that, I would suggest saving the Connectivity filter output to a
> .csv file. The CSV file will contain all the scalar fields in
> different columns, including the aforementioned RegionId field. Simply
> filter on the RegionId field using your favorite software/plotting
> tool to find the min and m

Re: [Paraview] [EXTERNAL] Re: Make animation from steady state result

2018-01-19 Thread Andrew Parker via ParaView
Dear all,

Sorry to post onto an old thread. I have been reading this thread and the
related write up here:
https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field

This thread (and the tips and tricks post) is really close to what I want
to do, but I have a few follow-up questions.  I too have a steady-state
solution field. I want to trace particles from the inlet of my domain to
the exit, following the steady-state velocity field, and report for each
particle the temperature-time history (or any other scalar from my
simulation) that the particle sees.  In additional and crucially, the time
the particle has within the domain: a residence time.  The residence time
would be the maximum value or IntegrationTime each particle attains before
it leaves the domain.

I see that if I follow the notes I can plot (using Glyphs) the temperature
as it varies across my domain as the particles are animated down the
streamlines: this is working.  What I do not seem to be able to find
however, is the IntegrationTime.  It appears as point-field data after the
streamlines are created, but vanishes after the contour filter is applied.
I guess the contour filter is computing a singular value for all values of
the IntegrationTime from T=0 to T=N with a specific level of granularity.
However, I can't seem to extract the specific value of IntegrationTime (the
contour value) when I stop the simulation at any given point.  Do you know
how to do that?  The "time" scale in the VCR window always goes from 0->1
not from 0->(max value of IntegrationTime in seconds).  Can the actual
value of time be backed out or animated? If so how do I do that, or am I
applying the Contour filter wrongly: as per the post, I am only using the
default values in the Counter filter panel.

Finally, and importantly for me, while the Glyphs move across the screen
following the streamlines, and render via the temperature field, how to I
actually extract information from this pseudo time series to perform
analysis?  For example, the min and max temperature seen by a particle as
it moved across the streamline for instance?  I'm actually hoping to plot
offline (as a function of IntegrationTime) the min and max temperature
obtained for each particle: I can then take the min and max of that set for
the quickest and slowest particles.

Using the latest stock version of paraview.

Cheers,
Andy

On 6 June 2014 at 20:30, Scott, W Alan  wrote:

> Ken and Jean, excellent idea!  I liked it so much that I wrote it up in
> the SNL ParaView tutorials, tips and tricks page.  It is located here:
> http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of 
> *Moreland,
> Kenneth
> *Sent:* Friday, June 06, 2014 11:43 AM
> *To:* David E DeMarle; minh hien
> *Cc:* paraview@paraview.org
>
> *Subject:* [EXTERNAL] Re: [Paraview] Make animation from steady state
> result
>
>
>
> Here's a more expanded list of steps outlining the solution David gave in
> case you are not very familiar with the contour filter and animation
> controls in ParaView.
>
>
>
> 1. Create the streamlines as you normally would.
>
>
>
> 2. Add a Contour filter to the streamline (third toolbar, second button
> from the left).
>
> 2.a. Change the Contour By property to IntegrationTime.
>
> 2.b. Press Apply.
>
> This little trick will create a point on each streamline at a particular
> time in the particle advection simulation that created the streamlines.
>
>
>
> 3. Open the Animation View (View -> Animation View)
>
> 3.a. On the bottom row, select the contour filter in the first chooser box
> and Isosurfaces in the second chooser box. Then hit the blue plus button at
> the left.
>
> 3.b. Make sure Mode is set to Sequence and change No. Frames to 100.
>
> 3.c. Hit the play button in the VCR controls (green triangle in the top
> toolbar). You will see the dots animate over the streamlines.
>
> 3.d. You can adjust the speed of the animation by changing the No. Frames.
>
>
>
> 4. If you want to see glyphs instead of dots, just add the glyph filter to
> the output of the contour filter.
>
>
>
> BTW, props to Jean Favre for originally posting this solution to the
> ParaView mailing list (http://markmail.org/message/ms57z7jjubh2pzjg).
>
>
>
> -Ken
>
>
>
> *From: *David E DeMarle 
> *Date: *Thursday, June 5, 2014 8:07 AM
> *To: *minh hien 
> *Cc: *"paraview@paraview.org" 
> *Subject: *[EXTERNAL] Re: [Paraview] Make animation from steady state
> result
>
>
>
> Make an isocontour of the streamlines' integrationTime variable.
>
> Then in animation view, make a track for the isocontour value.
>
>
> David E DeMarle
> Kitware, Inc.
> R Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
>
>
> On Thu, Jun 5, 2014 at 9:52 AM, minh hien  wrote:
>
> Hi 

Re: [Paraview] PV4.10 extracting a surface

2017-12-20 Thread Andrew
Hello. Possibly the Slice filter with "Cylinder" and "Crinkle slice"
options will produce the required result (I checked in ParaView 5.2).

2017-12-20 18:46 GMT+03:00 Andy Bauer :

> The Threshold filter works by selecting cells that have cell data in the
> selected range. If you're requesting to do thresholding on a point data
> array then it will use the point data to cell data filter to create a cell
> data array and threshold on that. With this, it's very unlikely that any
> cell data ends up with exactly a value of .1. It sounds like what you want
> is to use the Contour filter on your rad array.
>
> On Wed, Dec 20, 2017 at 10:32 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> I believe you're getting  the warning because the threshold ended up
>> not producing any output. If you can attach the state/data file, I may
>> be able to can give more info.
>>
>> Utkarsh
>>
>> On Wed, Dec 20, 2017 at 10:15 AM, Stephen Wornom
>>  wrote:
>> > The geometry is a cylinder.
>> > Using the calculator I do
>> > rad =sqrt( x**2+y**2)
>> > I would like to extract the cylinder surface which is rad = 0.1
>> > I click on threshold then information to see rad 0.1> > I click on extract and enter the values min = 0.1 and max 0.1 for rad
>> > I get this message
>> > warning: In
>> > /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuper
>> build-Release/paraview/src/paraview/ParaViewCore/
>> ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx,
>> > line 279
>> >
>> > vtkSMPVRepresentationProxy (0x359fd080): Could not determine array
>> range.
>> >
>> >
>> > Any ideas to the solution of my problem?
>> > Thanks in advance,
>> > Stephen
>> >
>> > ___
>> > 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:
>> > https://paraview.org/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:
>> https://paraview.org/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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Integrate variable filter

2017-12-01 Thread Andrew
Hello.
For calculationg volumes and areas, the "Cell Data" attribute type of
Integrate variables filter is usable. You don't need to define additional
constant field for this. I checked it now and it seems to give the correct
domain volume (554 m3 in SolidWorks, 557 m3 in ParaView). The error may be
due to unequality of mesh and "ideal" geometry. You can also use the
Threshold filter before the Intergate variables to define the custom volume
(with particular scalar values).

2017-12-01 12:08 GMT+03:00 Lionel Wilhelm :

> Dear Paraviewers,
>
> I'm trying to compute a closed volume in paraview. For that purpose, I
> define a constant field with value 1 on the domain and use the integrate
> filter. Unfortunately the result does not seem to be correct.
>
> Attached a screenshot of the GUI where I try to compute the volume of a
> cube which volume is  0.075^3.
>
> I guess that floating point operations error might result in this error
> but I'm unsure. Furthermore could you tell me if there is a mean for
> computing such small volumes enclosed in complex surfaces?
>
> Kindly,
>
> 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


Re: [Paraview] Equally spaced points on a slice (for the streamlines)

2017-11-23 Thread Andrew
Hello, Kenichiro Yoshimi, and thanks for your help.
I tried the Smooth filter just now. It works, but it seems to be not
appropriate with very irregular point distributions. Things look only a bit
better with it.
I also tried this filter after Mask Points with Random sampling +
Randomized ID strides that generates more even distribution than initial
seed. But the Smooth filter tells that, in this case, it has "nothing to
smooth".
Mask points filter works being applied after the Smooth (with default 20
iterations) but it's not better than just Mask Point on initial slice with
Random Sampling + Randomized ID strides.
The way that look simple is just to create glyphs with Uniform spatial
distribution option and to apply the Streamlines to these glyphs as source
points. But here is an another "snake in the grass": although there is an
appropriate number of glyphs when I visualize them, the Streamline filter
tries to draw lines from every point of initial slice, not from "glyphed"
points.
So I still stay with Mask Points + Random sampling + Randomized ID strides.

2017-11-23 11:48 GMT+03:00 kenichiro yoshimi <rccm.kyosh...@gmail.com>:

> Hi  Andrew,
>
> Would you try to apply the set of filters with Smooth, Subdivide and
> Mask Points to a slice surface? The smoothing process helps to secure
> an evenly distribution of points on a slice.
>
> Thanks
>
> 2017-11-22 21:17 GMT+09:00 Andrew <antech...@gmail.com>:
> > Hello.
> > Sorry for being so slow, got lots of work with reports...
> > Just tried Mandelbrot filter applied to a slice. With defaults, it
> created a
> > kind of fractal rotated and translated relative to original slice.
> Should I
> > use some particular settings to just resample? Also, tried Wavelet and
> > Gaussian resample. These filters create volumes being appliet to the
> slice
> > so it seems that they doesnt fit my needs. Any suggestions? Is there some
> > simple filter to resample arbitrary surface in ParaView.
> > Thanks for your attention. (Now I use Mask Points with the same problem
> of
> > un-even point distribution, the best results are with Random sampling +
> > randomised ID strides, but without limiting the maximum number of points;
> > instead of this limit I preview points with glyphs and then feed these
> point
> > to the Stream tracer with custom source)
> >
> > 2017-10-25 9:41 GMT+03:00 Andrew <antech...@gmail.com>:
> >>
> >> Hello, sorry for being late.
> >> The slice may be oriented arbitrary, it may be not a flat but cylinder
> >> slice e.t.c. But often I need just axis-aligned slices. Thanks for
> >> suggestion about sources.
> >>
> >> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com
> >:
> >>>
> >>> Is the slice axis aligned? If so, you can use a regular source eg.
> >>> Wavelet or Mandlebrot to generate the evenly spaced points by setting
> the
> >>> extents appropriately.
> >>>
> >>> Utkarsh
> >>>
> >>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew <antech...@gmail.com> wrote:
> >>>>
> >>>> Hello.
> >>>> I need to distribute points on a slice equally to start streamlines
> from
> >>>> these points. The problem is that the Mask Points filter seems to not
> to
> >>>> have such option. I tried all combinations of randomizing in this
> filter but
> >>>> the problem persist. My mesh is unstructured tetra with inflation
> layers on
> >>>> wall so there are lots of cells (points) at the wall and almost all
> >>>> streamlines start in near-wall region while I need their starting
> points to
> >>>> be equally distributed along the slice. Is there a way to do it in
> ParaView?
> >>>> Thanks for attention...
> >>>>
> >>>> ___
> >>>> 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] Equally spaced points on a slice (for the streamlines)

2017-11-22 Thread Andrew
Hello.
Sorry for being so slow, got lots of work with reports...
Just tried Mandelbrot filter applied to a slice. With defaults, it created
a kind of fractal rotated and translated relative to original slice. Should
I use some particular settings to just resample? Also, tried Wavelet and
Gaussian resample. These filters create volumes being appliet to the slice
so it seems that they doesnt fit my needs. Any suggestions? Is there some
simple filter to resample arbitrary surface in ParaView.
Thanks for your attention. (Now I use Mask Points with the same problem of
un-even point distribution, the best results are with Random sampling +
randomised ID strides, but without limiting the maximum number of points;
instead of this limit I preview points with glyphs and then feed these
point to the Stream tracer with custom source)

2017-10-25 9:41 GMT+03:00 Andrew <antech...@gmail.com>:

> Hello, sorry for being late.
> The slice may be oriented arbitrary, it may be not a flat but cylinder
> slice e.t.c. But often I need just axis-aligned slices. Thanks for
> suggestion about sources.
>
> 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com>:
>
>> Is the slice axis aligned? If so, you can use a regular source eg.
>> Wavelet or Mandlebrot to generate the evenly spaced points by setting the
>> extents appropriately.
>>
>> Utkarsh
>>
>> On Mon, Oct 23, 2017 at 2:41 AM, Andrew <antech...@gmail.com> wrote:
>>
>>> Hello.
>>> I need to distribute points on a slice equally to start streamlines from
>>> these points. The problem is that the Mask Points filter seems to not to
>>> have such option. I tried all combinations of randomizing in this filter
>>> but the problem persist. My mesh is unstructured tetra with inflation
>>> layers on wall so there are lots of cells (points) at the wall and almost
>>> all streamlines start in near-wall region while I need their starting
>>> points to be equally distributed along the slice. Is there a way to do it
>>> in ParaView?
>>> Thanks for attention...
>>>
>>> ___
>>> 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] cutting unstructructured grid data with a plane

2017-11-09 Thread Andrew
Hello. If I get it right, the "Crincle slice" option of the Slice filter
may be useful for you. Further clipping by coordinates is available with
the Threshold filter.

2017-11-08 17:29 GMT+03:00 Amine Aboufirass :

> Hello,
>
>
>
> I have a 3-dimensional unstructured grid containing points with vector,
> tensor and scalar data. I would like to cut this dataset with a plane of my
> choice and then select all points that occur within this plane. Kind of
> like a cross section.
>
>
>
> I’ve already been fooling around with the “clip” filter and this does cut
> the dataset with a plane of my choice. However I don’t know how to go from
> there to actually selecting just the points that occur within that
> rectangle.
>
>
>
> Eventually I would like to achieve this using the vtk python library.
>
>
>
> Could anyone provide some guidance?
>
>
>
> Thanks
>
>
>
>
>
>
> DISCLAIMER: This message is intended exclusively for the addressee(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient please notify the sender immediately and destroy this
> message. Unauthorized use, disclosure or copying of this message is
> strictly prohibited. The foundation 'Stichting Deltares', which has its
> seat at Delft, The Netherlands, Commercial Registration Number 41146461, is
> not liable in any way whatsoever for consequences and/or damages resulting
> from the improper, incomplete and untimely dispatch, receipt and/or content
> of this e-mail.
>
> ___
> 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] Equally spaced points on a slice (for the streamlines)

2017-10-25 Thread Andrew
Hello, sorry for being late.
The slice may be oriented arbitrary, it may be not a flat but cylinder
slice e.t.c. But often I need just axis-aligned slices. Thanks for
suggestion about sources.

2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com>:

> Is the slice axis aligned? If so, you can use a regular source eg. Wavelet
> or Mandlebrot to generate the evenly spaced points by setting the extents
> appropriately.
>
> Utkarsh
>
> On Mon, Oct 23, 2017 at 2:41 AM, Andrew <antech...@gmail.com> wrote:
>
>> Hello.
>> I need to distribute points on a slice equally to start streamlines from
>> these points. The problem is that the Mask Points filter seems to not to
>> have such option. I tried all combinations of randomizing in this filter
>> but the problem persist. My mesh is unstructured tetra with inflation
>> layers on wall so there are lots of cells (points) at the wall and almost
>> all streamlines start in near-wall region while I need their starting
>> points to be equally distributed along the slice. Is there a way to do it
>> in ParaView?
>> Thanks for attention...
>>
>> ___
>> 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] Equally spaced points on a slice (for the streamlines)

2017-10-23 Thread Andrew
Hello.
I need to distribute points on a slice equally to start streamlines from
these points. The problem is that the Mask Points filter seems to not to
have such option. I tried all combinations of randomizing in this filter
but the problem persist. My mesh is unstructured tetra with inflation
layers on wall so there are lots of cells (points) at the wall and almost
all streamlines start in near-wall region while I need their starting
points to be equally distributed along the slice. Is there a way to do it
in ParaView?
Thanks for attention...
___
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] Silhouette filter

2017-10-06 Thread Andrew
Hello.
Some time ago I used the Silhouette filter for ParaView to visualize
geometry edges (not mesh but indeed *geometry* edges). But I've missed the
file and cannot find it for download now... Would, somebody, please, share
this filter or give the download link? As some other people do, I use
ParaView 5.2 as a most recent version compatible with RDP (I don't know if
it's important for the filter compatibility).
Thanks.
___
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] Removing wire frame from Ensight Gold Case Data format

2017-08-29 Thread Andrew
Hello, Niaz. Sorry for being late. I usually process such features in CFD
Post. If there is a long-time task (creating an analytical report) than I
do most visual processing in ParaView and some things that a too
non-convenient in ParaView I do in CFD Post. Fast processing like checking
current simulation state is usually done in CFD Post.
Possibly there are special types of curved slices in ParaView, I don't
know... What is great in CFD Post that it perfectly understands boundaries
including mass fluxes "from the box" for both CFX and Fluent (in ParaView I
use a simple Python script to do it, and I need to tweak this script every
time variable names change).

2017-08-25 18:14 GMT+03:00 Niaz M. via ParaView <paraview@paraview.org>:

> Hi Andrew:
> Thats a smart way to create Boundary. Just wondering if you have some
> curved boundary, how do you do it ?
>
> Niaz
>
>
>
>
> ___
> 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] solid white surface (with edges) in 3D via UI + large vector graphic pdfs

2017-08-24 Thread Andrew McRae
Hi all,

I think I am trying to do the same thing as http://public.kitware.com/
pipermail/paraview/2015-July/034441.html from two years ago: show a solid
white 3D mesh, with black lines marking the cell edges, on a white
background.

I finally got what I wanted by following Cory's instructions in that
thread, using the Python scripting window.  *I can't seem to find a way to
do this through the GUI options though... am I missing something?*

Using a black wireframe on a white background almost does what I want, but
I don't want the back of the mesh showing through the image... (it's a
non-uniform mesh of the sphere, so seeing the back cells becomes
confusing).  vtu file, in case anyone is interested:
https://www.dropbox.com/s/y3euop4nzurf9gf/ri-cs_0.vtu?dl=1

*Also, why are the generated vector images so large?*  (Export Scene, turn
off rasterization)  The pdf produced by ParaView for the above vtu (no
data, just the mesh, viewed from +Y) is over 2MB for a mesh with 6146
vertices, 6144 cells.  At first I thought this was due to shading, but it
has persisted even when making the cells fully white.

Somehow, outputting as a .eps file (~1MB) and running epspdf on this
generates a ~200KB .pdf, which is much more reasonable:
https://www.dropbox.com/s/njavup5vwubsq8p/ri-cs.pdf?dl=1

This is all with ParaView 5.0.1.  At various times I tried downloading
Paraview 5.3-5.4, but there was no improvement in this area (and, IIRC,
some regressions, such as glitchy pdfs).

Thanks,
Andrew
___
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.exe disappears?

2017-08-24 Thread Andrew
Hello. Looks like you have some antivirus-related problem.

2017-08-24 9:51 GMT+03:00 Bence Somogyi via ParaView 
:

> Dear All,
>
> Using the latest version for Windows 
> ["ParaView-5.4.1-Qt5-OpenGL2-MPI-Windows-64bit.zip
> "] I face the following problem: When I execute paraview.exe from the bin
> directory ParaView won't start, and the .exe file will disappear.
> Has anyone faced the same issue before?
>
> BR,
> Bence Somogyi
>
>
> ___
> 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] Removing wire frame from Ensight Gold Case Data format

2017-08-24 Thread Andrew
Hello.
Yes, there is a problem that exported CGNS doesnt consist BCs. So I create
slices at appropriate positions limiting their span with Threshold filter
by coordiates if needed. Another problem with BCs is that even if you have
surfaces there may be very limited variables so you cannot average by mass
flow that is absolutely unaccaptable. With slices you have all variables
that are difined in fluid domain. More suitable and simple way is using CFD
Post but it will consume a license. So I often postprocess "visual
features" in ParaView and use CFD Post's Function Calculator for averaging,
mass flow calculation on boundaries e.t.c. To my knowledge, there is no
such functionality in ParaView (various types of averaging, convenient BC
support, convenient multi-variant support, for example, if you need to open
3 separate cases and compute 10 quantities for each case, CFD Post will be
one of best choices). But, apart from consuming a license, CFD Post is not
so "feature-loaded" as ParaView. There is no Python Shell and only basic
tools in CFD Post so use what is more appropriate for particular usecases.
The thing that is called post processor in Fluent cannot be described in
good words and easily can hang. Don't use it if you can. CFD Post and
ParaView compared to this thing in Fluent are unrealistic good!

2017-08-23 17:14 GMT+03:00 Niaz M. via ParaView <paraview@paraview.org>:

> Hi Andrew:
> Thanks for sharing your experience. Yes I have figure it out CGNS works
> best so far when you want to export from Fluent. But one think I miss the
> boundary name (or ID) in CGNS. Fluent doesn't write that info when you
> export as CGNS . It only export fluid domain.
>
> I am a newbie in Paraview. If I want to share some sample dataset  to
> developer what will be best way.
>
> Niaz
>
>
>
> ___
> 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] Removing wire frame from Ensight Gold Case Data format

2017-08-23 Thread Andrew
Hello, Niaz.
I also noticed the same problem in some cases with export from Fluent. I
suspect that Fluent write files incorrectly, as if every cell was a
separate domain. It explains why ParaView becomes very slow with such files
and why we cannot remove mesh lines from representation. Sorry, cannot
suggest something useful, because didn't remember details. Maybe exporting
in CGNS or changing export options will help. Or, maybe, providing a sample
dataset to ParaView developers will help them to identify the problem and
introduce some tweak/workaround in reader.

Actually, there are various problems with exporting from Fluent and CFX in
neutral formats. Apart from the bug you mentioned, ParaView (4.3, 5.0, 5.2
for Win64) cannot open CGNS files written by CFX 18.0 Solver Manager: there
are no variables in list (I tweaked export settings without effect). At the
same time, it reads successfully CGNS written by CFX 14.5 Solver Manager.
___
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 source and its associated qt version

2017-08-08 Thread Andrew Nicholson
Is there anywhere that highlights what version of qt should be used for
building from source? Current version of qt being 5.9 from its website. Is
paraview on this version yet or an older version.
___
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] Black box when starting parvaview

2017-06-16 Thread Andrew
Ken, thanks for this idea about delayed ParaView start and about RDP
issues. Actually, I use FreeRDP 1.0.2 on CentOS 6.5 laptop, I don't know
should it work with "real" OpenGL or with "fake" OpenGL. There are also
some Citrix services on remote machine (CtxSvcHost, CitrixCseEngine
e.t.c.), maybe it affects RDP function someway...
___
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] Black box when starting parvaview

2017-06-16 Thread Andrew
Hello. I use ParaView via RDP on remote Windows-7 (x64) machine. Version
5.4.0 (x64) shows black render window...
 Disabling FXAA didn't help. Some info from About dialog: Qt version:
5.8.0, OpenGL Vendor: NVIDIA Corporation, OpenGL Version: 4.5.0 NVIDIA
377.35 (current driver version is installed), OpenGL renderer: Quadro
K4000/PCIe/SSE2. Vesrions up to 5.2 work good. I understand that it's
likely an RDP issue and don't hope that newer versions will work so just
use 5.2 on this machine.

2017-06-15 19:05 GMT+03:00 Scott, W Alan :

> Has anyone at Kitware seen this issue?
>
>
>
> On a Windows box, just open ParaView.  There will be a black window lower
> left side of the 3d view.
>
>
>
> Alan
>
>
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *Josué
> Aristide Paul Barboza
> *Sent:* Thursday, June 15, 2017 7:33 AM
> *To:* Ken Martin 
> *Cc:* Geoffrey Garner ; paraview@paraview.org
> *Subject:* Re: [Paraview] [EXTERNAL] Black box when starting parvaview
>
>
>
> Disabling the FXAA antialiasing on 3D geometry ( Menu
> Edit->Settings->Render View->disable "Use FXAA" ) has fixed my "black box"
> issue.
>
>
>
> Regards,
>
>
>
> 2017-06-15 14:54 GMT+02:00 Ken Martin :
>
> For others that have the same issue, was the solution using 5.3 or
> building against Qt4 for you?
>
>
>
> On Wed, Jun 14, 2017 at 4:08 PM, Geoffrey Garner  wrote:
>
> That seemed to solve the issue.
>
>
>
> *From: *Ken Martin 
> *Sent: *Wednesday, June 14, 2017 2:46 PM
> *To: *Scott, W Alan 
> *Cc: *Geoffrey Garner ; paraview@paraview.org
> *Subject: *Re: [Paraview] [EXTERNAL] Black box when starting parvaview
>
>
>
> I have seen this on one of my intel GPU systems as well. I think it is a
> known issue we are having with the new Qt version and those systems
> specific to Windows.  I would bet the prior version of ParaView (5.3?) will
> work. Probably if you built the 5.4 version of ParaView against Qt4 it
> would work as well.
>
>
>
> - Ken
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Jun 14, 2017 at 1:45 PM, Scott, W Alan  wrote:
>
> Only thing I can think of is to blow away your configuration files.  These
> do persist between versions, and I have seen these go bad.
> https://www.paraview.org/Wiki/ParaView_Settings_Files
> 
> .
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of 
> *Geoffrey
> Garner
> *Sent:* Wednesday, June 14, 2017 11:26 AM
> *To:* paraview@paraview.org
> *Subject:* [EXTERNAL] [Paraview] Black box when starting parvaview
>
>
>
> When I open Paraview 5.4.0 amd64 win10, I see the following black box on
> the screen. The box was not originally there and expands to the entire
> screen when data is loaded. Because the coordinate arrows should be there,
> I believe this has something to do with rendering. I have tried
> uninstalling and reinstalling the software, to no avail. Has anyone got any
> ideas?
>
>
>
>
>
>
>
> Thanks.
>
>
>
>
> ___
> 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
> 
>
>
>
>
>
> --
>
> Ken Martin PhD
>

Re: [Paraview] Unable to open .dat file in paraview

2017-03-13 Thread Andrew
Hello.
Anyway, ParaView has not full support for Fluent files (cas + dat). It
doesn't see all the variables (at least in versions up to 5.0.1 RC2 that I
use, although I know that I should update to 5.2 or 5.3). Instead of
reading Fluent format, I convert to EnSight (in Fluent) and then read in
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] [Non-DoD Source] XDMF makes paraview crash with JOIN

2017-02-13 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
In Xdmf3's reader, the assignment of variables occurs in 
XdmfArray::populateItem. The evaluation of the function occurs in XdmfFunction 
"|" denotes XdmfFunction::chunk (effectively concatenate). From there it should 
be a bunch of XdmfArray::insert calls.

Xdmf3's source in Paraview is under Paraview/VTK/ThirdParty/xdmf3.

Andrew Burns
Software Engineer | Parsons
Phone: 410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Frederic 
Perez
Sent: Saturday, February 11, 2017 6:03 PM
To: paraview@paraview.org
Subject: Re: [Paraview] [Non-DoD Source] XDMF makes paraview crash with JOIN

All active links contained in this email were disabled.  Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.  






Hi,

I have been looking closely into this problem in the past few days, and I have 
never been able to make the Xdmf3 reader to JOIN any HDF5 data. Neither with 
the JOIN() syntax nor with the "$0|$1" one. At least to populate an Attribute's 
DataItem. The Xdmf2 reader works until 10 elements are joined.

To go further in this investigation, could someone point me to the source code 
of the Xdmf3 reader, specifically where the "joining"
takes place?

Cheers
Fred


2017-02-08 23:24 GMT+01:00 Frederic Perez <fredericper...@gmail.com>:
> I must have done something wrong in my previous attempt with Xdmf3, 
> because it no longer crashes. Note that it works even without your 
> suggestion, as the JOIN() syntax works.
>
> Now the problem is that, when I click "Apply", I get the following error:
> "Failed to locate selected scalars. Will use image scalars by default 
> No scalar values found for texture input!"
>
> Note that the same exact file works with Xdmf instead of Xdmf3.
>
> Fred
>
>
> 2017-02-08 22:54 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US)
> <andrew.j.burns35@mail.mil>:
>> I think that is because Xdmf3 uses different syntax for concatenation. Try 
>> using Function="$0|$1|$2|$3|$4|$5|$6|$7|$8|$9" with the Xdmf3 reader.
>>
>> -Andrew Burns
>>
>> -Original Message-
>> From: Frederic Perez [Caution-mailto:fredericper...@gmail.com]
>> Sent: Wednesday, February 08, 2017 4:50 PM
>> To: Burns, Andrew J CTR USARMY RDECOM ARL (US) 
>> <andrew.j.burns35@mail.mil>
>> Cc: paraview@paraview.org
>> Subject: Re: [Non-DoD Source] [Paraview] XDMF makes paraview crash 
>> with JOIN
>>
>> I tried both, but Xdmf3 makes ParaView crash even earlier (directly after 
>> opening the file) while Xdmf2 makes it crash upon "Apply".
>>
>> Fred
>>
>> 2017-02-08 22:28 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US)
>> <andrew.j.burns35@mail.mil>:
>>> Are you using the Xdmf2 or Xdmf3 reader?
>>>
>>> Andrew Burns
>>> Software Engineer | Parsons
>>> Phone: 410-306-0409
>>> ARL DSRC
>>> andrew.j.burns35@mail.mil
>>>
>>> -Original Message-
>>> From: ParaView [Caution-mailto:paraview-boun...@paraview.org] On 
>>> Behalf Of Frederic Perez
>>> Sent: Wednesday, February 08, 2017 3:39 PM
>>> To: paraview@paraview.org
>>> Subject: [Non-DoD Source] [Paraview] XDMF makes paraview crash with 
>>> JOIN
>>>
>>> All active links contained in this email were disabled.  Please verify the 
>>> identity of the sender, and confirm the authenticity of all links contained 
>>> within the message prior to copying and pasting the address to a Web 
>>> browser.
>>>
>>>
>>>
>>>
>>> 
>>>
>>> Hi all,
>>>
>>> I have successfully used the JOIN Function for the XDMF reader to 
>>> concatenate the data from several HDF5 files.
>>>
>>> 
>>> 
>>> 
>>> >> TopologyType="2DCoRectMesh" Dimensions="21 10"/>
>>> 
>>> >> Dimensions="2">0.0 0.0
>>> >> Dimensions="2">0.3 0.06
>>> 
>>> 
>>> >> Function="JOIN($0,$1,$2,$3,$4,$5,$6,$7,$8,$9)" Dimensions="21 10">
>>> >> Precision="8" Dimensions="21"
>>> Format="HDF">mystuff.h5:/02/By
>>> >> Precision="8" Dimensions=&qu

Re: [Paraview] [Non-DoD Source] XDMF makes paraview crash with JOIN

2017-02-08 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
I think that is because Xdmf3 uses different syntax for concatenation. Try 
using Function="$0|$1|$2|$3|$4|$5|$6|$7|$8|$9" with the Xdmf3 reader.

-Andrew Burns

-Original Message-
From: Frederic Perez [mailto:fredericper...@gmail.com] 
Sent: Wednesday, February 08, 2017 4:50 PM
To: Burns, Andrew J CTR USARMY RDECOM ARL (US) <andrew.j.burns35@mail.mil>
Cc: paraview@paraview.org
Subject: Re: [Non-DoD Source] [Paraview] XDMF makes paraview crash with JOIN

I tried both, but Xdmf3 makes ParaView crash even earlier (directly after 
opening the file) while Xdmf2 makes it crash upon "Apply".

Fred

2017-02-08 22:28 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US)
<andrew.j.burns35@mail.mil>:
> Are you using the Xdmf2 or Xdmf3 reader?
>
> Andrew Burns
> Software Engineer | Parsons
> Phone: 410-306-0409
> ARL DSRC
> andrew.j.burns35@mail.mil
>
> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of 
> Frederic Perez
> Sent: Wednesday, February 08, 2017 3:39 PM
> To: paraview@paraview.org
> Subject: [Non-DoD Source] [Paraview] XDMF makes paraview crash with 
> JOIN
>
> All active links contained in this email were disabled.  Please verify the 
> identity of the sender, and confirm the authenticity of all links contained 
> within the message prior to copying and pasting the address to a Web browser.
>
>
>
>
> 
>
> Hi all,
>
> I have successfully used the JOIN Function for the XDMF reader to concatenate 
> the data from several HDF5 files.
>
> 
> 
> 
>  TopologyType="2DCoRectMesh" Dimensions="21 10"/>
> 
>  Dimensions="2">0.0 0.0
>  Dimensions="2">0.3 0.06
> 
> 
>  Function="JOIN($0,$1,$2,$3,$4,$5,$6,$7,$8,$9)" Dimensions="21 10">
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/02/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/07/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/12/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/17/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/22/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/27/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/32/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/37/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/42/By
>  Precision="8" Dimensions="21"
> Format="HDF">mystuff.h5:/47/By
> 
> 
> 
> 
> 
>
> However, this technique only works when joining a maximum of 10 different 
> pieces of data. If I add one DataItem in the JOIN Function, ParaView crashes 
> upon clicking "Apply".
>
> Is there a reason for this? Am I doing something wrong? Is there a workaround?
>
> Cheers
> Fred
> ___
> Powered by Caution-www.kitware.com
>
> Visit other Kitware open-source projects at 
> Caution-http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> Caution-http://paraview.org/Wiki/ParaView
>
> Search the list archives at: 
> Caution-http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> Caution-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] [Non-DoD Source] XDMF makes paraview crash with JOIN

2017-02-08 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
Are you using the Xdmf2 or Xdmf3 reader?

Andrew Burns
Software Engineer | Parsons
Phone: 410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Frederic 
Perez
Sent: Wednesday, February 08, 2017 3:39 PM
To: paraview@paraview.org
Subject: [Non-DoD Source] [Paraview] XDMF makes paraview crash with JOIN

All active links contained in this email were disabled.  Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.  






Hi all,

I have successfully used the JOIN Function for the XDMF reader to concatenate 
the data from several HDF5 files.






0.0 0.0
0.3 0.06



mystuff.h5:/02/By
mystuff.h5:/07/By
mystuff.h5:/12/By
mystuff.h5:/17/By
mystuff.h5:/22/By
mystuff.h5:/27/By
mystuff.h5:/32/By
mystuff.h5:/37/By
mystuff.h5:/42/By
mystuff.h5:/47/By






However, this technique only works when joining a maximum of 10 different 
pieces of data. If I add one DataItem in the JOIN Function, ParaView crashes 
upon clicking "Apply".

Is there a reason for this? Am I doing something wrong? Is there a workaround?

Cheers
Fred
___
Powered by Caution-www.kitware.com

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

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

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

Follow this link to subscribe/unsubscribe:
Caution-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] [Non-DoD Source] XDMF crash

2017-01-25 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
The load time is because Paraview needs a moment to load the data for the new 
timestep in. When you switch variables all the data is in memory already.

This is done because Paraview is designed to work with large datasets. For 
higher scale implementations it wouldn't be feasible to have all grids loaded 
in memory simultaneously.

>From my knowledge, Paraview actually does check if the geometry is reused and 
>doesn't reload it if that is the case. However, it still needs to do some 
>conversions behind the scenes when it loads a timestep.

-Andrew

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Daniel Frisch
Sent: Wednesday, January 25, 2017 1:44 PM
To: paraview@paraview.org
Subject: Re: [Paraview] [Non-DoD Source] XDMF crash

All active links contained in this email were disabled. Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser. 






I already tried XPath pointers, but it takes a few seconds in ParaView when I 
click to the next time frame --- whereas it takes only 0.1s to change the color 
when I switch the Active Variable for the ColorMap in ParaView's dropdown. 
I thought using SubSet, ParaView might "recognize" that it is actually all the 
same geometry. 
But meanwhile I assume ParaView always thinks the geometry might change between 
timeframes and takes much time for switching between timeframes no matter what 
file format I use. 

2017-01-25 19:24 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) 
<andrew.j.burns35@mail.mil < Caution-mailto:andrew.j.burns35@mail.mil > 
>:


From my understanding of your method, you want to use the progression 
of "time" to iterate across attribute displays?

You don't need GridType="Subset" for that (and I don't think Xdmf3 uses 
that designation anyway). Just use XPointers to point the grids to the topology 
and geometry of the first one.

Andrew Burns
Software Engineer | SAIC
Phone: 410-306-0409 < tel:410-306-0409 > 
ARL DSRC
andrew.j.burns35@mail.mil < 
Caution-mailto:andrew.j.burns35@mail.mil > 

-Original Message-
From: ParaView [Caution-mailto:paraview-boun...@paraview.org < 
Caution-mailto:paraview-boun...@paraview.org > ] On Behalf Of Daniel Frisch
Sent: Wednesday, January 25, 2017 1:14 PM
To: paraview@paraview.org < Caution-mailto:paraview@paraview.org > 
Subject: Re: [Paraview] [Non-DoD Source] XDMF crash

All active links contained in this email were disabled. Please verify 
the identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.







Hello Mr. Burns, thank you very much for your helpful answer. I changed 
the XDMF file. But now I have another question.

Now I have problems with GridType="SubSet". ParaView doesn't view the 
second and third timestep. Their grids are referenced as SubSet from the first 
grid.

This is the reason why I am doing all this: I want ParaView change the 
color on a static, fixed, large geometry as quickly as if I switched the 
surface coloring variable in the Active Variables Controls dropdown, but using 
the time playback features. It is very inconvenient to change the "timestep" by 
selecting an other variable in a Color Map drop-down menu with thousands of 
entries. Is this even possible in ParaView?




This is my XDMF content:
















2 5 12 6 5   
 2 7 62 3 78 7 34 8 31 5 48 4 5





-1 1 20 0 01 0 01 1 
00 1 00 0 11 0 11 1 .20 1 .2





0 0 0 0 0 1 1 1 1







/Xdmf/Domain/Grid/Grid[@Name=MainGrid]





0 1 2 3 4 5 6 7 8







/Xdmf/Domain/Grid/Grid[@Name=MainGrid]





8 7 6 5 4 3 2 1 0







    





2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) 
<andrew.j.burns35@mail.mil < Caution-mailto:andrew.j.burns35@mail.mil > 

Re: [Paraview] [Non-DoD Source] XDMF crash

2017-01-25 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
>From my understanding of your method, you want to use the progression of 
>"time" to iterate across attribute displays?

You don't need GridType="Subset" for that (and I don't think Xdmf3 uses that 
designation anyway). Just use XPointers to point the grids to the topology and 
geometry of the first one.

Andrew Burns
Software Engineer | SAIC
Phone: 410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Daniel Frisch
Sent: Wednesday, January 25, 2017 1:14 PM
To: paraview@paraview.org
Subject: Re: [Paraview] [Non-DoD Source] XDMF crash

All active links contained in this email were disabled. Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser. 






Hello Mr. Burns, thank you very much for your helpful answer. I changed the 
XDMF file. But now I have another question. 

Now I have problems with GridType="SubSet". ParaView doesn't view the second 
and third timestep. Their grids are referenced as SubSet from the first grid. 

This is the reason why I am doing all this: I want ParaView change the color on 
a static, fixed, large geometry as quickly as if I switched the surface 
coloring variable in the Active Variables Controls dropdown, but using the time 
playback features. It is very inconvenient to change the "timestep" by 
selecting an other variable in a Color Map drop-down menu with thousands of 
entries. Is this even possible in ParaView?




This is my XDMF content:
















2 5 12 6 52 7 6  
  2 3 78 7 34 8 31 5 48 4 5





-1 1 20 0 01 0 01 1 00 
1 00 0 11 0 11 1 .20 1 .2





0 0 0 0 0 1 1 1 1







/Xdmf/Domain/Grid/Grid[@Name=MainGrid]





0 1 2 3 4 5 6 7 8







/Xdmf/Domain/Grid/Grid[@Name=MainGrid]





8 7 6 5 4 3 2 1 0












2017-01-25 16:58 GMT+01:00 Burns, Andrew J CTR USARMY RDECOM ARL (US) 
<andrew.j.burns35@mail.mil < Caution-mailto:andrew.j.burns35@mail.mil > 
>:


This is because the Xdmf3 reader does not support the Hyperslab 
Timetype. One Time item per grid is the preferred method.

Andrew Burns
Software Engineer | SAIC
Phone: 410-306-0409 < tel:410-306-0409 > 
ARL DSRC
andrew.j.burns35@mail.mil < 
Caution-mailto:andrew.j.burns35@mail.mil > 

-Original Message-
From: ParaView [Caution-mailto:paraview-boun...@paraview.org < 
Caution-mailto:paraview-boun...@paraview.org > ] On Behalf Of Daniel Frisch
Sent: Wednesday, January 25, 2017 8:25 AM
To: paraview@paraview.org < Caution-mailto:paraview@paraview.org > 
Subject: [Non-DoD Source] [Paraview] XDMF crash

All active links contained in this email were disabled. Please verify 
the identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.






I generated the following XDMF file and tried to open it in ParaView. 
When I open it, I get a dialog with three readers to choose:
- XDMF reader
- XDMF3 reader
- XDMF3 reader (Top Level Partition)

I can open the file with "XDMF reader", but when I open it with the 
other two readers, ParaView (5.1.0 64-bit Mac) crashes.

Application Specific Information:
terminating with uncaught exception of type XdmfError: 'Value' not in 
itemProperties in XdmfTime::populateItem
abort() called

But I generated the file according to this recommendation < 
Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 < 
Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 >  >  and according to the XDMF3 < 
Caution-Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format < 
Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format >  >  standard. 
When I try to open this public example < 
Caution-Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 < 
Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 >  >  with XDMF3 in ParaView, it crashes, too.



Now this is the content of my XDMF file:










2 5 
12 6 52 7 62 3 78 7 34 8 31 5 48 4 5



Re: [Paraview] [Non-DoD Source] XDMF crash

2017-01-25 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
This is because the Xdmf3 reader does not support the Hyperslab Timetype. One 
Time item per grid is the preferred method.

Andrew Burns
Software Engineer | SAIC
Phone: 410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Daniel Frisch
Sent: Wednesday, January 25, 2017 8:25 AM
To: paraview@paraview.org
Subject: [Non-DoD Source] [Paraview] XDMF crash

All active links contained in this email were disabled. Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser. 






I generated the following XDMF file and tried to open it in ParaView. When I 
open it, I get a dialog with three readers to choose: 
- XDMF reader
- XDMF3 reader
- XDMF3 reader (Top Level Partition)

I can open the file with "XDMF reader", but when I open it with the other two 
readers, ParaView (5.1.0 64-bit Mac) crashes. 

Application Specific Information:
terminating with uncaught exception of type XdmfError: 'Value' not in 
itemProperties in XdmfTime::populateItem
abort() called

But I generated the file according to this recommendation < 
Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 >  and according to the XDMF3 < 
Caution-http://www.xdmf.org/index.php/XDMF_Model_and_Format >  standard. When I 
try to open this public example < 
Caution-http://www.paraview.org/Wiki/ParaView/Data_formats#Reading_a_time_varying_Raw_file_into_Paraview
 >  with XDMF3 in ParaView, it crashes, too. 


Now this is the content of my XDMF file:










2 5 12 6 
52 7 62 3 78 7 34 8 31 5 48 4 5





-1 1 20 0 01 0 0
1 1 00 1 00 0 11 0 11 1 .20 1 .2







0.0 
1.0 2











0 1 2 3 4 5 6 7 
8













8 7 6 5 4 3 2 1 
0












___
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] [Non-DoD Source] color mapping of XDMF and HDF5 file is not shown

2016-12-21 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
Looked into this. There are two errors going on.

1: The type should be "Float" not "Double" Xdmf defines double as float with 
precision 8.

2: There is an order of operations error in the handling of the X_Y_Z type. 
We'll put a fix for it into the next Xdmf3 reader.

-Andrew Burns

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of SeongMo Yeon
Sent: Wednesday, December 21, 2016 11:20 AM
To: paraview@paraview.org
Subject: [Non-DoD Source] [Paraview] color mapping of XDMF and HDF5 file is not 
shown

Hi,


I am woking with HDF5 and XDMF file to visualize in ParaView.

three problems are found in reading xdmf reader.

1) in MS Windows, color map is shown correctly but in Linux, color map is gone 
and nothing is shown but grid surface.

2) in Linux (not sure in Windows), Paraview 5.1.2 has problem in reading 
attribute data

3) xdmf3 reader cannot read my xdmf file. which part should I correct in order 
for xdmf3 reader working


Thanks in advance.


-- 
Seong Mo Yeon
E-mail : seongmo.y...@gmail.com
Tel :

Fluctuat nec mergitur

___
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] Regarding filtering of point data array

2016-11-07 Thread Andrew
Hello. Possibly Threshold filter will help you. To limit points by 3
coordinates try to define 3 Threshold filters in series.

2016-04-03 18:55 GMT+03:00 Vaibhav Agrawal <
vaibhav.agra...@postgrad.curtin.edu.au>:

> Hi Paraview-Help,
>
> I am working on the DEM simulations of bubbling fluidized bed using
> MFIX-DEM software.
>
> The output files of my simulations are of two type – one containing the
> cell data such gas – volume fraction, pressure etc and other file
> containing the point data such as particle positions and particle velocity.
> I want to filter my point data file, on the basis of positions, i.e., I
> want to create a subset of all the particles available at that time step,
> whose positions (X,Y,Z) lies within a certain range ([Xmin, Xmax], [Ymin,
> Ymax], [Zmin, Zmax]). For e.g. let’s suppose I have an point data array of
> size 20X7, where my 2nd,3rd and 4th columns contains the X, Y, X position
> of particles. I want to filter this point data array on the basis of
> particle position (X,Y,Z) such that my new point data array will be smaller
> in dimension (let’s say 6X7), and will have only those points, whose 2nd,
> 3rd, 4th column contains the values which lies in the user defined range.
> I hope I am able to define my problem clearly.
>
>
>
> I have tried using some filters like clip, slice etc, but didn’t worked
> out well.
>
> Is there any way - filters/python script to do this? If yes, how should I
> proceed to sort out my problem?
>
> For your reference, I am attaching here a raw file generated by MFIX-DEM,
> which has a point data array, which I want to filter. Because of point data
> array, you won’t see anything In the render view, but you’ll see the point
> data array in Spreadsheet view
>
>
>
> Thanks and Regards
>
> Vaibhav Agrawal
> PhD | Department of Chemical Engineering
>
> Faculty of Science and Engineering
>
> Curtin University
> Mobile | +61451818978
> Email | vaibhav.agra...@postgrad.curtin.edu.au
> Web | http://curtin.edu.au
>
> [image: Description: email_logo.png]
>
>
> Curtin University is a trademark of Curtin University of Technology.
> CRICOS Provider Code 00301J (WA), 02637B (NSW)
>
>
>
> ___
> 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] Volume Render Plot - Unreasonable results with vector components or magnitude

2016-11-03 Thread Andrew
Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks
like bug. Worked around with calculating the velocity magnitude as scalar.
There is also another bug or feature of volume rendering: I couldn't make
it render for all domains, it only renders one domain (for example, when I
load a CFD study results in EnSight Gold format).

2016-11-03 13:51 GMT+03:00 Dietzel Mathias :

> Hello everyone,
>
>
>
> I am using Paraview’s Volume Render plot to visualize a velocity field
> inside some technical equipment. In case of plotting a component of the
> vector field or the magnitude of the vector (both from the drop-down menu)
> with volume render I get unreasonable results, e.g. minimum or maximum
> zones are not shown correctly or the flow direction seems wrong. However,
> if I calculate a scalar value from the vector that corresponds to the
> component or to the magnitude (e.g. using the calculator filter in
> Paraview) and then plot by volume render, the fluid field is represented
> correctly.
>
>
>
> The data itself seems OK since a surface or slice plot leads to the same
> (correct) results, no matter  whether I use the vector component directly
> or the scalar value. I tested the behavior with several data sets. I am
> using Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit – both show the same
> behavior.
>
>
>
> I appreciate any comment.
>
>
>
> Best regards
>
> Mathias Dietzel
>
>
>
>
>
> ___
> 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] [Non-DoD Source] Questions about XMF - 3DCoRectMesh

2016-09-09 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
Looking at the old error reports, it's an issue of differences in indexing in 
programming languages. I guess Paraview was initially designed with Fortran's 
output in mind?

-Andrew Burns

-Original Message-
From: Lúcio Corrêa [mailto:labcor...@gmail.com] 
Sent: Friday, September 09, 2016 10:46 AM
To: Armin Wehrfritz <dkxl...@gmail.com>
Cc: Burns, Andrew J CTR USARMY RDECOM ARL (US) <andrew.j.burns35@mail.mil>; 
paraview@paraview.org
Subject: Re: [Paraview] [Non-DoD Source] Questions about XMF - 3DCoRectMesh

All active links contained in this email were disabled. Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser. 






Thanks guys!


2016-09-09 16:44 GMT+02:00 Armin Wehrfritz <dkxl...@gmail.com < 
Caution-mailto:dkxl...@gmail.com > >:


This is apparently a "very very old bug" [1] and pops up every now and
then on this mailing-list. There was apparently a plan to fix this back
in 2009 [2], but I'm doubtful that this was done.

[1] 
Caution-http://public.kitware.com/pipermail/paraview/2014-September/032263.html 
< 
Caution-http://public.kitware.com/pipermail/paraview/2014-September/032263.html 
> 
[2] 
Caution-http://public.kitware.com/pipermail/paraview/2009-May/012278.html < 
Caution-http://public.kitware.com/pipermail/paraview/2009-May/012278.html > 

-Armin







On 09/09/2016 05:15 PM, Burns, Andrew J CTR USARMY RDECOM ARL (US) 
wrote:


We noticed this also, I believe the plan is to remove the 
flipping of dimension ordering. However, I am unsure on when that will occur.

Andrew Burns
Software Engineer | Leidos
Phone: 410-306-0409 < tel:410-306-0409 > 
ARL DSRC
andrew.j.burns35@mail.mil < 
Caution-mailto:andrew.j.burns35@mail.mil > 

-Original Message-
From: ParaView [Caution-mailto:paraview-boun...@paraview.org < 
Caution-mailto:paraview-boun...@paraview.org > ] On Behalf Of Lúcio Corrêa
Sent: Friday, September 09, 2016 9:29 AM
To: paraview@paraview.org < 
Caution-mailto:paraview@paraview.org > 
Subject: [Non-DoD Source] [Paraview] Questions about XMF - 
3DCoRectMesh

Hi everbody,

I have a stupid question about the XMF - 3DCoRectMesh...

I tried to build an "extruded rectangle" using this function (I 
attached the files).

I asked for a 6 by 16 by 46 elements as you can see in the XMF 
file...

 
 
   
 -0.60
 -1.60
 -4.60

but when I open in Paraview (4.3.1 and 5.1.2) I found a 46 by 
16 by 6 elements...

I tried also to look in: 
VTK/ThirdParty/xdmf3/vtkxdmf3/XdmfRegularGrid.cpp, but I didn't found the 
reason to Paraview "change" the X axis by the Z axis.

Someone found the same thing? Or, where I made a mistake?

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] [Non-DoD Source] Questions about XMF - 3DCoRectMesh

2016-09-09 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
We noticed this also, I believe the plan is to remove the flipping of dimension 
ordering. However, I am unsure on when that will occur.

Andrew Burns
Software Engineer | Leidos
Phone: 410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Lúcio Corrêa
Sent: Friday, September 09, 2016 9:29 AM
To: paraview@paraview.org
Subject: [Non-DoD Source] [Paraview] Questions about XMF - 3DCoRectMesh

Hi everbody,

I have a stupid question about the XMF - 3DCoRectMesh...

I tried to build an "extruded rectangle" using this function (I attached the 
files).

I asked for a 6 by 16 by 46 elements as you can see in the XMF file...

 
 
   
 -0.60
 -1.60
 -4.60

but when I open in Paraview (4.3.1 and 5.1.2) I found a 46 by 16 by 6 
elements...

I tried also to look in: VTK/ThirdParty/xdmf3/vtkxdmf3/XdmfRegularGrid.cpp, but 
I didn't found the reason to Paraview "change" the X axis by the Z axis.

Someone found the same thing? Or, where I made a mistake?

Regards,
-- 

Lucio
___
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] in-plane vector field from 3D vector field

2016-09-05 Thread Andrew
AFAIK, ParaView has no capability of projecting vector on surfaces. That's
why you need to work around with Calculator every time you need to get a
vector projection. If your plane is not just a coordinate plane, you can
use Generate Surface Normals filter, but it doesn't work on all datasets
(in my case it doesn't work on Fluent data exported as EnSight Gold Binary,
it generates normals but then the Calculator only shows that Normals in
vector list, Applying leads to error message that the Normals vector
doesn't exits, so one in the listbox is, probably, a ghost or something
:)). I used this method (Generate normals + Calculator + Normals.Velocity)
extensively with EnSight Gold files exported from CFX and it worked good in
ParaView 4.3 (it was the actual version).
___
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] Mass flow average

2016-07-29 Thread Andrew
Hello. AFAIK, there is no any elementary filter to do it. I usually create
a Density*Velocity and Density*Velocity*Scalar variables in Calculators and
then apply an Integrate variable filter.  It integrates by area so I get
Rho*W*dF and Rho*W*Scalar*dF integrals. Dividing second by first I get mass
flow average of Scalar. Velocity must be a normal to control surface
component.
On Jul 29, 2016 13:08, "stephaneンドング メファネ" 
wrote:

> Hello,
>
> I would like to compute the massflow average of a scalar in paraview using
> the available filters. Any idea on the procedure is welcome.
>
> Stephane
>
> ___
> 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] [Non-DoD Source] Loading xdmf files fails in Paraview

2016-06-10 Thread Burns, Andrew J CTR USARMY RDECOM ARL (US)
Content in Xdmf's context is the data that XdmfArray contains. In XML this is 
the data between the XML tags.

For the Array:
output.h5:Data6

The "Content" is "output.h5:Data6" which is then parsed into an HDF5 reference.

The term "Content" is a carryover from the XML parser that Xdmf uses.

Andrew Burns
Lockheed Martin
Software Engineer
410-306-0409
ARL DSRC
andrew.j.burns35@mail.mil

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Elliot Kaplan
Sent: Friday, June 10, 2016 11:47 AM
To: paraview@paraview.org
Subject: [Non-DoD Source] [Paraview] Loading xdmf files fails in Paraview

I'm trying to use Paraview with xdmf files which I've generated in a python 
script (both the xml light data and the hdf5 heavy data). Initially I was 
working with Paraview-4.0.1 which I could install from apt and loaded the data 
fine. Recently I downloaded Paraview-5.0.1, which fails to load the xdmf file 
in a variety of ways. If I try to load the dataset with the Xdmf3 Reader, I get 
the following error:

'Content' not found in itemProperties in XdmfArray::populateItem
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'XdmfError'
  what():  'Content' not found in itemProperties in XdmfArray::populateItem
Aborted (core dumped)


If I try to load with the Xdmf Reader, Paraview segfaults. I found the same set 
of problems with Paraview-4.4.1.


How do I correct the lack of content in the xdmfarry? What does that even mean? 
(I don't recall there being a content tag necessary in the xdmf specification). 
I can post the xml and hdf5 files if necessary.


I would file a bug, but the bug tracker isn't accepting new users at the moment.


thanks

-Elliot

___
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 quits when run through Windows Remote Desktop

2016-04-01 Thread Andrew
Yes, I hope this is what you want.

2016-04-01 15:15 GMT+03:00 Utkarsh Ayachit :

> > Sorry for small offtopic, but I didn't notice any remote access issues
> with
> > ParaView 5.0.1 RC2 on Windows 7 x64, but I use Linux client (FreeRDP
> 1.0.2).
>
> That's curious. Can you post the OpenGL information the About dialog
> reports?
>
___
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 quits when run through Windows Remote Desktop

2016-04-01 Thread Andrew
Sorry for small offtopic, but I didn't notice any remote access issues with
ParaView 5.0.1 RC2 on Windows 7 x64, but I use Linux client (FreeRDP 1.0.2).

2016-04-01 4:58 GMT+03:00 Utkarsh Ayachit :

> You cannot use ParaVIew 5.0 or later over remote desktop anymore.
> ParaView now needs newer OpenGL (3.2 or later) and remote desktop uses
> software OpenGL implementation that only supports OpenGL 1.1. It may
> be possible to build Mesa3D (http://www.mesa3d.org/) on Windows, but I
> personally don't have much experience with Mesa3D on Windows. Maybe
> someone else can chime in.
>
> Utkarsh
>
> On Thu, Mar 31, 2016 at 8:43 PM, Chris Fisichella
>  wrote:
> > Hi,
> >
> > Paraview "started crashing" recently. It was because I switched to
> trying to
> > use it over Windows remote desktop.
> >
> > FYI,
> > Chris
> >
> >
> > ___
> > 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] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-03-21 Thread Andrew
ParaView 5.0.1 RC2 for Win-64 has been tested with my big EnSight case. I
loaded case successfully and created slice and vectors (glyphs) on it, no
any issues occured. Great thanks for debugging!

Meanwhile, I noticed that the color bar behavior is not as good as it was
in version 4.3. The color bar doesn't adjusts automatically to round
numbers (like my boss like to see in my reports :)), although it uses
correct fonts (it's known that version 4.3 didn't enlarge color bar fonts
in many cases despite of user's choice). But it's not a bug and scale can
be adjusted by hand (it's done much more faster than in CFD Post that
slowly rebuilds contour on every change on number of ticks, ParaView does
it almost instantly). I read some discussions a bit and I suppose that the
current behavior of color vr is a "common choice".

2016-03-21 8:34 GMT+03:00 Andrew <antech...@gmail.com>:

>
> *Utkarsh,*
> Thanks for notification. I will try this version as soon as possible.
>
> 2016-03-21 4:41 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com>:
>
>> Andrew,
>>
>> ParaView 5.0.1-RC2 binaries are now available for download. Please
>> give them a try and let me know if are still seeing the Ensight issue.
>>
>> Thanks
>> Utkarsh
>>
>> On Thu, Mar 17, 2016 at 10:20 AM, Utkarsh Ayachit
>> <utkarsh.ayac...@kitware.com> wrote:
>> > The binaries have not yet been generated. You'll have to use RC2, not
>> > RC1 for this fix.
>> >
>> > On Thu, Mar 17, 2016 at 5:52 AM, Andrew <antech...@gmail.com> wrote:
>> >> Hello.
>> >> I recieved an email about corrected ParaView-5.0.1 and decided to test
>> the
>> >> latest available official release for Win64:
>> >> ParaView-5.0.1-RC1-Qt4-OpenGL2-Windows-64bit.zip
>> >> I tried the same big EnSight case and the same error appeared (stat
>> failed).
>> >> Should be this release "patched" or it's not corrected yet and I
>> should wait
>> >> for another version?
>> >> Thanks.
>> >>
>> >> 2016-03-09 23:42 GMT+03:00 Utkarsh Ayachit <
>> utkarsh.ayac...@kitware.com>:
>> >>>
>> >>> This merge request should address this issue:
>> >>>
>> >>> https://gitlab.kitware.com/vtk/vtk/merge_requests/1320
>> >>>
>> >>> Once it's tested, reviewed etc. it'll be merged and I'll have it
>> >>> updated in ParaView release 5.0.1 as well.
>> >>>
>> >>> Utkarsh
>> >>>
>> >>> On Wed, Mar 9, 2016 at 9:47 AM, Utkarsh Ayachit
>> >>> <utkarsh.ayac...@kitware.com> wrote:
>> >>> > I didn't but I didn't have to :). Your investigation lead me to in
>> the
>> >>> > right direction -- it just wasn't FILE_OFFSET_BITS that was the
>> issue.
>> >>> > It was the fact that on Windows the stat function is different,
>> >>> > period. I am hoping to push a fix in for 5.0.1.
>> >>> >
>> >>> > On Wed, Mar 9, 2016 at 7:32 AM, Andrew <antech...@gmail.com> wrote:
>> >>> >> Utkarsh Ayachit,
>> >>> >>
>> >>> >> Hello. Did you try the trick with EnSight geometry file reader?
>> Thanks.
>> >>> >>
>> >>> >>
>> >>> >> 2016-03-03 17:51 GMT+03:00 Utkarsh Ayachit
>> >>> >> <utkarsh.ayac...@kitware.com>:
>> >>> >>>
>> >>> >>> > About test file. It's simple, IMHO. Generate any garbage file or
>> >>> >>> > take
>> >>> >>> > any
>> >>> >>> > existing big file. Rename it to have the geometry file name for
>> any
>> >>> >>> > small
>> >>> >>> > EnSight case. Feed this case to ParaView 5.0 under Windows x64
>> (I
>> >>> >>> > use
>> >>> >>> > Win7).
>> >>> >>> > The parsing doesnt start so the file contents doesnt matter. It
>> only
>> >>> >>> > wants
>> >>> >>> > to open file and stops because of stat() error, even ifstream()
>> is
>> >>> >>> > not
>> >>> >>> > engaged.
>> >>> >>>
>> >>> >>> Cool! Yea, that's a nitfy little test case :). I'll give it a try.
>> >>> >>>
>> >>> >>> Utkarsh
>>

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-03-20 Thread Andrew
*Utkarsh,*
Thanks for notification. I will try this version as soon as possible.

2016-03-21 4:41 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com>:

> Andrew,
>
> ParaView 5.0.1-RC2 binaries are now available for download. Please
> give them a try and let me know if are still seeing the Ensight issue.
>
> Thanks
> Utkarsh
>
> On Thu, Mar 17, 2016 at 10:20 AM, Utkarsh Ayachit
> <utkarsh.ayac...@kitware.com> wrote:
> > The binaries have not yet been generated. You'll have to use RC2, not
> > RC1 for this fix.
> >
> > On Thu, Mar 17, 2016 at 5:52 AM, Andrew <antech...@gmail.com> wrote:
> >> Hello.
> >> I recieved an email about corrected ParaView-5.0.1 and decided to test
> the
> >> latest available official release for Win64:
> >> ParaView-5.0.1-RC1-Qt4-OpenGL2-Windows-64bit.zip
> >> I tried the same big EnSight case and the same error appeared (stat
> failed).
> >> Should be this release "patched" or it's not corrected yet and I should
> wait
> >> for another version?
> >> Thanks.
> >>
> >> 2016-03-09 23:42 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com
> >:
> >>>
> >>> This merge request should address this issue:
> >>>
> >>> https://gitlab.kitware.com/vtk/vtk/merge_requests/1320
> >>>
> >>> Once it's tested, reviewed etc. it'll be merged and I'll have it
> >>> updated in ParaView release 5.0.1 as well.
> >>>
> >>> Utkarsh
> >>>
> >>> On Wed, Mar 9, 2016 at 9:47 AM, Utkarsh Ayachit
> >>> <utkarsh.ayac...@kitware.com> wrote:
> >>> > I didn't but I didn't have to :). Your investigation lead me to in
> the
> >>> > right direction -- it just wasn't FILE_OFFSET_BITS that was the
> issue.
> >>> > It was the fact that on Windows the stat function is different,
> >>> > period. I am hoping to push a fix in for 5.0.1.
> >>> >
> >>> > On Wed, Mar 9, 2016 at 7:32 AM, Andrew <antech...@gmail.com> wrote:
> >>> >> Utkarsh Ayachit,
> >>> >>
> >>> >> Hello. Did you try the trick with EnSight geometry file reader?
> Thanks.
> >>> >>
> >>> >>
> >>> >> 2016-03-03 17:51 GMT+03:00 Utkarsh Ayachit
> >>> >> <utkarsh.ayac...@kitware.com>:
> >>> >>>
> >>> >>> > About test file. It's simple, IMHO. Generate any garbage file or
> >>> >>> > take
> >>> >>> > any
> >>> >>> > existing big file. Rename it to have the geometry file name for
> any
> >>> >>> > small
> >>> >>> > EnSight case. Feed this case to ParaView 5.0 under Windows x64 (I
> >>> >>> > use
> >>> >>> > Win7).
> >>> >>> > The parsing doesnt start so the file contents doesnt matter. It
> only
> >>> >>> > wants
> >>> >>> > to open file and stops because of stat() error, even ifstream()
> is
> >>> >>> > not
> >>> >>> > engaged.
> >>> >>>
> >>> >>> Cool! Yea, that's a nitfy little test case :). I'll give it a try.
> >>> >>>
> >>> >>> 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
> >>
>
___
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.0.0 for Windows x64 fails to open EnSight Gold files

2016-03-20 Thread Andrew
Hello.
I recieved an email about corrected ParaView-5.0.1 and decided to test the
latest available official release for Win64:
ParaView-5.0.1-RC1-Qt4-OpenGL2-Windows-64bit.zip
I tried the same big EnSight case and the same error appeared (stat
failed). Should be this release "patched" or it's not corrected yet and I
should wait for another version?
Thanks.

2016-03-09 23:42 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com>:

> This merge request should address this issue:
>
> https://gitlab.kitware.com/vtk/vtk/merge_requests/1320
>
> Once it's tested, reviewed etc. it'll be merged and I'll have it
> updated in ParaView release 5.0.1 as well.
>
> Utkarsh
>
> On Wed, Mar 9, 2016 at 9:47 AM, Utkarsh Ayachit
> <utkarsh.ayac...@kitware.com> wrote:
> > I didn't but I didn't have to :). Your investigation lead me to in the
> > right direction -- it just wasn't FILE_OFFSET_BITS that was the issue.
> > It was the fact that on Windows the stat function is different,
> > period. I am hoping to push a fix in for 5.0.1.
> >
> > On Wed, Mar 9, 2016 at 7:32 AM, Andrew <antech...@gmail.com> wrote:
> >> Utkarsh Ayachit,
> >>
> >> Hello. Did you try the trick with EnSight geometry file reader? Thanks.
> >>
> >>
> >> 2016-03-03 17:51 GMT+03:00 Utkarsh Ayachit <utkarsh.ayac...@kitware.com
> >:
> >>>
> >>> > About test file. It's simple, IMHO. Generate any garbage file or take
> >>> > any
> >>> > existing big file. Rename it to have the geometry file name for any
> >>> > small
> >>> > EnSight case. Feed this case to ParaView 5.0 under Windows x64 (I use
> >>> > Win7).
> >>> > The parsing doesnt start so the file contents doesnt matter. It only
> >>> > wants
> >>> > to open file and stops because of stat() error, even ifstream() is
> not
> >>> > engaged.
> >>>
> >>> Cool! Yea, that's a nitfy little test case :). I'll give it a try.
> >>>
> >>> 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.0.0 for Windows x64 fails to open EnSight Gold files

2016-03-09 Thread Andrew
Utkarsh Ayachit,

Hello. Did you try the trick with EnSight geometry file reader? Thanks.

2016-03-03 17:51 GMT+03:00 Utkarsh Ayachit :

> > About test file. It's simple, IMHO. Generate any garbage file or take any
> > existing big file. Rename it to have the geometry file name for any small
> > EnSight case. Feed this case to ParaView 5.0 under Windows x64 (I use
> Win7).
> > The parsing doesnt start so the file contents doesnt matter. It only
> wants
> > to open file and stops because of stat() error, even ifstream() is not
> > engaged.
>
> Cool! Yea, that's a nitfy little test case :). I'll give it a try.
>
> 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] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-03-01 Thread Andrew
Samuel, thanks for your experiment. File with size less than 2 GiB, of
course, can't expose this issue.
I read a bit more about stat() and it turned out that it should work as
64bit if FILE_OFFSET_BITS is set to 64. And it is set in other ParaView
sources but, IMHO, not in EnSight reader. Dear ParaView team, please, take
a look at this, I need to process my big case with Python script in
ParaView...
On Mar 1, 2016 18:52, "Samuel Key" <samuel...@bresnan.net> wrote:

> Andrew,
>
> Regarding your question, "Do you have any EnSight Gold-Format files
> greater than 4GB?" No, the largest EnSight *.geom file I have is 1 GB.
>
> I just tried it in PV v5.0.0.  Reading the datum set and running through
> 67 time steps did not cause any problems. I don't think this *.geom file is
> big enough to expose any of the PV reader reader problems you are
> experiencing.
>
> Sam Key
>
> On 2/29/2016 10:53 PM, Andrew wrote:
>
> Hello Samuel.
>
> Sorry, but I can't undersatand how can the file fragmentation affect it's
> readability and parsing. Even if the file has thousands of fragments and
> "brain-damaging" :) runlist in many extended FILE records on NTFS
> partition, your program, if it uses Win API, will see it like a solid file
> (althougt there will be very low performance of sequental access). So there
> should be no any faults on reading highly fragmented files.
> I have checked out the "direct" reading of EnSight case from the cluster
> via samba with ParaView 5.0.0 on Windows machine. The same error appears as
> in my first message, although there are *different files and filesystems*.
> I think the problem is not a fragmentation but a *file size*. Some
> 32-bit-like relicts or so in EnSight reader (it's just a guess, sorry if
> I'm wrong). But my hypothesis does not asks the question why does the bug
> affect only Windows versions... Maybe there are differences between
> versions concerning data types. Do you have any >4 GB binary EnSight 6 or
> Gold case to test? I can't (not allowed) to publish my case and it's also
> big enough for upload (although theoretically I can do it from my home PC).
>
>
> 2016-02-29 20:27 GMT+03:00 Samuel Key <samuel...@bresnan.net>:
>
>> Andrew,
>>
>> Let us focus on MS Windows for a moment. The NTS file system and the use
>> of the file system by the O/S is not quite as it should be.
>>
>> In my experience, the above combination routinely creates an unbelievable
>> number of file fragments. Think in terms of confetti. As time goes by, the
>> fragmentation builds. Even though you have a respectable amount of RAM, the
>> free space itself on the disk driver can get rather disorganized.
>>
>> You can start by using the MS-supplied defrager. Run this utility five to
>> seven times in a row and things might start looking better. However the
>> free-space can still remain disjointed. Personally, I prefer a 3rd party
>> utility for organizing and defraging the NTS file system (for example,
>> PerfectDisk from Raxco). Even this utility has to run a couple of times
>> plus once during the O/S re-boot phase to get a decent amount of
>> consolidated free space and a somewhat consolidate O/S paging file. All of
>> this has to be done on the O/S partition (usually C:) and the partition
>> where you read in the 5+ GB Ensight Geometry file.
>>
>> On my machine, the MS Win7 O/S has its own partition (100GB \C:) plus
>> another smaller dedicated partition for a second paging file (28GB \F:).
>> All of my simulation work including the EnSight results file-sets reside on
>> an entirely separate disk drive (280GB \G: that now needs to be even
>> larger). The 3rd party file consolidation software runs "day and night" on
>> the \G: partition.
>>
>> Just to emphasize the point, copying the 5+ GB EnSight geometry file on
>> to workstation can result in many scattered fragments even when the
>> free-space starts out consolidated. If the free space is not consolidated,
>> the file fragmentation will be even more.
>>
>> The attached screen capture, shows the O/S managed paging-file (brown) in
>> the \C: partition is beginning to fragment.
>>
>> If you go down this path and it helps, please let me know the outcome.
>>
>> Regards,
>>
>> Sam Key
>>
>> On 2/29/2016 1:04 AM, Andrew wrote:
>>
>> Another "experimental data". I was able to load this big case in ParaView
>> viat the CGNS format. It was neccesary to select CGNS 3.0 and HDF5 options
>> in CFX Converter. But when I apply the Extract Block filter I see no any
>> boundaries, only fluid domain (th

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-29 Thread Andrew
Sorry for many posts, but, I think, I found something interesting (or I
just think so :)). I digged a *stat*() usage in ParaView at official GitHub
source repository. If I get it right, there are two types of this function:
*stat*() and *stat64*(). My only program that deals with large files is a
disk editor & NTFS data recovery for Windows (it's free and was made at
home), this program uses WinAPI, not C/C++ calls for file operations. So I
don't know much about fopen/fclose/stat/e.t.c. on large files. So we have
*stat* and *stat64* + corresponding data structures. We can see an example
in this source:
https://github.com/Kitware/VTK/blob/eae7f4446c867ee9d29b466676fa11282d56dafc/IO/LSDyna/private/LSDynaFamily.cxx
For 64-bit configurations this code uses *stat64()* and *stat64* structure.

But if we look at the problematic place in *EnSight reader* we will only
see the "usual" *stat*() that is, to my current knowledge, is 32 bit:
https://github.com/Kitware/VTK/blob/master/IO/EnSight/vtkEnSightGoldBinaryReader.cxx
(Please see lines 100 and 101)
May it be the cause of the subj? Sorry if I'm wrong, I'm not a professional
programmer.


2016-03-01 9:38 GMT+03:00 Andrew <antech...@gmail.com>:

> I took a look at the code. Te problematic fragment (line 114 in
> vtkEnSightGoldBinaryReader) just checks the file's existance and opens it
> in standard way. The problem occures in *stat*() function that is fed
> with the full file name and the reference to structure to receive file
> params. I tried to read the file from Python shell and the result is the
> same. I guessed that the reason is an additional slash before the short
> file name (see error message) but small files are processed OK so the only
> assumption I can make is that the problem occures in the *stat*() itself
> on large (> ~2GiB) files due to some strange 32-bit relicts (although
> itshould work perfectly in 64-bit builds).
> Can anybody test the opening of large (3...4 GiB or more) EnSight Gold
> binary files in ParaView 5.0.0 or 5.0.1? I cannot check any assumptions
> because I only have Linux compilators set up and cannot do the
> "hello-world"-like stat() test under Windows on a large file...
>
> 2016-03-01 8:53 GMT+03:00 Andrew <antech...@gmail.com>:
>
>> Hello Samuel.
>>
>> Sorry, but I can't undersatand how can the file fragmentation affect it's
>> readability and parsing. Even if the file has thousands of fragments and
>> "brain-damaging" :) runlist in many extended FILE records on NTFS
>> partition, your program, if it uses Win API, will see it like a solid file
>> (althougt there will be very low performance of sequental access). So there
>> should be no any faults on reading highly fragmented files.
>> I have checked out the "direct" reading of EnSight case from the cluster
>> via samba with ParaView 5.0.0 on Windows machine. The same error appears as
>> in my first message, although there are *different files and filesystems*
>> .
>> I think the problem is not a fragmentation but a *file size*. Some
>> 32-bit-like relicts or so in EnSight reader (it's just a guess, sorry if
>> I'm wrong). But my hypothesis does not asks the question why does the bug
>> affect only Windows versions... Maybe there are differences between
>> versions concerning data types. Do you have any >4 GB binary EnSight 6 or
>> Gold case to test? I can't (not allowed) to publish my case and it's also
>> big enough for upload (although theoretically I can do it from my home PC).
>>
>>
>> 2016-02-29 20:27 GMT+03:00 Samuel Key <samuel...@bresnan.net>:
>>
>>> Andrew,
>>>
>>> Let us focus on MS Windows for a moment. The NTS file system and the use
>>> of the file system by the O/S is not quite as it should be.
>>>
>>> In my experience, the above combination routinely creates an
>>> unbelievable number of file fragments. Think in terms of confetti. As time
>>> goes by, the fragmentation builds. Even though you have a respectable
>>> amount of RAM, the free space itself on the disk driver can get rather
>>> disorganized.
>>>
>>> You can start by using the MS-supplied defrager. Run this utility five
>>> to seven times in a row and things might start looking better. However the
>>> free-space can still remain disjointed. Personally, I prefer a 3rd party
>>> utility for organizing and defraging the NTS file system (for example,
>>> PerfectDisk from Raxco). Even this utility has to run a couple of times
>>> plus once during the O/S re-boot phase to get a decent amount of
>>> consolidated free space and a somewhat consolidate O/S paging file. All of
>>> this h

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-29 Thread Andrew
I took a look at the code. Te problematic fragment (line 114 in
vtkEnSightGoldBinaryReader) just checks the file's existance and opens it
in standard way. The problem occures in *stat*() function that is fed with
the full file name and the reference to structure to receive file params. I
tried to read the file from Python shell and the result is the same. I
guessed that the reason is an additional slash before the short file name
(see error message) but small files are processed OK so the only assumption
I can make is that the problem occures in the *stat*() itself on large (>
~2GiB) files due to some strange 32-bit relicts (although itshould work
perfectly in 64-bit builds).
Can anybody test the opening of large (3...4 GiB or more) EnSight Gold
binary files in ParaView 5.0.0 or 5.0.1? I cannot check any assumptions
because I only have Linux compilators set up and cannot do the
"hello-world"-like stat() test under Windows on a large file...

2016-03-01 8:53 GMT+03:00 Andrew <antech...@gmail.com>:

> Hello Samuel.
>
> Sorry, but I can't undersatand how can the file fragmentation affect it's
> readability and parsing. Even if the file has thousands of fragments and
> "brain-damaging" :) runlist in many extended FILE records on NTFS
> partition, your program, if it uses Win API, will see it like a solid file
> (althougt there will be very low performance of sequental access). So there
> should be no any faults on reading highly fragmented files.
> I have checked out the "direct" reading of EnSight case from the cluster
> via samba with ParaView 5.0.0 on Windows machine. The same error appears as
> in my first message, although there are *different files and filesystems*.
> I think the problem is not a fragmentation but a *file size*. Some
> 32-bit-like relicts or so in EnSight reader (it's just a guess, sorry if
> I'm wrong). But my hypothesis does not asks the question why does the bug
> affect only Windows versions... Maybe there are differences between
> versions concerning data types. Do you have any >4 GB binary EnSight 6 or
> Gold case to test? I can't (not allowed) to publish my case and it's also
> big enough for upload (although theoretically I can do it from my home PC).
>
>
> 2016-02-29 20:27 GMT+03:00 Samuel Key <samuel...@bresnan.net>:
>
>> Andrew,
>>
>> Let us focus on MS Windows for a moment. The NTS file system and the use
>> of the file system by the O/S is not quite as it should be.
>>
>> In my experience, the above combination routinely creates an unbelievable
>> number of file fragments. Think in terms of confetti. As time goes by, the
>> fragmentation builds. Even though you have a respectable amount of RAM, the
>> free space itself on the disk driver can get rather disorganized.
>>
>> You can start by using the MS-supplied defrager. Run this utility five to
>> seven times in a row and things might start looking better. However the
>> free-space can still remain disjointed. Personally, I prefer a 3rd party
>> utility for organizing and defraging the NTS file system (for example,
>> PerfectDisk from Raxco). Even this utility has to run a couple of times
>> plus once during the O/S re-boot phase to get a decent amount of
>> consolidated free space and a somewhat consolidate O/S paging file. All of
>> this has to be done on the O/S partition (usually C:) and the partition
>> where you read in the 5+ GB Ensight Geometry file.
>>
>> On my machine, the MS Win7 O/S has its own partition (100GB \C:) plus
>> another smaller dedicated partition for a second paging file (28GB \F:).
>> All of my simulation work including the EnSight results file-sets reside on
>> an entirely separate disk drive (280GB \G: that now needs to be even
>> larger). The 3rd party file consolidation software runs "day and night" on
>> the \G: partition.
>>
>> Just to emphasize the point, copying the 5+ GB EnSight geometry file on
>> to workstation can result in many scattered fragments even when the
>> free-space starts out consolidated. If the free space is not consolidated,
>> the file fragmentation will be even more.
>>
>> The attached screen capture, shows the O/S managed paging-file (brown) in
>> the \C: partition is beginning to fragment.
>>
>> If you go down this path and it helps, please let me know the outcome.
>>
>> Regards,
>>
>> Sam Key
>>
>> On 2/29/2016 1:04 AM, Andrew wrote:
>>
>> Another "experimental data". I was able to load this big case in ParaView
>> viat the CGNS format. It was neccesary to select CGNS 3.0 and HDF5 options
>> in CFX Converter. But when I apply the Extract Block filter I see no a

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-29 Thread Andrew
Hello Samuel.

Sorry, but I can't undersatand how can the file fragmentation affect it's
readability and parsing. Even if the file has thousands of fragments and
"brain-damaging" :) runlist in many extended FILE records on NTFS
partition, your program, if it uses Win API, will see it like a solid file
(althougt there will be very low performance of sequental access). So there
should be no any faults on reading highly fragmented files.
I have checked out the "direct" reading of EnSight case from the cluster
via samba with ParaView 5.0.0 on Windows machine. The same error appears as
in my first message, although there are *different files and filesystems*.
I think the problem is not a fragmentation but a *file size*. Some
32-bit-like relicts or so in EnSight reader (it's just a guess, sorry if
I'm wrong). But my hypothesis does not asks the question why does the bug
affect only Windows versions... Maybe there are differences between
versions concerning data types. Do you have any >4 GB binary EnSight 6 or
Gold case to test? I can't (not allowed) to publish my case and it's also
big enough for upload (although theoretically I can do it from my home PC).


2016-02-29 20:27 GMT+03:00 Samuel Key <samuel...@bresnan.net>:

> Andrew,
>
> Let us focus on MS Windows for a moment. The NTS file system and the use
> of the file system by the O/S is not quite as it should be.
>
> In my experience, the above combination routinely creates an unbelievable
> number of file fragments. Think in terms of confetti. As time goes by, the
> fragmentation builds. Even though you have a respectable amount of RAM, the
> free space itself on the disk driver can get rather disorganized.
>
> You can start by using the MS-supplied defrager. Run this utility five to
> seven times in a row and things might start looking better. However the
> free-space can still remain disjointed. Personally, I prefer a 3rd party
> utility for organizing and defraging the NTS file system (for example,
> PerfectDisk from Raxco). Even this utility has to run a couple of times
> plus once during the O/S re-boot phase to get a decent amount of
> consolidated free space and a somewhat consolidate O/S paging file. All of
> this has to be done on the O/S partition (usually C:) and the partition
> where you read in the 5+ GB Ensight Geometry file.
>
> On my machine, the MS Win7 O/S has its own partition (100GB \C:) plus
> another smaller dedicated partition for a second paging file (28GB \F:).
> All of my simulation work including the EnSight results file-sets reside on
> an entirely separate disk drive (280GB \G: that now needs to be even
> larger). The 3rd party file consolidation software runs "day and night" on
> the \G: partition.
>
> Just to emphasize the point, copying the 5+ GB EnSight geometry file on to
> workstation can result in many scattered fragments even when the free-space
> starts out consolidated. If the free space is not consolidated, the file
> fragmentation will be even more.
>
> The attached screen capture, shows the O/S managed paging-file (brown) in
> the \C: partition is beginning to fragment.
>
> If you go down this path and it helps, please let me know the outcome.
>
> Regards,
>
> Sam Key
>
> On 2/29/2016 1:04 AM, Andrew wrote:
>
> Another "experimental data". I was able to load this big case in ParaView
> viat the CGNS format. It was neccesary to select CGNS 3.0 and HDF5 options
> in CFX Converter. But when I apply the Extract Block filter I see no any
> boundaries, only fluid domain (that is displayed OK). So CGNS format is not
> a wayout...
>
> 2016-02-29 9:00 GMT+03:00 Andrew <antech...@gmail.com>:
>
>> I performed another test with *EnSi.ght 6* (not Gold) format. Conversion
>> was made on Win-7 x64 machine. The same results: PV 4.3 crashed, PV 5.0
>> "cannot stat" (full error message is in my first post on this topic).
>> Sorry, now I need to work on with my report...
>>
>>
>>
>>
>>
>> 2016-02-29 8:47 GMT+03:00 Andrew < <antech...@gmail.com>
>> antech...@gmail.com>:
>>
>>> Hello. Sorry for silence, I'm usually offline on holydays, although I
>>> have internet connection and read your mail.
>>>
>>> Samuel Key
>>>
>>> Thanks for your attention.
>>>
>>> About transferring files from Linux to Windows. I use binary EnSight
>>> files because CFX converter fails to write so large files in ASCII format.
>>> But I tried to convert from CFX to EnSight (binary) on the same Win-7 x64
>>> machine with ParaView. Both installed versions (4.3 and 5.0) failed to open
>>> the geometry (I unchecked all fields). ParaView 4.3 crashed, ParaVie

[Paraview] Paraview bug found in pvtu files containing polyhedrons

2016-02-29 Thread Andrew Parker via ParaView
Dear All,

I have recently been having problems reading pvtu files in paraview when those 
files contain arbitrary polyhedrons: this is from the output of a large scale 
code that runs in parallel via mpi.  To show the problem, I have written a very 
small sample code, attached, that runs in serial but reproduces the salient 
issues experienced by my larger code when run in parallel.  It is clear, via 
the toggling a boolean, that the problem happens when vtk_polyhedrons types are 
used.  There is a short description at the top of the bug.cxx file, followed by 
instructions.  I use stock versions of paraview here, although self compiled 
ones show no difference.

In short compile the code, run it, and open the pvtu file in paraview.  You 
should see 4 cells.
Switch the “bug” bool to true, recompile, re-run it, and reopen the pvtu file.  
The screen will be blank.  

The only difference is that cells are added to the unstructured grid explicitly 
as vtk_polyhedrons using a face-stream, rather than as hexs.  I cannot do this 
in the real code!  The rest of the code is just there to produce the “serial” 
mesh, and threshold this mesh to produce two “parallel-partition” meshes.  I 
use the new ghost type framework as this is consistent with the real code, and 
this runs and compiles on OS X and gcc.  Likewise it has been build against vtk 
6.3 and the bug manifests itself in paraview 4.4 and 5.0.  Visit 2.10 does not 
have this bug and can correctly open the pvtu containing polyhedrons: this is 
my current workaround.

Can any of the developers shed light on this?  Is a fix known, if so when will 
it be released?  Do others have this problem [1, 2, 3] outside of those long 
reported? Does anyone else have workarounds?

Any help really appreciated, 
Andy

[1] http://public.kitware.com/pipermail/vtkusers/2015-May/090835.html
[2] https://cmake.org/pipermail/paraview/2012-October/026456.html
[3] https://cmake.org/pipermail/paraview/2015-January/032950.html



bug.cxx
Description: Binary data
cmake_minimum_required(VERSION 2.8)

PROJECT(ptvuBug)

set(CMAKE_COLOR_MAKEFILE ON)
   


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra -Wall -Wconversion 
-Wuninitialized -std=c++11 -Wno-sign-conversion -Werror=ignored-qualifiers 
-Werror=unused-local-typedefs -Werror=return-type -Werror=cast-qual")

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

ADD_EXECUTABLE(bug bug.cxx)
TARGET_LINK_LIBRARIES(bug ${VTK_LIBRARIES})
 


___
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.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-29 Thread Andrew
Another "experimental data". I was able to load this big case in ParaView
viat the CGNS format. It was neccesary to select CGNS 3.0 and HDF5 options
in CFX Converter. But when I apply the Extract Block filter I see no any
boundaries, only fluid domain (that is displayed OK). So CGNS format is not
a wayout...

2016-02-29 9:00 GMT+03:00 Andrew <antech...@gmail.com>:

> I performed another test with *EnSight 6* (not Gold) format. Conversion
> was made on Win-7 x64 machine. The same results: PV 4.3 crashed, PV 5.0
> "cannot stat" (full error message is in my first post on this topic).
> Sorry, now I need to work on with my report...
>
>
>
>
>
> 2016-02-29 8:47 GMT+03:00 Andrew <antech...@gmail.com>:
>
>> Hello. Sorry for silence, I'm usually offline on holydays, although I
>> have internet connection and read your mail.
>>
>> Samuel Key
>>
>> Thanks for your attention.
>>
>> About transferring files from Linux to Windows. I use binary EnSight
>> files because CFX converter fails to write so large files in ASCII format.
>> But I tried to convert from CFX to EnSight (binary) on the same Win-7 x64
>> machine with ParaView. Both installed versions (4.3 and 5.0) failed to open
>> the geometry (I unchecked all fields). ParaView 4.3 crashed, ParaView 5.0
>> just cannot open file...
>>
>> I think that the root cause may be a geometry file size. It is 4.9 GiB
>> (5.3 GB), mesh have about 150 millions of cells, not 600 thusands like in
>> your case. Its possible that ParaView for Windows cannot process so large
>> EnSight files, although the Linux version reads in this geometry and
>> displays outline (swapping is so intensive so I cannot displaye something
>> else).
>>
>> 2016-02-26 19:31 GMT+03:00 Samuel Key <samuel...@bresnan.net>:
>>
>>> Andrew,
>>>
>>> For what it is worth, I use ParaView
>>> (ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit) on Windows-7 64bit. I just now
>>> tested two medium-sized, EnSight Gold-formatted simulation results files
>>> (600,000 finite elements) and both worked.
>>>
>>> In the past, I have had difficulty with the EnSight ASCII-formatted
>>> *.case file when moving the simulation results (*.case file and friends)
>>> from MS Windows to EnSight running on a linux platform. It was necessary to
>>> pass the ASCII *.case file through a 'dos2unix' filter. Transferring files
>>> the other way might have the same problem???
>>>
>>> Hope this helps.
>>>
>>> Samuel Key
>>> FMA Development, LLC
>>> 1005 39th Ave NE
>>> Great Falls, Montana 59404
>>> USA
>>>
>>> On 2/25/2016 11:26 PM, Andrew wrote:
>>>
>>> Hello. We use Ansys CFX in our work but the standard post-processor
>>> CFD-Post consumes one of Ansys licenses while Paraview is free. So I often
>>> make pictures for reports with ParaView to preserve Ansys license for
>>> another users/needs (because other users are not familiar with ParaView and
>>> CFD-Post may consume general "acfd" license feature that may be used for
>>> calculations). I convert CFX results to EnSight Gold format in CFX Solver
>>> Manager (Export Results) and then open in ParaView. It was working well on
>>> Linux (CentOS 6.7 x64, Ubuntu 12.04 x64 with updates) but now I work with
>>> large files and I need to use another machine that has 128 GB of RAM and
>>> runs Windows-7 x64.
>>> I downloaded and installed the following version:
>>> ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit.exe
>>> When I open my EnSight-format file I receive the error message that
>>> geometry file cannot be read. I tried to move EnSight files to a simple
>>> location (D:\Temp) and renamed them (test.case, test.geom + edited the case
>>> to change geometry file name to "simple" one). The same result, it cannot
>>> find geometry file... Full error message is as follows:
>>>
>>> ERROR: In
>>> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
>>> line 114
>>> vtkEnSightGoldBinaryReader (09451230): stat failed.
>>>
>>>
>>> ERROR: In
>>> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
>>> line 220
>>> vtkEnSightGoldBinaryReader (09451230): Unable to open file:
>>> D:\Storage\Media\Work\Gradirni\CFX\EnSight\C-G002L3S-R020-S000-14.5\/C-G002L3S-R020-S000.geom
>>>
>>>
>>> ERROR: In
>>> C:\bbd\df0abce0\source-paraview\VT

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-28 Thread Andrew
I performed another test with *EnSight 6* (not Gold) format. Conversion was
made on Win-7 x64 machine. The same results: PV 4.3 crashed, PV 5.0 "cannot
stat" (full error message is in my first post on this topic). Sorry, now I
need to work on with my report...




2016-02-29 8:47 GMT+03:00 Andrew <antech...@gmail.com>:

> Hello. Sorry for silence, I'm usually offline on holydays, although I have
> internet connection and read your mail.
>
> Samuel Key
>
> Thanks for your attention.
>
> About transferring files from Linux to Windows. I use binary EnSight files
> because CFX converter fails to write so large files in ASCII format. But I
> tried to convert from CFX to EnSight (binary) on the same Win-7 x64 machine
> with ParaView. Both installed versions (4.3 and 5.0) failed to open the
> geometry (I unchecked all fields). ParaView 4.3 crashed, ParaView 5.0 just
> cannot open file...
>
> I think that the root cause may be a geometry file size. It is 4.9 GiB
> (5.3 GB), mesh have about 150 millions of cells, not 600 thusands like in
> your case. Its possible that ParaView for Windows cannot process so large
> EnSight files, although the Linux version reads in this geometry and
> displays outline (swapping is so intensive so I cannot displaye something
> else).
>
> 2016-02-26 19:31 GMT+03:00 Samuel Key <samuel...@bresnan.net>:
>
>> Andrew,
>>
>> For what it is worth, I use ParaView
>> (ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit) on Windows-7 64bit. I just now
>> tested two medium-sized, EnSight Gold-formatted simulation results files
>> (600,000 finite elements) and both worked.
>>
>> In the past, I have had difficulty with the EnSight ASCII-formatted
>> *.case file when moving the simulation results (*.case file and friends)
>> from MS Windows to EnSight running on a linux platform. It was necessary to
>> pass the ASCII *.case file through a 'dos2unix' filter. Transferring files
>> the other way might have the same problem???
>>
>> Hope this helps.
>>
>> Samuel Key
>> FMA Development, LLC
>> 1005 39th Ave NE
>> Great Falls, Montana 59404
>> USA
>>
>> On 2/25/2016 11:26 PM, Andrew wrote:
>>
>> Hello. We use Ansys CFX in our work but the standard post-processor
>> CFD-Post consumes one of Ansys licenses while Paraview is free. So I often
>> make pictures for reports with ParaView to preserve Ansys license for
>> another users/needs (because other users are not familiar with ParaView and
>> CFD-Post may consume general "acfd" license feature that may be used for
>> calculations). I convert CFX results to EnSight Gold format in CFX Solver
>> Manager (Export Results) and then open in ParaView. It was working well on
>> Linux (CentOS 6.7 x64, Ubuntu 12.04 x64 with updates) but now I work with
>> large files and I need to use another machine that has 128 GB of RAM and
>> runs Windows-7 x64.
>> I downloaded and installed the following version:
>> ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit.exe
>> When I open my EnSight-format file I receive the error message that
>> geometry file cannot be read. I tried to move EnSight files to a simple
>> location (D:\Temp) and renamed them (test.case, test.geom + edited the case
>> to change geometry file name to "simple" one). The same result, it cannot
>> find geometry file... Full error message is as follows:
>>
>> ERROR: In
>> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
>> line 114
>> vtkEnSightGoldBinaryReader (09451230): stat failed.
>>
>>
>> ERROR: In
>> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
>> line 220
>> vtkEnSightGoldBinaryReader (09451230): Unable to open file:
>> D:\Storage\Media\Work\Gradirni\CFX\EnSight\C-G002L3S-R020-S000-14.5\/C-G002L3S-R020-S000.geom
>>
>>
>> ERROR: In
>> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightReader.cxx, line
>> 306
>> vtkEnSightGoldBinaryReader (09451230): error reading geometry
>> file
>>
>>
>> ERROR: In
>> C:\bbd\df0abce0\source-paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
>> line 784
>> vtkCompositeDataPipeline (08E1A640): Algorithm
>> vtkEnSightGoldBinaryReader(09451230) returned failure for request:
>> vtkInformation (093C3920)
>>   Debug: Off
>>   Modified Time: 214873
>>   Reference Count: 1
>>   Registered Events: (none)
>>   Request: REQUEST_DATA
>>   ALGORITHM_AFTER_FORWARD: 1
>>   FORWARD_DIRECTION: 0
>>   FROM_OUTPUT_PORT: 0
>>
>>

Re: [Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-28 Thread Andrew
Hello. Sorry for silence, I'm usually offline on holydays, although I have
internet connection and read your mail.

Samuel Key

Thanks for your attention.

About transferring files from Linux to Windows. I use binary EnSight files
because CFX converter fails to write so large files in ASCII format. But I
tried to convert from CFX to EnSight (binary) on the same Win-7 x64 machine
with ParaView. Both installed versions (4.3 and 5.0) failed to open the
geometry (I unchecked all fields). ParaView 4.3 crashed, ParaView 5.0 just
cannot open file...

I think that the root cause may be a geometry file size. It is 4.9 GiB (5.3
GB), mesh have about 150 millions of cells, not 600 thusands like in your
case. Its possible that ParaView for Windows cannot process so large
EnSight files, although the Linux version reads in this geometry and
displays outline (swapping is so intensive so I cannot displaye something
else).

2016-02-26 19:31 GMT+03:00 Samuel Key <samuel...@bresnan.net>:

> Andrew,
>
> For what it is worth, I use ParaView
> (ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit) on Windows-7 64bit. I just now
> tested two medium-sized, EnSight Gold-formatted simulation results files
> (600,000 finite elements) and both worked.
>
> In the past, I have had difficulty with the EnSight ASCII-formatted *.case
> file when moving the simulation results (*.case file and friends) from MS
> Windows to EnSight running on a linux platform. It was necessary to pass
> the ASCII *.case file through a 'dos2unix' filter. Transferring files the
> other way might have the same problem???
>
> Hope this helps.
>
> Samuel Key
> FMA Development, LLC
> 1005 39th Ave NE
> Great Falls, Montana 59404
> USA
>
> On 2/25/2016 11:26 PM, Andrew wrote:
>
> Hello. We use Ansys CFX in our work but the standard post-processor
> CFD-Post consumes one of Ansys licenses while Paraview is free. So I often
> make pictures for reports with ParaView to preserve Ansys license for
> another users/needs (because other users are not familiar with ParaView and
> CFD-Post may consume general "acfd" license feature that may be used for
> calculations). I convert CFX results to EnSight Gold format in CFX Solver
> Manager (Export Results) and then open in ParaView. It was working well on
> Linux (CentOS 6.7 x64, Ubuntu 12.04 x64 with updates) but now I work with
> large files and I need to use another machine that has 128 GB of RAM and
> runs Windows-7 x64.
> I downloaded and installed the following version:
> ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit.exe
> When I open my EnSight-format file I receive the error message that
> geometry file cannot be read. I tried to move EnSight files to a simple
> location (D:\Temp) and renamed them (test.case, test.geom + edited the case
> to change geometry file name to "simple" one). The same result, it cannot
> find geometry file... Full error message is as follows:
>
> ERROR: In
> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
> line 114
> vtkEnSightGoldBinaryReader (09451230): stat failed.
>
>
> ERROR: In
> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
> line 220
> vtkEnSightGoldBinaryReader (09451230): Unable to open file:
> D:\Storage\Media\Work\Gradirni\CFX\EnSight\C-G002L3S-R020-S000-14.5\/C-G002L3S-R020-S000.geom
>
>
> ERROR: In
> C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightReader.cxx, line
> 306
> vtkEnSightGoldBinaryReader (09451230): error reading geometry file
>
>
> ERROR: In
> C:\bbd\df0abce0\source-paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
> line 784
> vtkCompositeDataPipeline (08E1A640): Algorithm
> vtkEnSightGoldBinaryReader(09451230) returned failure for request:
> vtkInformation (093C3920)
>   Debug: Off
>   Modified Time: 214873
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA
>   ALGORITHM_AFTER_FORWARD: 1
>   FORWARD_DIRECTION: 0
>   FROM_OUTPUT_PORT: 0
>
> OK, I tried to open it in ParaView 4.3. It says nothing (only border of
> the message window appears) and crashes. At that moment I see in the status
> bar that EnSight reader progress is 100%.
>
> Both ParaView 5.0.0 and 4.3 was tested with EnSight files exported on
> Linux and Windows machine. It didn't help.
>
> OK, I tried to export CFX results to CGNS format. ParaView 5.0.0 (without
> MPI) cannot read it, so I fed it to ParaView 4.3. It says that its "unable
> to filed any meshes".
>
> I also performed an experiment on my Linux laptop. It has only 16 GB of
> RAM so its unreal to work with such a big file on this machine but it reads
> the same EnSight case and displays the domain! No arrays sel

[Paraview] ParaView 5.0.0 for Windows x64 fails to open EnSight Gold files

2016-02-25 Thread Andrew
Hello. We use Ansys CFX in our work but the standard post-processor
CFD-Post consumes one of Ansys licenses while Paraview is free. So I often
make pictures for reports with ParaView to preserve Ansys license for
another users/needs (because other users are not familiar with ParaView and
CFD-Post may consume general "acfd" license feature that may be used for
calculations). I convert CFX results to EnSight Gold format in CFX Solver
Manager (Export Results) and then open in ParaView. It was working well on
Linux (CentOS 6.7 x64, Ubuntu 12.04 x64 with updates) but now I work with
large files and I need to use another machine that has 128 GB of RAM and
runs Windows-7 x64.
I downloaded and installed the following version:
ParaView-5.0.0-Qt4-OpenGL2-Windows-64bit.exe
When I open my EnSight-format file I receive the error message that
geometry file cannot be read. I tried to move EnSight files to a simple
location (D:\Temp) and renamed them (test.case, test.geom + edited the case
to change geometry file name to "simple" one). The same result, it cannot
find geometry file... Full error message is as follows:

ERROR: In
C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
line 114
vtkEnSightGoldBinaryReader (09451230): stat failed.


ERROR: In
C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightGoldBinaryReader.cxx,
line 220
vtkEnSightGoldBinaryReader (09451230): Unable to open file:
D:\Storage\Media\Work\Gradirni\CFX\EnSight\C-G002L3S-R020-S000-14.5\/C-G002L3S-R020-S000.geom



ERROR: In
C:\bbd\df0abce0\source-paraview\VTK\IO\EnSight\vtkEnSightReader.cxx, line
306
vtkEnSightGoldBinaryReader (09451230): error reading geometry file


ERROR: In
C:\bbd\df0abce0\source-paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
line 784
vtkCompositeDataPipeline (08E1A640): Algorithm
vtkEnSightGoldBinaryReader(09451230) returned failure for request:
vtkInformation (093C3920)
  Debug: Off
  Modified Time: 214873
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0
  FROM_OUTPUT_PORT: 0

OK, I tried to open it in ParaView 4.3. It says nothing (only border of the
message window appears) and crashes. At that moment I see in the status bar
that EnSight reader progress is 100%.

Both ParaView 5.0.0 and 4.3 was tested with EnSight files exported on Linux
and Windows machine. It didn't help.

OK, I tried to export CFX results to CGNS format. ParaView 5.0.0 (without
MPI) cannot read it, so I fed it to ParaView 4.3. It says that its "unable
to filed any meshes".

I also performed an experiment on my Linux laptop. It has only 16 GB of RAM
so its unreal to work with such a big file on this machine but it reads the
same EnSight case and displays the domain! No arrays selected (mesh only),
swap file grows up to 8 GB but the file opens without errors and crashes.
It's only a test because I have not any Linux machine with memory large
enough (our Linux cluster has 128 GB of RAM on every node including master
but it has very poor video).

I switched to CFD Post for this case but I want to know are there any
workarounds to open my EnSight-format results in ParaView for Windows.

Thanks for your attention.
___
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] Xdmf reader subsets?

2015-12-31 Thread Andrew Ho
I am trying to read an Xdmf subset into Paraview 4.4, but I get the
assertion (debug build):

*vtkXdmfHeavyData.cxx:293: vtkDataObject
*vtkXdmfHeavyData::ReadUniformData(xdm**f2::XdmfGrid *, int): Assertion
`xmfGrid->IsUniform() && "Input must be a uniform xdmf grid."' failed.*

I dug through the backtrace, and it seems that
*vtkXdmfHeavyData::ReadData(XdmfGrid*
xmfGrid, int blockId)* is incorrectly forwarding the Subset grid to the
vtkXdmfHeavyData::ReadUniformData function.

Here's a self-contained XDMF file to test with:



  

  

  0 1 2
  3 4 5
  6 7 8

  
  

  0. 0. 0.
  1. 0. 0.
  0. 1. 0.
  1. 0. 0.
  2. 0. 0.
  1. 1. 0.
  2. 0. 0.
  3. 0. 0.
  2. 1. 0.

  


  
0 2
  
  
/Xdmf/Domain/Grid[1]
  

  


I'm relatively confident that this should be a valid XDMF file, but I'm not
positive since I wrote this by hand and the documentation for subsets is
relatively sparse.
___
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] Building Paraview (QT) from source

2015-09-29 Thread andrew solis
Hey Guys,

 I'm trying to build Paraview from source on windows and ran into an
issue when trying to configure and qmake QT. I've been following the
directions at http://www.paraview.org/Wiki/ParaView:Build_And_Install and
downloaded "qt-everywhere-opensource-src-4.8.2.zip" and unzipped the files.
I opened up a 'Developer Command Prompt for VS2013' and navigated to the
unzipped folder that holds the qt source and typed configure, o for open
source version, and yes to accept the license offers, but then I get an
error when it tries to create qmake.

Creating qmake...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1

I thought that opening up the developer command prompt for VS2013 set all
the path variables so that mingw32-make wouldn't be needed, so this may not
be the case. Any help would be greatly appreciated.

Thanks!
Andrew Solis
___
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] Multi-tiled Distributed Display

2015-09-21 Thread andrew solis
Hey everyone,

 I'm trying to run Paraview using the vrpn plugin so that I can show
off Paraview on a distributed multi-tiled display, and I'm stuck on getting
it set up. The head machine is named stallion and there are 20 different
nodes that control 4 different screens horizontally that make up a 16x5
display. I'm trying to get Paraview to run on just one server machine as a
test and have been following the documentation on Immersiver Paraview found
at http://www.paraview.org/Wiki/Immersive_ParaView. I've set up my pvx file
to be like so:




  


  

  


  



where s01 is one of the machines I'm using to show off with FullScreen
declared so Paraview is shown on all four screens the server controls
horizontally. What I'm confused about now is probably stupid, but now that
I have my pvx set up I want to test and see if I can get it to show on my
display, but I'm not sure how. I'm also relatively new to using vrpn so I
didn't know if I needed to set up anything with that as well beyond
installing the vrpn plugin. Please feel free to let me know if I explained
something wrong or if I need to answer any other questions, and any help
will be greatly appreciated.

Thanks!
Andrew Solis
___
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] Multi-tiled Distributed Display

2015-09-21 Thread andrew solis
Sorry, I also probably should of mentioned that I am running CentOS on all
of the systems.

Thanks
Andrew Solis

On Mon, Sep 21, 2015 at 11:02 AM, andrew solis <andrewjsoli...@gmail.com>
wrote:

> Hey everyone,
>
>  I'm trying to run Paraview using the vrpn plugin so that I can show
> off Paraview on a distributed multi-tiled display, and I'm stuck on getting
> it set up. The head machine is named stallion and there are 20 different
> nodes that control 4 different screens horizontally that make up a 16x5
> display. I'm trying to get Paraview to run on just one server machine as a
> test and have been following the documentation on Immersiver Paraview found
> at http://www.paraview.org/Wiki/Immersive_ParaView. I've set up my pvx
> file to be like so:
>
> 
> 
>
>   
> 
>   Environment="DISPLAY=:0"
>  Geometry="1280x1000+0+0"
>  ShowBorders="1" />
>   
>
>   
> 
>   Environment="DISPLAY=:0"
>  FullScreen="1"
>  ShowBorders="0" />
>   
>
> 
>
> where s01 is one of the machines I'm using to show off with FullScreen
> declared so Paraview is shown on all four screens the server controls
> horizontally. What I'm confused about now is probably stupid, but now that
> I have my pvx set up I want to test and see if I can get it to show on my
> display, but I'm not sure how. I'm also relatively new to using vrpn so I
> didn't know if I needed to set up anything with that as well beyond
> installing the vrpn plugin. Please feel free to let me know if I explained
> something wrong or if I need to answer any other questions, and any help
> will be greatly appreciated.
>
> Thanks!
> Andrew Solis
>
___
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] Warning: Target "VRPlugin" requests linking to directory

2015-09-18 Thread andrew solis
Awesome, that seemed to do the trick.

Thanks!

On Thu, Sep 17, 2015 at 11:10 PM, Cory Quammen <cory.quam...@kitware.com>
wrote:

> Hi Andrew,
>
> What is the value of your VRPN_LIBRARY variable? I suspect it is
>
> "/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib"
>
> when it should be something like
>
> "/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib/libvrpn.a"
>
> The key is to point VRPN_LIBRARY to the VRPN library.
>
> HTH,
> Cory
>
> On Thu, Sep 17, 2015 at 8:24 PM, andrew solis <andrewjsoli...@gmail.com>
> wrote:
>
>> Hello,
>>
>>  I'm relatively new to Paraview and I had a question concerning
>> getting Paraview to run on a Linux machine from source and adding vrpn. I
>> downloaded and built both I believe, and I am using ccmake to build it.
>> When I run ccmake and then try and generate however, I get an error at the
>> end stating:
>>
>> WARNING: Target "VRPlugin" requests linking to directory
>> "/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib".  Targets
>> may link only to libraries.  CMake is dropping the item.
>>
>> Any particular reason why this would be happening or how to fix it? Any
>> help would be appreciated.
>>
>> Thanks
>> Andrew Solis
>>
>> ___
>> 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 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


[Paraview] Warning: Target "VRPlugin" requests linking to directory

2015-09-17 Thread andrew solis
Hello,

 I'm relatively new to Paraview and I had a question concerning getting
Paraview to run on a Linux machine from source and adding vrpn. I
downloaded and built both I believe, and I am using ccmake to build it.
When I run ccmake and then try and generate however, I get an error at the
end stating:

WARNING: Target "VRPlugin" requests linking to directory
"/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib".  Targets
may link only to libraries.  CMake is dropping the item.

Any particular reason why this would be happening or how to fix it? Any
help would be appreciated.

Thanks
Andrew Solis
___
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] Compiling ParaView 4.3.1 with OpenMPI

2015-08-18 Thread Andrew
Menno Deij - van Rijswijk,
Great thanks! Your suggestions worked perfectly! Now I have ParaView 4.3.1
compiled with MPI and Catalyst for co-processing.

2015-08-18 14:04 GMT+03:00 Deij-van Rijswijk, Menno m.d...@marin.nl:

 Hi Andrew,

 I checked my CMakeCache to see the variables of MPI and I think you need
 to change the MPI_LIBRARY:FILEPATH to
 MPI_LIBRARY:FILEPATH=/Programs/openmpi-1.8.4/build/lib/libmpi_cxx.so

 That is, directly use the full path to the mpi shared library, instead of
 using the link flag.
 Also, change the other LIBRARIES variables. In my case there are multiple
 libraries:

 MPI_C_LIBRARIES:STRING=pathlibmpi.so
 MPI_CXX_LIBRARIES:STRING=pathlibmpi_cxx.so;pathlibmpi.so

 MPI_Fortran_LIBRARIES:STRING=pathlibmpi_usempif08.so;pathlibmpi_usempi_ignore_tkr.so;pathlibmpi_mpifh.so;pathlibmpi.so

 Where path should expand to your install path, which is
 /Programs/openmpi-1.8.4/build/lib/

 Good luck and best wishes,


 Menno Deij - van Rijswijk


 From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Andrew
 Sent: dinsdag 18 augustus 2015 12:51
 To: paraview@paraview.org
 Subject: [Paraview] Compiling ParaView 4.3.1 with OpenMPI

 Hello.

 I need to compile ParaView 4.3.1 with MPI. I tried different settings but
 I can't get rid of this error:

 /usr/bin/ld: warning: libmpi_cxx.so.1, needed by
 ../lib/libvtkPVServerManagerApplication-pv4.3.so.1, not found (try using
 -rpath or -rpath-link)
 /usr/bin/ld: warning: libmpi.so.1, needed by
 ../lib/libvtkPVServerManagerApplication-pv4.3.so.1, not found (try using
 -rpath or -rpath-link)

 I use OpenMPI 1.8.4 that was successfuly compiled and installed in
 /Programs/openmpi-1.8.4/build (not into system directories, I need to have
 programs installed into custom directories). So I set the following options
 for MPI:
 MPIEXEC:FILEPATH=/Programs/openmpi-1.8.4/build/bin/mpiexec
 MPIEXEC_MAX_NUMPROCS:STRING=8
 MPIEXEC_NUMPROC_FLAG:STRING=-np
 MPIEXEC_POSTFLAGS:STRING=
 MPIEXEC_PREFLAGS:STRING=
 MPI_CXX_COMPILER:FILEPATH=/Programs/openmpi-1.8.4/build/bin/mpicxx
 MPI_CXX_COMPILE_FLAGS:STRING=-Wl,-rpath
 -Wl,/Programs/openmpi-1.8.4/build/lib/
 MPI_CXX_INCLUDE_PATH:STRING=/Programs/openmpi-1.8.4/build/include/
 MPI_CXX_LIBRARIES:STRING=-lmpi_cxx -L/Programs/openmpi-1.8.4/build/lib/
 MPI_CXX_LINK_FLAGS:STRING=
 MPI_C_COMPILER:FILEPATH=/Programs/openmpi-1.8.4/build/bin/mpicc
 MPI_C_COMPILE_FLAGS:STRING=-Wl,-rpath
 -Wl,/Programs/openmpi-1.8.4/build/lib/
 MPI_C_INCLUDE_PATH:STRING=/Programs/openmpi-1.8.4/build/include/
 MPI_C_LIBRARIES:STRING=-lmpi -L/Programs/openmpi-1.8.4/build/lib/
 MPI_C_LINK_FLAGS:STRING=
 MPI_EXTRA_LIBRARY:STRING=MPI_EXTRA_LIBRARY-NOTFOUND
 MPI_Fortran_COMPILER:FILEPATH=/Programs/openmpi-1.8.4/build/bin/mpif90
 MPI_Fortran_COMPILE_FLAGS:STRING=-Wl,-rpath
 -Wl,/Programs/openmpi-1.8.4/build/lib/
 MPI_Fortran_INCLUDE_PATH:STRING=/Programs/openmpi-1.8.4/build/include/
 MPI_Fortran_LIBRARIES:STRING=-lmpi_mpifh
 -L/Programs/openmpi-1.8.4/build/lib/
 MPI_Fortran_LINK_FLAGS:STRING=
 MPI_LIBRARY:FILEPATH=-lmpi_cxx -L/Programs/openmpi-1.8.4/build/lib
 It's a copy from the Makefile without comments. Actually I used ccmake to
 configure and generate Makefile.

 Compilation is normal until 98%. Then a number of errors appear because
 the linker cannot find MPI libraries (libmpi.so.1 and libmpi_cxx.so.1). I
 verified that these files are in /Programs/openmpi-1.8.4/build/lib/
 (searched with file manager to avoid typos, files are there). The
 interesting moment is that libmpi.so and libmpi_cxx.so are found (I don't
 point to *.so files, point only to lib directory). But then linker don't
 want to follow symlinks (libmpi.so = libmpi.so.1), if I get it right.

 I attached CMakeCache.txt file. If it's needed, I will post other details
 (Makefile + CMakeCache are too big for 500 KB limit of mailing list).

 Please, help me to compile ParaView with OpenMPI.
 Thanks.


 dr. ir. Menno A. Deij-van Rijswijk
 Researcher / Software Engineer
 Maritime Simulation  Software Group
 E mailto:m.d...@marin.nl
 T +31 317 49 35 06


 MARIN
 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
 T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl


___
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] Contour Plots

2015-07-15 Thread Robertson, Andrew
Folks,
New to paraview, but making some progress.
One thing I have not found a way to make a countour plot where there is a black 
line separating every Nth contour level.
Manual is not that much help
Can this be done directly with the baseline tool?
Thanks
ANdy


Andrew Robertson P.E.
CFD Analyst

GASL Operations
Tactical Propulsion and Controls
ATK
77 Raynor Avenue
Ronkokoma NY 11779

Phone:  631-676-8955tel:631-737-6100%20Ext%20190  - NOTE NEW Number
Fax:  631-588-7023tel:631-588-7023
www.atk.comhttp://www.atk.com/

 !! Knowledge and Thoroughness Baby !!
   Happiness is conserving mass



--

Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged and exempt from disclosure under applicable law. If the reader is 
not the intended recipient or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. This 
communication may also contain data subject to U.S. export laws. If so, that 
data subject to the International Traffic in Arms Regulation cannot be 
disseminated, distributed or copied to foreign nationals, residing in the U.S. 
or abroad, absent the express prior approval of the U.S. Department of State. 
If you have received this communication in error, please notify the sender by 
reply e-mail and destroy the e-mail message and any physical copies made of the 
communication. 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


[Paraview] Mass weighted, mass flow weighted averages.

2015-07-14 Thread Robertson, Andrew
Folks,
Any add-ons for doing mass weighted and mass flow weighted averages.
Just getting started with paraview, I think I see the path to do this. But am 
not proud and am sufficiently lazy to use the works of others ;-)
Thanks
-Andy


Andrew Robertson P.E.
CFD Analyst

GASL Operations
Tactical Propulsion and Controls
ATK
77 Raynor Avenue
Ronkokoma NY 11779

Phone:  631-676-8955tel:631-737-6100%20Ext%20190  - NOTE NEW Number
Fax:  631-588-7023tel:631-588-7023
www.atk.comhttp://www.atk.com/

 !! Knowledge and Thoroughness Baby !!
   Happiness is conserving mass



--

Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged and exempt from disclosure under applicable law. If the reader is 
not the intended recipient or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. This 
communication may also contain data subject to U.S. export laws. If so, that 
data subject to the International Traffic in Arms Regulation cannot be 
disseminated, distributed or copied to foreign nationals, residing in the U.S. 
or abroad, absent the express prior approval of the U.S. Department of State. 
If you have received this communication in error, please notify the sender by 
reply e-mail and destroy the e-mail message and any physical copies made of the 
communication. 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


Re: [Paraview] Mass weighted, mass flow weighted averages.

2015-07-14 Thread Robertson, Andrew
Thanks,
I have worked with the calculator filter and figured out how to use the 
integraton filter.  Just figured that in the CFD world this is a pretty 
standard thing to do, and might already exist.
Thanks again
-ANdy

From: Andy Bauer [mailto:andy.ba...@kitware.com]
Sent: Tuesday, July 14, 2015 2:32 PM
To: Robertson, Andrew
Cc: paraview@paraview.org
Subject: Re: [Paraview] Mass weighted, mass flow weighted averages.

I think the best way would be to use the Calculator filter to compute your 
derived quantities (e.g. whatever field you want mass weighted divided by 
density) and then use the Integrate Variables filter to get the integrated 
values of the quantities. I'd need to see some equations before giving you a 
more precise set of instructions.
By the way, the ParaView User's Guide 
(http://www.paraview.org/paraview-downloads/download.php?submit=Downloadversion=v4.3type=dataos=alldownloadFile=TheParaViewGuide-v4.3-CC-Edition.pdf)
 is a good place to start getting familiar with ParaView. A printed edition is 
available but will have to be purchased at 
http://www.kitware.com/products/books.php. It has a couple more chapters that 
can be helpful to some users.
Regards,
Andy


On Tue, Jul 14, 2015 at 2:14 PM, Robertson, Andrew 
andrew.robert...@orbitalatk.commailto:andrew.robert...@orbitalatk.com wrote:
Folks,
Any add-ons for doing mass weighted and mass flow weighted averages.
Just getting started with paraview, I think I see the path to do this. But am 
not proud and am sufficiently lazy to use the works of others ;-)
Thanks
-Andy


Andrew Robertson P.E.
CFD Analyst

GASL Operations
Tactical Propulsion and Controls
ATK
77 Raynor Avenue
Ronkokoma NY 11779

Phone:  631-676-8955tel:631-737-6100%20Ext%20190  - NOTE NEW Number
Fax:  631-588-7023tel:631-588-7023
www.atk.comhttp://www.atk.com/

 !! Knowledge and Thoroughness Baby !!
   Happiness is conserving mass



Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged and exempt from disclosure under applicable law. If the reader is 
not the intended recipient or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. This 
communication may also contain data subject to U.S. export laws. If so, that 
data subject to the International Traffic in Arms Regulation cannot be 
disseminated, distributed or copied to foreign nationals, residing in the U.S. 
or abroad, absent the express prior approval of the U.S. Department of State. 
If you have received this communication in error, please notify the sender by 
reply e-mail and destroy the e-mail message and any physical copies made of the 
communication. Thank you.
** **

___
Powered by www.kitware.comhttp://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] IntegrateVariables filter (add variables)

2015-07-03 Thread Andrew
*Andy Bauer*
Thanks!
I don't know how to generate common field from partial blocks with
Calculator but I'm familiar with Extract Blocks cause I use it to extract
boundaries. AFAIR, I tried to integrate on the extracted boundary without
success but I will play with Extract Block filter in different ways, hope
I'll find the solution. If not, I will write on this mailing list (I have a
holydays for month so I will be online in august).
___
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] IntegrateVariables filter (add variables)

2015-07-03 Thread Andrew
Hello.
I tried WaveLet filter and IntegrateVariables works with it. But I need my
flow field variables (pressure, velocity e.t.c.) to be processed.
Calculator filter accept that variables (I can visualise result), but
Integrate filter doesn't see the result of Calculator (and it also
doesn't see any flow field variables if it's source is a results file or
cell data to point data). I gave a link on example files to be processed
in previous message (see below).
Thanks for your attention...




 Andrew (antech...@gmail.com) 02.07.2015

 Hello.
 Thanks for advice! I didn't try Wavelet source, but I will as soon as
possible
 and will report the result. Surely I can share an example of results:
 https://drive.google.com/open?id=0BzPt_Ya8Zu8nU2NRT2NWN1ZxV0U
 Files are in postprocessing directory (open the RESULTS.case file)
and have
 an EnSight Gold format.



 Andy Bauer andy.ba...@kitware.com 02.07.2015
==
 Have you tried doing the Integrate Variables filter with something like
the Wavelet
 source? If that works for you as expected, can you share a
representative data set that
 you're having problems with?

 Regards,
 Andy


 Andrew (antech...@gmail.com) 02.07.2015

 Hello.
 I use ParaView to visualize Code_Saturne (CFD) calculation results
(ParaVis module  in Salome). But I cannot integrate any variable except
coordinates and area
 or volume.
 I tried the Cell data to point data before IntegrateVariables, it
changed nothing.
 I asked this question on Salome and CFD-Online forums, but noone replied
me.
 Please, help.
---
 Thanks.
___
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] IntegrateVariables filter (add variables)

2015-07-02 Thread Andrew
Hello.
I use ParaView to visualize Code_Saturne (CFD) calculation results (ParaVis
module in Salome). But I cannot integrate any variable except coordinates
and area or volume. I tried the Cell data to point data before
IntegrateVariables, it changed nothing. I asked this question on Salome and
CFD-Online forums, but noone replied me. Please, help.
Thanks.
___
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] [Catalyst] true time information instead of time step

2015-05-28 Thread Andrew Ho
I am using Paraview Catalyst (v. 4.2 since 4.3 doesn't seem to work with
Catalyst generated scripts) and I have data which has uneven true times:

0 0.1 0.15 0.18 0.25 ...

When I output data from Catalyst's generated scripts, it outputs a series
of files using the time step (0, 1, 2, 3, ...), but the true time
information appears to be gone.

How can I get this information back so I can properly annotate and view my
data?

I am using vtkImagaData and the outputted files are *.pvti and *.vti files
of the full dataset.


-- 
Andrew Ho
___
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] Plot 3D Function names

2015-04-02 Thread Robertson, Andrew
Folks,
I am new to paraview and while I am making some progress with the tool, I have 
not been able to figure out a few things
I get a lot of data in plot3D format.
The data in question is in the function file
Paraview simply sees these as function1, function2 etc
Is there someplace I can actually specify text for those?
Thanks
-Andy


Andrew Robertson P.E.
CFD Analyst

GASL Operations
Tactical Propulsion and Controls
ATK
77 Raynor Avenue
Ronkokoma NY 11779

Phone:  631-676-8955tel:631-737-6100%20Ext%20190  - NOTE NEW Number
Fax:  631-588-7023tel:631-588-7023
www.atk.comhttp://www.atk.com/

 !! Knowledge and Thoroughness Baby !!
   Happiness is conserving mass



--

Notice: This e-mail is intended solely for use of the individual or entity to 
which it is addressed and may contain information that is proprietary, 
privileged and exempt from disclosure under applicable law. If the reader is 
not the intended recipient or agent responsible for delivering the message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. This 
communication may also contain data subject to U.S. export laws. If so, that 
data subject to the International Traffic in Arms Regulation cannot be 
disseminated, distributed or copied to foreign nationals, residing in the U.S. 
or abroad, absent the express prior approval of the U.S. Department of State. 
If you have received this communication in error, please notify the sender by 
reply e-mail and destroy the e-mail message and any physical copies made of the 
communication. 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


[Paraview] Headlight in 4.3.1?

2015-03-17 Thread Bosler, Peter Andrew
Good morning,

I have just upgraded to Paraview 4.3.1 from 4.10, because I was unable to 
change the specularity of a surface in 4.1 (this is fixed in 4.3, which is 
nice).  But now I can't find the headlight option that used to be in 4.1's 
render view options.

Without it, the images I need to produce for a publication look dark and washed 
out.

Could you point me toward the lighting tool in 4.3 that lets me turn on a 
headlight?

Thanks for your time,

Pete Bosler

-
Peter Bosler, PhD
John von Neumann Fellow
Sandia National Laboratories
Multiphysics Applications (01446)
pabo...@sandia.govmailto:pabo...@sandia.gov
(505) 845 - 0427

___
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] Re: Headlight in 4.3.1?

2015-03-17 Thread Bosler, Peter Andrew
Perfect! Thanks very much.

Pete

On 3/17/15, 11:49 AM, Cory Quammen cory.quam...@kitware.com wrote:

Peter,

You can find the headlight by looking in the Properties panel under
the Lights section. This is an advanced setting, so click the gear
icon in the Properties panel to expose it. Under the Lights section in
the panel (it's towards the bottom), click the Edit button and
select Additional Headlight in the Lights Editor dialog that pops
up.

Hope that helps,
Cory

On Tue, Mar 17, 2015 at 1:40 PM, Bosler, Peter Andrew
pabo...@sandia.gov wrote:
 Good morning,

 I have just upgraded to Paraview 4.3.1 from 4.10, because I was unable
to
 change the specularity of a surface in 4.1 (this is fixed in 4.3, which
is
 nice).  But now I can¹t find the ³headlight² option that used to be in
4.1¹s
 render view options.

 Without it, the images I need to produce for a publication look dark and
 washed out.

 Could you point me toward the lighting tool in 4.3 that lets me turn on
a
 headlight?

 Thanks for your time,

 Pete Bosler

 ‹
 Peter Bosler, PhD
 John von Neumann Fellow
 Sandia National Laboratories
 Multiphysics Applications (01446)
 pabo...@sandia.gov
 (505) 845 - 0427


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


[Paraview] Specify TCP interface for pvserver to listen on

2015-01-20 Thread Andrew Porter

Hello,

In a nutshell; can one somehow specify the TCP interface on which 
pvserver listens for connections?


The background:

I've been using pvserver on a remote machine and connecting to it from 
behind a firewall without problems for a while.
However, the remote machine has recently been re-configured and the 
login nodes now have two TCP interfaces, only one of which is publicly 
accessible. Unfortunately the pvserver is binding to the 'private' 
interface and thus I cannot connect to it.
I've tried using an ssh tunnel from the public interface to the private 
interface but unfortunately I get an 'administratively prohibited' 
message from ssh when I try to connect.


Does anyone know of a solution?

Thanks very much,

Andy.

--
Dr. Andrew Porter
Computational Scientist
Application Performance Engineering Group
Scientific Computing Department
STFC Daresbury Laboratory
Keckwick Lane
Daresbury
WA4 4AD
Tel. : +44 (0)1925 603607
email: andrew.por...@stfc.ac.uk
___
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] Parametric functions.

2014-09-16 Thread Andrew Maclean
A while back there was a request for something different from the usual
sphere source.

So I have created an xml file to access the parametric surface functions in
ParaView along with a reverse sense programmable filter. It was an
interesting exercise that revealed some deficiencies in the parametric
function implementations that have been fixed in the VTK master.

I am happy to contribute this if people feel it will be useful.

Just let me know how.


Regards
Andrew

-- 
___
Andrew J. P. Maclean

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

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


[Paraview] Potential bug in vtkPolygon normal and area calculations

2014-08-29 Thread Andrew Parker
Dear all,

This is driving me round the bend. When I have a meshing coming from a
rectilinear source, I get NANs from my normal and face area calculations.
 When all other input meshes are used, i.e. unstructured, the results are
correct. To test this I've written the following test code which makes a
single cell mesh and produces the NANs.  I then demonstrate that by using
the transform classes, with zero rotation, I can then extract the same mesh
back as a structured grid, and the errors disappear.  I can also apply a
non-zero rotation and the errors disappear too.

Note I apply a rotation, zero or otherwise, because my hypothesis having
stepped through 6.1 in the debugger, is that the vtk_pixel cell type (axis
aligned) coming from the rectilinear grid does not play well with the
normal calculation.  But I can't find the bug, only that all entries of the
normal are zero and the rest of the function fails.

Clearly, and more likely, is that I could also not be using the classes
correctly, and if so please let me know??  Hope somebody can find the bug,
I've got nowhere on this after a day of looking.  Again, anything non-axis
aligned and or non vtk_pixel would appear to work as expected.

Help appreciated,

Cheers again,
Andy
cmake_minimum_required(VERSION 2.8)
PROJECT(weird)

set(CMAKE_COLOR_MAKEFILE ON)

set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -Wextra -Wall -Wconversion -pedantic 
-Wuninitialized -std=c++11 -Wno-extra-semi)
 
FIND_PACKAGE(VTK REQUIRED NO_MODULE)
INCLUDE(${VTK_USE_FILE})

find_package(Qt5Widgets REQUIRED)

set(SOURCES main.cxx)

ADD_EXECUTABLE(weird ${SOURCES})

TARGET_LINK_LIBRARIES(weird ${VTK_LIBRARIES})


#include vtkRectilinearGrid.h
#include vtkXMLRectilinearGridWriter.h
#include vtkXMLStructuredGridWriter.h
#include vtkDoubleArray.h
#include vtkSmartPointer.h
#include vtkCell.h
#include vtkPolygon.h
#include vtkPoints.h
#include vtkIdTypeArray.h
#include vtkTransform.h
#include vtkTransformFilter.h
#include vtkPointSet.h
#include vtkStructuredGrid.h
//
#include array

int main()
{
  vtkSmartPointervtkRectilinearGridrg3D = vtkSmartPointervtkRectilinearGrid::New();

  vtkSmartPointervtkDoubleArray xdata = vtkSmartPointervtkDoubleArray::New();
  vtkSmartPointervtkDoubleArray ydata = vtkSmartPointervtkDoubleArray::New();
  vtkSmartPointervtkDoubleArray zdata = vtkSmartPointervtkDoubleArray::New();
  
  const double deltaX = 0.01;

  xdata-InsertNextValue(0.0);
  xdata-InsertNextValue(deltaX);

  ydata-InsertNextValue(0.0);
  ydata-InsertNextValue(deltaX);

  zdata-InsertNextValue(0.0);
  zdata-InsertNextValue(deltaX);

  rg3D-SetDimensions(2,2,2);
  rg3D-SetXCoordinates(xdata);
  rg3D-SetYCoordinates(ydata);
  rg3D-SetZCoordinates(zdata);
  
  vtkSmartPointervtkXMLRectilinearGridWriter writer =
vtkSmartPointervtkXMLRectilinearGridWriter::New();
  writer-SetInputData(rg3D);
  writer-SetFileName(rgrid.vtr);
  writer-Write();
  
  vtkSmartPointervtkTransform transform =
vtkSmartPointervtkTransform::New();
  //transform-RotateZ(1.2345); // makes no difference
  transform-RotateZ(0.0);
  
  vtkSmartPointervtkTransformFilter transformFilter =
vtkSmartPointervtkTransformFilter::New();
  transformFilter-SetInputData(rg3D);
  transformFilter-SetTransform(transform);
  transformFilter-Update();

  vtkSmartPointervtkXMLStructuredGridWriter writer2 =
vtkSmartPointervtkXMLStructuredGridWriter::New();
  writer2-SetInputData(transformFilter-GetStructuredGridOutput());
  writer2-SetFileName(sgrid.vts);
  writer2-Write();

   /// switch these two round to enable weirdness.
  //auto grid = transformFilter-GetStructuredGridOutput(); // removes NaNs
  auto grid = rg3D; // gives NaNs
  

  for(uint c = 0; c  grid-GetNumberOfCells(); c++)
{
  auto cell = grid-GetCell(c);
  
  const auto numFaces = cell-GetNumberOfFaces();
  for(uint f = 0; f  numFaces; f++)
	{
	  const auto face = cell-GetFace(f);
	  //std::cout  cell-GetCellType() face-GetCellType()  std::endl;
	  
	  vtkSmartPointervtkPolygon polygon = vtkSmartPointervtkPolygon::New();
	  polygon-GetPoints()-SetNumberOfPoints(4);
	  polygon-GetPointIds()-SetNumberOfIds(4);
	  for(uint i = 0; i  face-GetNumberOfPoints(); i++)
	{
	  polygon-GetPointIds()-SetId(i,i);
	}
	  
	  for(uint p = 0; p  face-GetNumberOfPoints(); p++)
	{
	  std::arraydouble,3 pp;
	  face-GetPoints()-GetPoint(p, pp.data());
	  polygon-GetPoints()-SetPoint(p, pp[0], pp[1], pp[2]);
	}
	  const double area = polygon-ComputeArea();
	  std::cout  Areaarea  std::endl;

	  std::arraydouble,3 faceNormal;
	  const double faceArea = vtkPolygon::ComputeArea(polygon-GetPoints(),
			  face-GetNumberOfPoints(),
			  polygon-GetPointIds()-GetPointer(0),
			  faceNormal.data());
	  std::cout  Area 2faceArea  std::endl;
	  std::cout  Face Normal   faceNormal[0] faceNormal[1] faceNormal[2]  std::endl;
	  
	  vtkSmartPointervtkIdTypeArray pointsIDs = 

[Paraview] dlclose assertion error with boost::regex

2014-06-20 Thread Andrew Ho
I am trying to build a server plugin which utilizes the boost::regex
library, and for some reason when I quit paraview I get this message:

Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion
`map-l_init_called' failed!

I've setup a basic project which demonstrates the issue:

CMakeLists.txt:

find_package(ParaView REQUIRED)

find_package(Boost COMPONENTS regex REQUIRED)

include(${PARAVIEW_USE_FILE})


ADD_PARAVIEW_PLUGIN(RegexProblem 1.0

  SERVER_MANAGER_XML reader.xml

  SERVER_MANAGER_SOURCES main.cpp

  )


target_link_libraries(RegexProblem PRIVATE

  ${Boost_REGEX_LIBRARY}

)


Then I added a simple regex search to the RequestData function:


#include boost/regex.hpp


int main::RequestData(vtkInformation *request, vtkInformationVector
**inVec, vtkInformationVector *outVec)

{

  std::string base_name = ab12cd34;

  boost::regex last_num(\\d+$);

  boost::match_resultsstd::string::iterator match;

  // The next line is the one which triggers the issue

  boost::regex_search(base_name.begin(), base_name.end(), match, last_num);

  return 1;

}


I don't have any issues with other libraries (filesystem, system, hdf5).

I've also tried creating a separate executable which calls dlopen/dlclose
on the library and have had no issues.

Is there something I'm doing wrong, or is a fundamental issue with
ParaView/my OS? I'm running 64-bit Ubuntu 14.04. I'm using the git master
(v4.1.0-934-g29029db)

The one thing I can do to get this message to go away is to change the
target_link_libraries to INTERFACE, but then the code will crash on trying
to run RequestData because it can't find the symbols.
___
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

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


[Paraview] Building ParaView with QT 5.3

2014-06-17 Thread Andrew Maclean
Has anyone been able to do this?
I am using Linux with Qt5.3 and CMake 3.0.0.
I have set PARAVIEW_QT_VERSION to 5
QT 5.3 is found OK
It seems that there is an issue with double colons in target names as
evidenced by  the CMake generation warnings raised:

CMake Warning (dev) at VTK/CMake/vtkModuleMacros.cmake:497 (add_library):
  Policy CMP0028 is not set: Double colon in target name means ALIAS or
  IMPORTED target.  Run cmake --help-policy CMP0028 for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target pqWidgets links to target Qt5::Test but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target,
or
  an ALIAS target is missing?
Call Stack (most recent call first):
  VTK/CMake/vtkModuleMacros.cmake:581 (vtk_add_library)
  Qt/Widgets/CMakeLists.txt:288 (vtk_module_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

and so on until

CMake Warning (dev) at VTK/CMake/vtkForwardingExecutable.cmake:91
(add_executable):
  Policy CMP0028 is not set: Double colon in target name means ALIAS or
  IMPORTED target.  Run cmake --help-policy CMP0028 for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target paraview links to target Qt5::Xml but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  CMake/ParaViewBranding.cmake:294 (vtk_add_executable_with_forwarding2)
  Applications/ParaView/CMakeLists.txt:55 (build_paraview_client)
This warning is for project developers.  Use -Wno-dev to suppress it.

Generating done


From what I understand CMake 3.0.0 is searching for targets, then files on
disk which is the OLD behaviour. So this may not be the problem as I have
been unable to build with earlier versions of CMake.

The build then fails, after VTK is built, with (if testing is set):

[ 28%] Built target vtkPVServerManagerCore
Linking CXX shared library ../../../lib/libQtTesting.so
CMakeFiles/QtTesting.dir/pqNativeFileDialogEventPlayer.cxx.o: In function
`pqNativeFileDialogEventPlayer::start()':
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventPlayer.cxx:122:
undefined reference to `qt_filedialog_existing_directory_hook'
...
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx:152:
undefined reference to `qt_filedialog_open_filenames_hook'
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx:153:
undefined reference to `qt_filedialog_save_filename_hook'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libQtTesting.so] Error 1
make[1]: ***
[ThirdParty/QtTesting/vtkqttesting/CMakeFiles/QtTesting.dir/all] Error 2
make: *** [all] Error 2

If testing is not set the errors are similar:

Linking CXX shared library ../../../lib/libvtkPVServerManagerCore-pv4.1.so
[ 17%] Built target vtkPVServerManagerCore
Linking CXX shared library ../../../lib/libQtTesting.so
CMakeFiles/QtTesting.dir/pqNativeFileDialogEventPlayer.cxx.o: In function
`pqNativeFileDialogEventPlayer::start()':
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventPlayer.cxx:122:
undefined reference to `qt_filedialog_existing_directory_hook'
...
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx:152:
undefined reference to `qt_filedialog_open_filenames_hook'
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx:153:
undefined reference to `qt_filedialog_save_filename_hook'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libQtTesting.so] Error 1
make[1]: ***
[ThirdParty/QtTesting/vtkqttesting/CMakeFiles/QtTesting.dir/all] Error 2
make: *** [all] Error 2


Regards
   Andrew

-- 
___
Andrew J. P. Maclean

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

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


[Paraview] vtkStructuredGrid not showing

2014-06-04 Thread Andrew Ho
Hi,

I'm having some issues getting a structured grid to be rendered in ParaView
with a plugin I'm writing.

What I have is my own class extending vtkStructuredGridAlgorithm.

My RequestData method: http://pastebin.com/uxSk3n5b

I'm pretty sure that my generation code is working correctly as I can plug
it into the standalone VTK example and everything works as expected (
http://www.vtk.org/Wiki/VTK/Examples/Cxx/StructuredGrid/StructuredGrid).

Additionally, after I apply my algorithm, the Information tab lists the
correct statistics:
2 cells
6 points
density data array with 6 elements
extents and bounds are both [0,1,0,2,0,0] which appears to be correct

 I'm using ParaView 4.1 in Ubuntu 14.04 (x64)

This seems to be similar to an issue posted back in 2011:
http://public.kitware.com/pipermail/paraview/2011-June/021872.html

As a note I have tried writing a simple XDMF file which creates a 2D
structured mesh and that loads just fine. However, strangely enough the
extents are in a different order than what I thought they should be ([0, 0,
0, 1, 0, 2])

-- 
Andrew Ho
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Naming an existing data array.

2014-05-30 Thread Andrew Maclean
I have a source object that produces a polydata object. Unfortunately the
normals and scalars are unnamed. How do I access these and name them in
ParaView.
I thought something like this may work in a Programmable Filter:

pdi = self.GetPolyDataInput()

pdo =  self.GetPolyDataOutput()

pdi.GetNormals().SetName('Normals')

pdi.GetScalars().SetName('Scalars')

pdo = pdi


However, I can't see the array names.

This sort of thing works Ok in a Python Script:
# Name the arrays

randomHillsSource.GetOutput().GetPointData().GetNormals().SetName('Normals')

randomHillsSource.GetOutput().GetPointData().GetScalars().SetName('Scalars')
# pd = randomHillsSource.GetOutput().GetPointData()
# print pd

Is it possible to do this on ParaView?

Thanks in advance for any help.

Andrew

-- 
___
Andrew J. P. Maclean

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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] ParaView Qt5 progress

2014-05-13 Thread Andrew Maclean
I attempted a build with ParaView and QT5.3 (RC 3) on the latest version of
Ubuntu and I get the following message:

CMakeFiles/QtTesting.dir/pqNativeFileDialogEventPlayer.cxx.o: In function
`pqNativeFileDialogEventPlayer::start()':
/home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventPlayer.cxx:122:
undefined reference to `qt_filedialog_existing_directory_hook'

There are also undefined references to qt_filedialog_open_filenames_hook
and qt_filedialog_save_filename_hook.

I have set PARAVIEW_QT_VERSION to 5.

I also note that VTK builds successfully with QT 5.3.

Has anyone else had problems building with QT5?

Regards
   Andrew

-- 
___
Andrew J. P. Maclean

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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Explicit numbering of nodes indexes in Xdmf/h5

2013-11-25 Thread Andrew Parker
All,

I thought I'd forward this onto the paraview lists in case somebody could
think of a way to do this?  Please see my email below which I originally
sent to the vtk user list.  Any help would be very much appreciated,
including the fact that it just cannot be done.  I would in particular
welcome thoughts from those who have helped develop the xdmf2 lib within
the paraview source.

Many thanks again,
Andy

-- Forwarded message --
Date: 23 November 2013 17:13
Subject: [vtkusers] Explicit numbering of nodes for Xdmf/h5
To: vtkus...@vtk.org vtkus...@vtk.org


All,

In an effort to spark some comments I thought I'd try to provide a small
example for what I want to do in case my previous post (below) was unclear.
 Below is a valid xdmf file that paraview understands for a plane.

?xml version=1.0?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd
Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
  Domain
Grid GridType=Uniform
  Topology TopologyType=Quadrilateral Dimensions=1
DataItem Dimensions=1 4 NumberType=Int Precision=8
Format=XML
   0 1 3 2
/DataItem
  /Topology
  Geometry GeometryType=XYZ
DataItem Dimensions=4 3 NumberType=Float Precision=4
Format=XML
  -0.5 -0.5 0
  0.5 -0.5 0
  -0.5 0.5 0
  0.5 0.5 0
/DataItem
  /Geometry
/Grid
  /Domain
/Xdmf

---  Now, what I want to do is to allow for the fact that the nodes
defining this plane, may happen to be labelled 300, 20, 22, 80 instead of
0-3.  The key point being that there is still only 4 nodes, not 300 in the
file for which I only need 4 to define the geom, but need to write out 300
to all for the 0-based implicit ordering.  Therefore, I'd like a section in
the geom part of the xmf file to qualify this numbering.  It doesn't bother
me if they're subsequently renumbered inside paraview/vtk, only that I
don't have to, as this is a simplistic version of something more
complicated.  So to be verbose, it should now look like:

?xml version=1.0?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd
Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
  Domain
Grid GridType=Uniform
  Topology TopologyType=Quadrilateral Dimensions=1
DataItem Dimensions=1 4 NumberType=Int Precision=8
Format=XML
  * 300 20 22 80 *
/DataItem
  /Topology
  Geometry GeometryType=*XYZ_Explicit*
DataItem Dimensions=4 3 NumberType=Float Precision=4
Format=XML
*   20 -0.5 -0.5 0 *
*   22 0.5 -0.5 0 *
*   80 -0.5 0.5 0 *
*   300 0.5 0.5 0 *
 /DataItem
  /Geometry
/Grid
  /Domain
/Xdmf

Can this be done, or could this be done in the future?  Am I being daft and
there is an easy way to do this?

Cheers again,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Explicit numbering of nodes indexes in Xdmf/h5

2013-11-25 Thread Andrew Parker
All,

I thought I'd forward this onto the paraview list in case somebody could
think of a way to do this?  Please see my email below which I originally
sent to the vtk user list.  Any help would be very much appreciated,
including the fact that it just cannot be done.  I would in particular
welcome thoughts from those who have helped develop the xdmf2 lib within
the paraview source.

Many thanks again,
Andy

-- Forwarded message --
Date: 23 November 2013 17:13
Subject: [vtkusers] Explicit numbering of nodes for Xdmf/h5
To: vtkus...@vtk.org vtkus...@vtk.org


All,

In an effort to spark some comments I thought I'd try to provide a small
example for what I want to do in case my previous post (below) was unclear.
 Below is a valid xdmf file that paraview understands for a plane.

?xml version=1.0?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd
Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
  Domain
Grid GridType=Uniform
  Topology TopologyType=Quadrilateral Dimensions=1
DataItem Dimensions=1 4 NumberType=Int Precision=8
Format=XML
   0 1 3 2
/DataItem
  /Topology
  Geometry GeometryType=XYZ
DataItem Dimensions=4 3 NumberType=Float Precision=4
Format=XML
  -0.5 -0.5 0
  0.5 -0.5 0
  -0.5 0.5 0
  0.5 0.5 0
/DataItem
  /Geometry
/Grid
  /Domain
/Xdmf

---  Now, what I want to do is to allow for the fact that the nodes
defining this plane, may happen to be labelled 300, 20, 22, 80 instead of
0-3.  The key point being that there is still only 4 nodes, not 300 in the
file for which I only need 4 to define the geom, but need to write out 300
to all for the 0-based implicit ordering.  Therefore, I'd like a section in
the geom part of the xmf file to qualify this numbering.  It doesn't bother
me if they're subsequently renumbered inside paraview/vtk, only that I
don't have to, as this is a simplistic version of something more
complicated.  So to be verbose, it should now look like:

?xml version=1.0?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd
Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
  Domain
Grid GridType=Uniform
  Topology TopologyType=Quadrilateral Dimensions=1
DataItem Dimensions=1 4 NumberType=Int Precision=8
Format=XML
  * 300 20 22 80 *
/DataItem
  /Topology
  Geometry GeometryType=*XYZ_Explicit*
DataItem Dimensions=4 3 NumberType=Float Precision=4
Format=XML
*   20 -0.5 -0.5 0 *
*   22 0.5 -0.5 0 *
*   80 -0.5 0.5 0 *
*   300 0.5 0.5 0 *
 /DataItem
  /Geometry
/Grid
  /Domain
/Xdmf

Can this be done, or could this be done in the future?  Am I being daft and
there is an easy way to do this?

Cheers again,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Explicit numbering of nodes indexes in Xdmf/h5

2013-11-25 Thread Andrew Parker
Hi Jason,

Many thanks for your reply.  In my case I'm not quite sure how attributes
would help me, but I may not fully understand how they work.  As I posted
in the second xmf example file in my last email, given 4 nodes with 4
unique positions, I can completely define the plane topologically by
writing the node numbers out in the correct order, their actual
label/value/number doesn't matter (as long as it consistently refers to the
correct position).

In my example I used [300 20 22 80] as the node labels to define a 2D
plane.  However, my current understanding of xdmf(2) is that I would need
to supply in the geometry section (regardless of GeometryType) 301 x, y and
z node positions (even if 297 are just zeros), just so that I could conform
to the zero-based implicit numbering of that section.  That allows paraview
to index that data and pick out (the only) 4 positions it requires to
define the plane.

I'm asking whether there is a way round this so that, as I gave as an
example in my second xmf file, one could additionally provide an explicit
node number next to each x,y,z position so that the implicit zero-based
numbering could be skipped and only 4 x,y,z positions needed to be added to
the file in addition to their label/value/number.

Can attributes do this?  If so could you provide a quick example, ideally
just with reference to the second example file I included in my email?  Do
you have a link to the xdmf(2) mail list?

Many thanks again,
Andy


On 25 November 2013 16:13, Jason Fleming
jason.flem...@seahorsecoastal.comwrote:

 Hello Andy

 The XDMF2 library has the ability to assign Attributes and Information
 data to Geometry objects. So you wouldn't be changing the node numbers,
 you'd just be adding a new Attribute that has different values at each
 node, and you'd need to display this new Attribute in Paraview instead of
 the node numbers.

 Since you mentioned offsets for XDMF arrays: I've been working on an XDMF2
 implementation for ADCIRC, a finite element coastal ocean model. Being a
 fortran code, ADCIRC uses 1-offset arrays, while the XDMF2 standard is
 0-offset.

 Its easy enough for us to subtract 1 from the node numbers in the element
 table when storing mesh data as XDMF2, reversing the operation upon read
 into ADCIRC or leaving them as-is for reading into Paraview. However, when
 looking at node and element number labels on ADCIRC data in Paraview, the
 analyst has to remember that all the displayed values are actually off by
 1.

 I emailed the XDMF mailing list and got a reply from the primary
 developers that they were previously unaware of the demand for 1-offset
 arrays, but they are now researching the possibility of adding this.

 Your case is a little different, since it seems you are interested in
 arbitrary node numbering. But I thought I would mention the above
 background info for completeness. As I said, XDMF2 Attributes may be the
 solution for you.

 Cheers
 Jason






 On Mon, Nov 25, 2013 at 10:41 AM, Andrew Parker 
 andy.john.par...@googlemail.com wrote:

 All,

 I thought I'd forward this onto the paraview list in case somebody could
 think of a way to do this?  Please see my email below which I originally
 sent to the vtk user list.  Any help would be very much appreciated,
 including the fact that it just cannot be done.  I would in particular
 welcome thoughts from those who have helped develop the xdmf2 lib within
 the paraview source.

 Many thanks again,
 Andy

 -- Forwarded message --
 Date: 23 November 2013 17:13
 Subject: [vtkusers] Explicit numbering of nodes for Xdmf/h5
 To: vtkus...@vtk.org vtkus...@vtk.org


 All,

 In an effort to spark some comments I thought I'd try to provide a small
 example for what I want to do in case my previous post (below) was unclear.
  Below is a valid xdmf file that paraview understands for a plane.

 ?xml version=1.0?
 !DOCTYPE Xdmf SYSTEM Xdmf.dtd
 Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
   Domain
 Grid GridType=Uniform
   Topology TopologyType=Quadrilateral Dimensions=1
 DataItem Dimensions=1 4 NumberType=Int Precision=8
 Format=XML
0 1 3 2
 /DataItem
   /Topology
   Geometry GeometryType=XYZ
 DataItem Dimensions=4 3 NumberType=Float Precision=4
 Format=XML
   -0.5 -0.5 0
   0.5 -0.5 0
   -0.5 0.5 0
   0.5 0.5 0
 /DataItem
   /Geometry
 /Grid
   /Domain
 /Xdmf

 ---  Now, what I want to do is to allow for the fact that the nodes
 defining this plane, may happen to be labelled 300, 20, 22, 80 instead of
 0-3.  The key point being that there is still only 4 nodes, not 300 in the
 file for which I only need 4 to define the geom, but need to write out 300
 to all for the 0-based implicit ordering.  Therefore, I'd like a section in
 the geom part of the xmf file to qualify this numbering.  It doesn't bother
 me if they're subsequently renumbered inside paraview/vtk, only that I
 don't have to, as this is a simplistic version

[Paraview] How to use vtk sequence of files to animate them?

2013-05-22 Thread Andrew Somorjai
Hello,

Thus far this is what I've accomplished with Paraview but I cannot seem to get 
my animation to run properly as I will explain at the end.

1. I took a sequence of 30 vtk format files made by Athena (MHD numerical 
software) and imported all of them into paraview.
2. I added every single one of them to the animation view.
3. I changed each vtk grid to only run for 1 second and each vtk is a frame 
with 30 seconds and 30 frames total.
    Basically frame 1 is before frame 2 and so on and none of them overlap in 
time.
4. I noticed that toggling a  eye in the pipeline browser turns off specific 
vtk grids in the 3d viewer and for some reason this is where things don't work.

If I select all of the eyes and turn them on only the last one turned on 
causes the selected 3d vtk grid to appear. I can only render that image when I
try to animate all the 30 frames using file-save animation-avi. I expect that 
at each frame every second a different grid would show and get animated.

Please feel free to ask more questions regarding my setup. I would post 
screenshots but the mailing list is archaic as this is 2013 and better 
alternatives exist now.

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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Median Dual Mesh Construction

2013-02-14 Thread Andrew Parker
Hi,

Just a quick one.  Is there any filter in vtk/paraview to obtain the median
dual of a mesh?  I'm happy to assume the cells are know cell types, but
would want it for any input type of mesh.

Anybody had success with something like this in vtk?

Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Construct 3D revolved mesh from a 2d mesh

2013-02-01 Thread Andrew Parker
Sorry to repost.  Does anybody have a feel for whether I can apply a filter
and essentially produce a 3d volume mesh with associated scalars and
transformed vectors, from it's 2d counter part using vtk?

i.e. a cylindrically symmetric simulation converted to a valid 3d volume
mesh.  I can apply the filter, similar to this thread:

http://www.paraview.org/pipermail/paraview/2012-March/024320.html

but in my case, rather than for presentational purposes, I need the
internal of the rotated shell to be a populated volume mesh.  Using the
method in the above post, or described in my previous post gives only the
outer shell.

Any help either way really appreciated!

Cheers,
Andy


All,

 I am doing this in code using vtk, but can be reproduced using paraview as
 noted below.

 I have a 2d mesh which represent a cylindrically symmetric simulation.  I
 want to be able to revolve this around the z-axis to create a 3d mesh.
  However, when doing this using the rotational extrusion filter, I only
 seem to have boundary faces.  I can't get this to give me 3d cells inside
 the volume of revolution, which is what I'm after.  Can this be done?  I
 have done this in visit and sure enough the mesh is inside the volume of
 revolution as I expect.

 This can be reproduced in paraview using the UCD_3.inp example from
 the data set.

 First apply a transform and rotate around 90 degrees round the y axis.
  Then apply the extract surface filter. I too must do this in my code as
 the incoming mesh is a vtkUnstructuredGrid and the rotational extrusion
 filter wants a polydata.  Then apply the rotational extrusion filter for
 360 degrees with 120 resolution.  Finally perform an x-normal slice at the
 default position.  Viewing only the slice shows the outer boundary only,
 but I had wanted the interior of the boundary to be populated with a mesh,
 not bothered about its topology, just want a fully populated mesh within
 the interior.

 Again, any help on the above really appreciated??  As I say achieved with
 visitwhich I mention only because I assume the code under the hood
 would be vtk and hence possible in my case.

 Many thanks,
 Andy

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Construct 3D revolved mesh from a 2d mesh

2013-01-31 Thread Andrew Parker
All,

I am doing this in code using vtk, but can be reproduced using paraview as
noted below.

I have a 2d mesh which represent a cylindrically symmetric simulation.  I
want to be able to revolve this around the z-axis to create a 3d mesh.
 However, when doing this using the rotational extrusion filter, I only
seem to have boundary faces.  I can't get this to give me 3d cells inside
the volume of revolution, which is what I'm after.  Can this be done?  I
have done this in visit and sure enough the mesh is inside the volume of
revolution as I expect.

This can be reproduced in paraview using the UCD_3.inp example from the
data set.

First apply a transform and rotate around 90 degrees round the y axis.
 Then apply the extract surface filter. I too must do this in my code as
the incoming mesh is a vtkUnstructuredGrid and the rotational extrusion
filter wants a polydata.  Then apply the rotational extrusion filter for
360 degrees with 120 resolution.  Finally perform an x-normal slice at the
default position.  Viewing only the slice shows the outer boundary only,
but I had wanted the interior of the boundary to be populated with a mesh,
not bothered about its topology, just want a fully populated mesh within
the interior.

Again, any help on the above really appreciated??  As I say achieved with
visitwhich I mention only because I assume the code under the hood
would be vtk and hence possible in my case.

Many thanks,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Possible vtkOBBTree bug or weirdness

2012-11-21 Thread Andrew Parker
Hi,

So I've been having some problems with vtkOBBTree using the
intersectWithLine method with the following signature:

int IntersectWithLine (double a0[3], double a1[3], double tol, double t,
double x[3], double pcoords[3], int subId, vtkIdType cellId,
vtkGenericCell *cell)

In particular, depending on what I have initialised some of the input
parameters to, which I had assumed and the code and docs indicate their
initial values are not important, with exception of a0, a1, and tol(0,0), I
got different results.  Having looked at the tree, I found that I had
forgotten to set the tolerance, it was undefined in the class and unset.
(might be good if a sensible default got set, this too could be defined as
a bug...)  Anyway, correcting that and setting the tolerance to zero I then
got this:

Percentage Complete: 2Generic Warning: In VTK/Common/vtkMath.cxx, line 736
vtkMath::Jacobi: Error extracting eigenfunctions

A lot.  Looking at the code, the following comment is a bit worrying:

   this is NEVER called
  if ( i = VTK_MAX_ROTATIONS )
{
vtkGenericWarningMacro(
   vtkMath::Jacobi: Error extracting eigenfunctions);
return 0;
}

I need a locator that can let me intersect with a line, and given me back:
1) the cell that it intersected with,
2) the location of the intersection.

Also I found in some instances 't' was bigger than one, which I understood
to not be possible.

Any help, and advice on an alternative intersector that can give me back
the above would be great as my choice of vtkobbtree was almost random

Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] 3.98-rc2 and multiple selections

2012-11-13 Thread Andrew Parker
Hi,

So as requested, I built the latest rc against 4.7.2 and that also happens
to be built against qt 4.8.3, and it compiles and installs fine. This is
built against openmpi 1.6.2 with use_mpi on.  However, I have noticed that
when loading multiple files around 20 of them, vtu's in this instance, each
representing a sub part of the domain, after apply is pressed it only opens
the last file in the list.  I had to go through each file, 20 odd and click
apply on each to see them all.  Don't know if this is a known bug, or is a
feature change and I'm now doing it incorrectly, but this does not behave
the same as 3.14.1 would be nice if you only needed to press apply once
as before.

Hope the info is useful,
Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Bug with 4.7.2 build and 3.14.1

2012-11-09 Thread Andrew Parker
Hi,

I get this error building a fresh clone of 3.14.1 using gcc 4.7.2, vtk
build and works perfectly fine with this compiler so I presume it's a
slight change in ordering that has caused the problem.:

[ 30%] Building CXX object
VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o

ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx: In function ‘FT_Error
vtkFreeTypeUtilitiesFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,
FT_FaceRec_**)’:
ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
type-specifier before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected ‘’
before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected ‘(’
before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: ‘intptr_t’
was not declared in this scope

Seems very simple, just seems to me to be a missing #include stdint.h,
fixing it by including said header in the cxx file above, then gives this:

ParaView/VTK/Rendering/vtkFreeTypeTools.cxx: In function ‘FT_Error
vtkFreeTypeToolsFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,
FT_FaceRec_**)’:
ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected
type-specifier before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘’
before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: expected ‘(’
before ‘intptr_t’
ParaView/VTK/Rendering/vtkFreeTypeTools.cxx:229:46: error: ‘intptr_t’ was
not declared in this scope

including this again inside the cxx fixes this too and it seems to go
through fine.  Probably too late for 3.14.1 but might be of use for
3.98?

Let me know if this was the wrong thing to use?? As I've change my local
copy to reflect the above.

Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [vtkusers] vtkDistributedDataFilter and ghost cells

2012-11-08 Thread Andrew Parker
Hi mate, how goes it?

How do you set the ghost level to be one rather than default zero then?
 Have you written your own downstream filter to update the number of
ghost levels?  If so any tips?

If you know the name of a global node ID array in the input dataset, set
that name with this method... Which method??  How do I set this?  I could
probably work out the global node and cell numbers and stick them into the
meshes that I pass to D3.  But how do I do that?  What method do I call to
set them, and what name do I give them this method ain't that helpful
in the docs ;-)

Cheers,
Andy

On 8 November 2012 01:18, Paul Edwards paul.m.edwa...@gmail.com wrote:

 Hi Andy,

 I've had a few problems with D3.  The limitation I find is that global
 node ids are slow to generate and the point merging (I think) is only
 performed in single precision.  Also, remember that everything will be
 redone each time the number of ghost levels that are requested changes -
 this means the global ids are recalculated, it is repartitioned and then
 the number of ghost levels are added.  In some ways it might be better to
 have D3 split into 3 filters for the different steps although it would make
 a long pipeline.

 Btw looking at the docs it seems to suggest that it only creates temporary
 arrays for global ids within d3 (although I think in the past I have had
 access to the global ids it created):

 If you know the name of a global node ID array in the input dataset, set
 that name with this method. If you leave it unset, D3 will search the input
 data set for certain common names of global node ID arrays. If none is
 found, and ghost cells have been requested,* D3 will create a temporary
 global node ID array* before acquiring ghost cells. It is also desirable
 to have global element IDs. However, if they don't exist D3 can create them
 relatively quickly. Set the name of the global element ID array if you have
 it. If it is not set, D3 will search for it using common names. If still
 not found, D3 will create a temporary array of global element IDs.


 My filters now add their own global ids so I don't use d3 for that.

 Regards,
 Paul


 On 7 November 2012 14:50, George Zagaris george.zaga...@kitware.comwrote:

 On Wed, Nov 7, 2012 at 9:34 AM, Andrew Parker
 andy.john.par...@googlemail.com wrote:
  Many thanks for that.  I perform some threshold stuff early on, so
 basically
 

 Perhaps an easy solution is to append a GlobalCellID and
 GlobalNodeID before thresholding. To the best of my knowledge,
 threshold will extract vtkUnstructuredGrid instance from whatever goes
 in the input and not automatically retain this type of global
 information.

 Hope this helps.

 Best,
 George

  On 7 November 2012 13:00, George Zagaris george.zaga...@kitware.com
 wrote:
 
  Hello,
 
  Since the data is essentially structured (rectilinear grids), I think
  the best way to get the global/local mapping is to use extent
  information. Specifically, you need the whole extent of the grid and
  the global extent of each partition. Then from the global IJK of a
  point or cell, and the whole extent you can use methods from
  vtkStructuredData to compute the corresponding global linear index for
  a point or cell. Do you have extent information?
 
  Also, I have done some work on ghost generation in VTK for structured
  (and AMR) data. Unfortunately, currently it doesn't work outside the
  box with rectilinear grids. This functionality can still be used to
  create ghost layers and exchange the fields (node and/or cell data) on
  the grid but, it doesn't communicate the coordindates on the
  rectilinear grid. Alternatively, you may be able to converge to a
  solution faster if you convert the rectilinear grid to a
  vtkStructuredGrid and use vtkPStructuredGridConnectivity or
  vtkPStructuredGridGhostDataGenerator to generate ghost layers. There
  are tests that illustrate how to use these classes and I can provide
  more information if you are interested.
 
  Best,
  George
 
  On Wed, Nov 7, 2012 at 7:22 AM, Moreland, Kenneth kmo...@sandia.gov
  wrote:
   Hmmm. I thought global point IDs were always created. Maybe it only
   happens
   when ghost cells are created. Try getting that working first.
  
   As far as global cell IDs are concerned, you are out of luck.
   vtkDistributedDataFilter does not create them. But they are not all
 that
   useful anyway since, unlike points, once you remove the out cells
 there
   is
   no overlap. Usually you can get all the information you want from the
   ghost
   level.
  
   If you really need global cell IDs, I'm sure you would have no
 trouble
   making them yourself. I would do it before running
   vtkDistributedDataFilter.
   Assuming when you first read in your data you have no duplicate
 cells,
   just
   label those on process 0 as 0..N_0, those on process 1 as N_0+1..N_1,
   and so
   on.
  
   -Ken
  
   Sent from my iPad so blame autocorrect.
  
   On Nov 7, 2012, at 2:38 AM, Andrew Parker

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-07 Thread Andrew Parker
So that's working now in terms of the cast, forgot GetOutput() inside the
cast operator!  The returned vtkUGrid is now fully populated and contains
sensible information.

However, both getPointData()-GetGlobalIds()  and
 getCellData()-GetGlobalIds() return null pointers.  Any thoughts?

Also, should I be using CellData since I want the cell global to local
mapping for cells not the nodes, at the moment at least?

On 6 November 2012 19:05, Moreland, Kenneth kmo...@sandia.gov wrote:

   Perhaps it is outputting a composite data set of some type?  Try
 running GetClassName() to see what type of data object it really is.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 9:50 AM

 To: Kenneth Moreland kmo...@sandia.gov
 Cc: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] Re: [Paraview] vtkDistributedDataFilter and ghost
 cells

   Thanks on both accounts.  Any thoughts why the downcast called after
 dd-Update() on distributedDataFilter is a null pointer?  As in, dd is
 working perfectly properly, but I don't seem to be able to extract a valid
 unstructuredgrid.  For a follow up question I assume
 getPointData()-GetGlobalIds() gives the local to global for the mesh
 nodes, and I should use getCellData()-GetGlobalIds() to get the local to
 global for the cells?  Once I get a valid pointer that is

  Cheers again,
 Andy

 On 6 November 2012 16:40, Moreland, Kenneth kmo...@sandia.gov wrote:

   You should be able to do a vtkUnstructuredGrid::SafeDownCast() to the
 data to get the unstructured mesh (and access to the point data).

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 9:32 AM
 To: Kenneth Moreland kmo...@sandia.gov
 Cc: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] Re: [Paraview] vtkDistributedDataFilter and ghost
 cells

   Another question which I'd forgotten, how do I get to a
 vtkUnstructuredGrid per processor from the vtkDistributedDataFilter.

  For instance, dd-GetOutput()-GetPointData()-GetGlobalIds() doesn't
 work as it's a vtkDataObject

  Stupid question I'm sure but the doxy notes say this type returns an
 unstructured mesh, but I can't seem to get it out?

  Also, why exactly do I need the vtkPieceScalars and
 vtkDataSetSurfaceFilter again? If the above can be made to work and
 return the mapping, what are they adding in terms of information?

  Thanks again,
 Andy

 On 6 November 2012 16:00, Moreland, Kenneth kmo...@sandia.gov wrote:

   I believe vtkDistributedDataFilter will always return with global
 point ids (a mapping from local point ids to global point ids), although it
 might pass them if they already exist.  So
 dd-GetOutput()-GetPointData()-GetGlobalIds() should return the array
 that gives this mapping.

  Ghost cells are only created on demand, and this is usually done by
 pipeline convention.  If you have a filter that needs a layer of ghost
 cells, it should override the RequestUpdateExtent method to increment the
 value of UPDATE_NUMBER_OF_GHOST_LEVELS from the output information to the
 input information.  This method would look something like this.

   int vtkDistributedDataFilter::RequestUpdateExtent(
   vtkInformation *vtkNotUsed(request),
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
   // get the info objects
   vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
   vtkInformation *outInfo = outputVector-GetInformationObject(0);

int piece, numPieces, ghostLevels;

// We require an extra layer of ghost cells from upstream.

piece =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
   numPieces =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
   ghostLevels =
 outInfo-Get(
 vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());

inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
 piece);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
   numPieces);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
   ghostLevels);

return 1;
 }


  The operation of the RequestData method should also strip off this
 layer of ghost cells.  It might be possible to request a layer of ghost
 cells by setting UPDATE_NUMBER_OF_GHOST_LEVELS at the bottom of the
 pipeline, but I'm not totally sure how to make that work.  It's probably
 easier (or at least cleaner) to do it from within a filter.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 8:25 AM
 To: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] [Paraview] vtkDistributedDataFilter and ghost cells

   Hi,

  Hope you can help.  I have some code running in parallel, that by
 other means I have constructed

Re: [Paraview] [vtkusers] vtkDistributedDataFilter and ghost cells

2012-11-07 Thread Andrew Parker
Many thanks for that.  I perform some threshold stuff early on, so
basically I'm working with unstructured grids pretty much from zero.  I
think I need to try to populate the ghost cells using the approach Ken
suggested, but I'm not sure how to do that both from a conceptual point of
view - I'd just be copying Ken's code, but also from the perspective of
fitting into my code design.

There does seem to be some confusion surrounding ghost cells and local to
global cell mappings both in terms of which class computes/owns them and
when and how.  Is that fair? I had assumed that given the massive amount of
work that D3 is doing, it would (must have) computed this info and have
been readily available via get methods, rather than going down the route of
extending the class just to define my own virtual methods

These things are basic sets of info for parallel computing and I would have
assumed others would have wanted them but there is a lack of usage examples
and postsnot a complaint just surprised given that basically you can't
get going with vtk in parallel unless you use something like D3 for the
type of things I want to do.  i.e. local processing and some exchange over
halos

It is odd that I also can't get cell local to global out of the box as Ken
said...

Going to have a go with Ken's method and see where I get to.  Are there any
good examples of creating and using ghost cells with unstructured meshes
that you could recommend??

Cheers again,
Andy

On 7 November 2012 13:00, George Zagaris george.zaga...@kitware.com wrote:

 Hello,

 Since the data is essentially structured (rectilinear grids), I think
 the best way to get the global/local mapping is to use extent
 information. Specifically, you need the whole extent of the grid and
 the global extent of each partition. Then from the global IJK of a
 point or cell, and the whole extent you can use methods from
 vtkStructuredData to compute the corresponding global linear index for
 a point or cell. Do you have extent information?

 Also, I have done some work on ghost generation in VTK for structured
 (and AMR) data. Unfortunately, currently it doesn't work outside the
 box with rectilinear grids. This functionality can still be used to
 create ghost layers and exchange the fields (node and/or cell data) on
 the grid but, it doesn't communicate the coordindates on the
 rectilinear grid. Alternatively, you may be able to converge to a
 solution faster if you convert the rectilinear grid to a
 vtkStructuredGrid and use vtkPStructuredGridConnectivity or
 vtkPStructuredGridGhostDataGenerator to generate ghost layers. There
 are tests that illustrate how to use these classes and I can provide
 more information if you are interested.

 Best,
 George

 On Wed, Nov 7, 2012 at 7:22 AM, Moreland, Kenneth kmo...@sandia.gov
 wrote:
  Hmmm. I thought global point IDs were always created. Maybe it only
 happens
  when ghost cells are created. Try getting that working first.
 
  As far as global cell IDs are concerned, you are out of luck.
  vtkDistributedDataFilter does not create them. But they are not all that
  useful anyway since, unlike points, once you remove the out cells there
 is
  no overlap. Usually you can get all the information you want from the
 ghost
  level.
 
  If you really need global cell IDs, I'm sure you would have no trouble
  making them yourself. I would do it before running
 vtkDistributedDataFilter.
  Assuming when you first read in your data you have no duplicate cells,
 just
  label those on process 0 as 0..N_0, those on process 1 as N_0+1..N_1,
 and so
  on.
 
  -Ken
 
  Sent from my iPad so blame autocorrect.
 
  On Nov 7, 2012, at 2:38 AM, Andrew Parker
  andy.john.par...@googlemail.com wrote:
 
  So that's working now in terms of the cast, forgot GetOutput() inside the
  cast operator!  The returned vtkUGrid is now fully populated and contains
  sensible information.
 
  However, both getPointData()-GetGlobalIds()  and
  getCellData()-GetGlobalIds() return null pointers.  Any thoughts?
 
  Also, should I be using CellData since I want the cell global to local
  mapping for cells not the nodes, at the moment at least?
 
  On 6 November 2012 19:05, Moreland, Kenneth kmo...@sandia.gov wrote:
 
  Perhaps it is outputting a composite data set of some type?  Try running
  GetClassName() to see what type of data object it really is.
 
  -Ken
 
  From: Andrew Parker andy.john.par...@googlemail.com
  Date: Tuesday, November 6, 2012 9:50 AM
 
  To: Kenneth Moreland kmo...@sandia.gov
  Cc: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org
  paraview@paraview.org
  Subject: [EXTERNAL] Re: [Paraview] vtkDistributedDataFilter and ghost
  cells
 
  Thanks on both accounts.  Any thoughts why the downcast called after
  dd-Update() on distributedDataFilter is a null pointer?  As in, dd is
  working perfectly properly, but I don't seem to be able to extract a
 valid
  unstructuredgrid.  For a follow up question I assume

Re: [Paraview] [vtkusers] vtkDistributedDataFilter and ghost cells - PROGRESS

2012-11-07 Thread Andrew Parker
So I've added this in an .cpp file and complied it:

vtkStandardNewMacro(MyD3)

MyD3::MyD3()
: vtkDistributedDataFilter()
{
}

void MyD3::PrintSelf(ostream os, vtkIndent indent)
{
  this-Superclass::PrintSelf(os,indent);
}

int MyD3::RequestUpdateExtent(vtkInformation *vtkNotUsed(request),
  vtkInformationVector **inputVector,
  vtkInformationVector *outputVector)
{
  // get the info objects
  vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
  vtkInformation *outInfo = outputVector-GetInformationObject(0);

  int piece, numPieces, ghostLevels;

  // We require an extra layer of ghost cells from upstream.

  piece =
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
  numPieces =
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
  ghostLevels =
outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS())
+ 1; //# New bit, modified from Ken's notes

  inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
piece);
  inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
numPieces);

inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
ghostLevels);

  return 1;
}

And I add this to a .h file:

class MyD3
  : public vtkDistributedDataFilter
{
  vtkTypeMacro(MyD3, vtkDistributedDataFilter);

public:
  static MyD3 *New();
  void PrintSelf(ostream os, vtkIndent indent);
  int RequestUpdateExtent(vtkInformation *vtkNotUsed(request),
  vtkInformationVector **inputVector,
  vtkInformationVector *outputVector);
protected:
  MyD3();

private:
  // MyD3(const MyD3);  // Not implemented.
  // void operator=(const MyD3);  // Not implemented.
};

I then invoke it in parallel 3 way, as I did before, but now using:

  vtkSmartPointerMyD3 dd = vtkSmartPointerMyD3::New();

  // here mesh is a vtkUnstructuredGrid on each processor, obtained from
other (non-vtk) means, but represents a valid and checked subset of the
entire mesh.
  dd-SetInput(mesh);
  dd-SetController(getVtkController());
  dd-SetBoundaryModeToSplitBoundaryCells();  // clipping
  dd-UseMinimalMemoryOff();
  dd-Update();

  vtkSmartPointervtkUnstructuredGrid
ddUmesh(vtkUnstructuredGrid::SafeDownCast(dd-GetOutput()));

  auto ids = ddUmesh-GetPointData()-GetGlobalIds();
  auto cids = ddUmesh-GetCellData()-GetGlobalIds();


Notes:

1) Both ids, and cids remain null, although I now understand from Ken that
cids will always be null as they're not created.
2) Using totalview and stopping the code in parallel 3 way on line 670 of
vtkDistributedDataFilter.cxx, the member this-GhostLevel is always zero
and never executes codes branches dependent on it, however, the above code
successfully increments the ghostLevels to one.
3) So basically moved forward a little bit, but still not working.  Any
thoughts??
4) If I had created the ghost cells, how would I know, is my next question.
 How can I visualise them to check?

Any thoughts really welcome.

Cheers again,
Andy



On 7 November 2012 14:50, George Zagaris george.zaga...@kitware.com wrote:

 On Wed, Nov 7, 2012 at 9:34 AM, Andrew Parker
 andy.john.par...@googlemail.com wrote:
  Many thanks for that.  I perform some threshold stuff early on, so
 basically
 

 Perhaps an easy solution is to append a GlobalCellID and
 GlobalNodeID before thresholding. To the best of my knowledge,
 threshold will extract vtkUnstructuredGrid instance from whatever goes
 in the input and not automatically retain this type of global
 information.

 Hope this helps.

 Best,
 George

  On 7 November 2012 13:00, George Zagaris george.zaga...@kitware.com
 wrote:
 
  Hello,
 
  Since the data is essentially structured (rectilinear grids), I think
  the best way to get the global/local mapping is to use extent
  information. Specifically, you need the whole extent of the grid and
  the global extent of each partition. Then from the global IJK of a
  point or cell, and the whole extent you can use methods from
  vtkStructuredData to compute the corresponding global linear index for
  a point or cell. Do you have extent information?
 
  Also, I have done some work on ghost generation in VTK for structured
  (and AMR) data. Unfortunately, currently it doesn't work outside the
  box with rectilinear grids. This functionality can still be used to
  create ghost layers and exchange the fields (node and/or cell data) on
  the grid but, it doesn't communicate the coordindates on the
  rectilinear grid. Alternatively, you may be able to converge to a
  solution faster if you convert the rectilinear grid to a
  vtkStructuredGrid and use vtkPStructuredGridConnectivity or
  vtkPStructuredGridGhostDataGenerator to generate ghost layers. There
  are tests that illustrate how to use these classes and I can provide
  more information if you are interested.
 
  Best,
  George
 
  On Wed, Nov 7, 2012 at 7:22 AM, Moreland, Kenneth kmo...@sandia.gov
  wrote:
   Hmmm. I thought global point IDs were

Re: [Paraview] [vtkusers] vtkDistributedDataFilter and ghost cells - PROGRESS

2012-11-07 Thread Andrew Parker
Ok thanks again for the advice.  Think it's really clear I'm confused
between the downstream nomenclature.  Do mean just a class that
constructs or takes a D3 as input that I write from scratch outside of vtk?
Or do you mean something totally different?  Clearly my understanding of
it was to inherit was totally wrong.  I would prefer to stick with the
downstream filter if that's more robust.

Could you give me a quick explanation in this context?  In addition could
you point me towards an example of using a downstream filter in this
context?

Sorry again for the confusion,
Andy

On 7 November 2012 16:48, Moreland, Kenneth kmo...@sandia.gov wrote:

   The instructions I gave were for a downstream filter separate from D3.
  If you want to modify D3 itself (which sounds like a reasonable good idea
 for your purposes) then you will have change the value for
 UPDATE_NUMBER_OF_GHOST_LEVELS that the RequestData reads.  If you want to
 go with this approach, first blow away your RequestUpdateExtent method.
  Let D3 do its regular thing.  Then implement a RequestData method like the
 following:

  int MyD3::RequestData(
vtkInformation *request,
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
vtkInformation *outInfo = outputVector-GetInformationObject(0);

int requestedGhostLevel = outInfo-Get(
  vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());
outInfo-Set(
  vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
  requestedGhostLevel + 1);

return this-Superclass::RequestData(request, inputVector,
 outputVector);
 }

   I don't know if the executive is going to get upset about you changing
 UPDATE_NUMBER_OF_GHOST_LEVELS in RequestData, but I think it will be all
 right.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Wednesday, November 7, 2012 9:31 AM
 To: George Zagaris george.zaga...@kitware.com
 Cc: Kenneth Moreland kmo...@sandia.gov, vtkus...@vtk.org 
 vtkus...@vtk.org, paraview@paraview.org paraview@paraview.org
 Subject: [EXTERNAL] Re: [vtkusers] [Paraview] vtkDistributedDataFilter
 and ghost cells - PROGRESS

   So I've added this in an .cpp file and complied it:

  vtkStandardNewMacro(MyD3)

  MyD3::MyD3()
 : vtkDistributedDataFilter()
 {
 }

  void MyD3::PrintSelf(ostream os, vtkIndent indent)
 {
   this-Superclass::PrintSelf(os,indent);
 }

  int MyD3::RequestUpdateExtent(vtkInformation *vtkNotUsed(request),
  vtkInformationVector **inputVector,
  vtkInformationVector *outputVector)
 {
   // get the info objects
   vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
   vtkInformation *outInfo = outputVector-GetInformationObject(0);

   int piece, numPieces, ghostLevels;

   // We require an extra layer of ghost cells from upstream.

   piece =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
   numPieces =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
   ghostLevels =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS())
 + 1; //# New bit, modified from Ken's notes

   inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
 piece);
   inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
 numPieces);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
 ghostLevels);

   return 1;
 }

  And I add this to a .h file:

  class MyD3
   : public vtkDistributedDataFilter
 {
   vtkTypeMacro(MyD3, vtkDistributedDataFilter);

 public:
   static MyD3 *New();
   void PrintSelf(ostream os, vtkIndent indent);
   int RequestUpdateExtent(vtkInformation *vtkNotUsed(request),
  vtkInformationVector **inputVector,
  vtkInformationVector *outputVector);
 protected:
   MyD3();

 private:
   // MyD3(const MyD3);  // Not implemented.
   // void operator=(const MyD3);  // Not implemented.
 };

  I then invoke it in parallel 3 way, as I did before, but now using:

vtkSmartPointerMyD3 dd = vtkSmartPointerMyD3::New();

   // here mesh is a vtkUnstructuredGrid on each processor, obtained from
 other (non-vtk) means, but represents a valid and checked subset of the
 entire mesh.
   dd-SetInput(mesh);
   dd-SetController(getVtkController());
   dd-SetBoundaryModeToSplitBoundaryCells();  // clipping
   dd-UseMinimalMemoryOff();
   dd-Update();

   vtkSmartPointervtkUnstructuredGrid
 ddUmesh(vtkUnstructuredGrid::SafeDownCast(dd-GetOutput()));

   auto ids = ddUmesh-GetPointData()-GetGlobalIds();
   auto cids = ddUmesh-GetCellData()-GetGlobalIds();

  
 Notes:

  1) Both ids, and cids remain null, although I now understand from Ken
 that cids will always be null as they're not created.
 2) Using totalview and stopping the code in parallel 3 way on line 670 of
 vtkDistributedDataFilter.cxx, the member this-GhostLevel is always zero
 and never executes codes branches dependent on it, however, the above code
 successfully increments

[Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Hi,

Hope you can help.  I have some code running in parallel, that by other
means I have constructed nprocs worth of vtkRectilinearGrids, one per
process.  Each of which is a valid nprocs-worth of the whole serial mesh,
I've check this and I am happy with that i.e. it's partitioned properly and
nothing is missing.  I need the following information to process my data in
parallel:

1) I would like the local - global cell mapping between the local rgrid
and the corresponding global single mesh.
2) I would like to know which cells are on processor boundaries for
parallel exchange purposes.
3) I would like all the double arrays per processor to be expanded by the
amount of (1 level of) ghost cells such that I can properly do the
computations I want with the ability to exchange only those additional
cells given the local to global mapping.

I have tried from the examples to use the following code, which I call on
every process, each of which has it's own local rgrid as I said.  I do the
following:

 vtkSmartPointervtkDistributedDataFilter dd =
vtkSmartPointervtkDistributedDataFilter::New();
  dd-SetInput(rgrid);

 dd-SetController(getVtkController());
  dd-SetBoundaryModeToSplitBoundaryCells();
 //dd-SetBoundaryModeToAssignToOneRegion();
 //dd-SetBoundaryModeToAssignToAllIntersectingRegions();
 dd-UseMinimalMemoryOff();
 dd-Update();
  vtkPieceScalars *ps = vtkPieceScalars::New();
 ps-SetInputConnection(dd-GetOutputPort());
 ps-SetScalarModeToCellData();
  vtkDataSetSurfaceFilter *dss = vtkDataSetSurfaceFilter::New();
 dss-SetInputConnection(ps-GetOutputPort());

The dd object works fine and writing its contents out on each processor
gives nprocs worth of meshes, each of which look slightly different to the
way I've partitioned them up, but sum to the same serial mesh so I am happy
with that working correctly. But I can't for the life of me figure out how
to obtain local to global cell mappings, allocate ghost cells, or work out
how to exchange data given the above partition info and comms

Note I have not provided any additional information to dd regarding
global cells as per the doxy notes so I assume it went away and computed
it.  I can't figure out how to extract it however.  I also have no idea how
to modify each local processor rgrid to include the ghost cells for that
processor.  Finally given that info, I could exchange between processors to
write to each local processors ghost cells the corresponding real cell
data from the neighbouring meshes and continue the code.

Any help really appreciated!

Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Many thanks for this.

So I need to rethink my design such that I extend from a filter so I can
obtain the ghost cells?  There is no way to obtain them just from dd?

I can't do dd-GetGhostCells(processorNumber)?
or rgrid-AddGhostCells(dd)?

I know I can't do these last two, but that's kind of the thing I was
after

are there any other ways to do this?  Casting my current work in terms of a
filter is not going to be straight forward, although equally I'll have to
if this is the only wayso other ideas welcome.

Cheers again,
Andy

On 6 November 2012 16:00, Moreland, Kenneth kmo...@sandia.gov wrote:

   I believe vtkDistributedDataFilter will always return with global point
 ids (a mapping from local point ids to global point ids), although it might
 pass them if they already exist.  So
 dd-GetOutput()-GetPointData()-GetGlobalIds() should return the array
 that gives this mapping.

  Ghost cells are only created on demand, and this is usually done by
 pipeline convention.  If you have a filter that needs a layer of ghost
 cells, it should override the RequestUpdateExtent method to increment the
 value of UPDATE_NUMBER_OF_GHOST_LEVELS from the output information to the
 input information.  This method would look something like this.

   int vtkDistributedDataFilter::RequestUpdateExtent(
   vtkInformation *vtkNotUsed(request),
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
   // get the info objects
   vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
   vtkInformation *outInfo = outputVector-GetInformationObject(0);

int piece, numPieces, ghostLevels;

// We require an extra layer of ghost cells from upstream.

piece =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
   numPieces =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
   ghostLevels =
 outInfo-Get(
 vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());

inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
 piece);
   inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
   numPieces);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
   ghostLevels);

return 1;
 }


  The operation of the RequestData method should also strip off this layer
 of ghost cells.  It might be possible to request a layer of ghost cells by
 setting UPDATE_NUMBER_OF_GHOST_LEVELS at the bottom of the pipeline, but
 I'm not totally sure how to make that work.  It's probably easier (or at
 least cleaner) to do it from within a filter.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 8:25 AM
 To: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] [Paraview] vtkDistributedDataFilter and ghost cells

   Hi,

  Hope you can help.  I have some code running in parallel, that by other
 means I have constructed nprocs worth of vtkRectilinearGrids, one per
 process.  Each of which is a valid nprocs-worth of the whole serial mesh,
 I've check this and I am happy with that i.e. it's partitioned properly and
 nothing is missing.  I need the following information to process my data in
 parallel:

  1) I would like the local - global cell mapping between the local rgrid
 and the corresponding global single mesh.
 2) I would like to know which cells are on processor boundaries for
 parallel exchange purposes.
 3) I would like all the double arrays per processor to be expanded by
 the amount of (1 level of) ghost cells such that I can properly do the
 computations I want with the ability to exchange only those additional
 cells given the local to global mapping.

  I have tried from the examples to use the following code, which I call
 on every process, each of which has it's own local rgrid as I said.  I do
 the following:

   vtkSmartPointervtkDistributedDataFilter dd =
 vtkSmartPointervtkDistributedDataFilter::New();
   dd-SetInput(rgrid);

  dd-SetController(getVtkController());
   dd-SetBoundaryModeToSplitBoundaryCells();
  //dd-SetBoundaryModeToAssignToOneRegion();
  //dd-SetBoundaryModeToAssignToAllIntersectingRegions();
  dd-UseMinimalMemoryOff();
  dd-Update();
   vtkPieceScalars *ps = vtkPieceScalars::New();
  ps-SetInputConnection(dd-GetOutputPort());
  ps-SetScalarModeToCellData();
   vtkDataSetSurfaceFilter *dss = vtkDataSetSurfaceFilter::New();
  dss-SetInputConnection(ps-GetOutputPort());

  The dd object works fine and writing its contents out on each processor
 gives nprocs worth of meshes, each of which look slightly different to the
 way I've partitioned them up, but sum to the same serial mesh so I am happy
 with that working correctly. But I can't for the life of me figure out how
 to obtain local to global cell mappings, allocate ghost cells, or work out
 how to exchange data given the above partition info and comms

  Note I have

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Another question which I'd forgotten, how do I get to a vtkUnstructuredGrid
per processor from the vtkDistributedDataFilter.

For instance, dd-GetOutput()-GetPointData()-GetGlobalIds() doesn't work
as it's a vtkDataObject

Stupid question I'm sure but the doxy notes say this type returns an
unstructured mesh, but I can't seem to get it out?

Also, why exactly do I need the vtkPieceScalars and
vtkDataSetSurfaceFilter again?
If the above can be made to work and return the mapping, what are they
adding in terms of information?

Thanks again,
Andy

On 6 November 2012 16:00, Moreland, Kenneth kmo...@sandia.gov wrote:

   I believe vtkDistributedDataFilter will always return with global point
 ids (a mapping from local point ids to global point ids), although it might
 pass them if they already exist.  So
 dd-GetOutput()-GetPointData()-GetGlobalIds() should return the array
 that gives this mapping.

  Ghost cells are only created on demand, and this is usually done by
 pipeline convention.  If you have a filter that needs a layer of ghost
 cells, it should override the RequestUpdateExtent method to increment the
 value of UPDATE_NUMBER_OF_GHOST_LEVELS from the output information to the
 input information.  This method would look something like this.

   int vtkDistributedDataFilter::RequestUpdateExtent(
   vtkInformation *vtkNotUsed(request),
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
   // get the info objects
   vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
   vtkInformation *outInfo = outputVector-GetInformationObject(0);

int piece, numPieces, ghostLevels;

// We require an extra layer of ghost cells from upstream.

piece =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
   numPieces =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
   ghostLevels =
 outInfo-Get(
 vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());

inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
 piece);
   inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
   numPieces);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
   ghostLevels);

return 1;
 }


  The operation of the RequestData method should also strip off this layer
 of ghost cells.  It might be possible to request a layer of ghost cells by
 setting UPDATE_NUMBER_OF_GHOST_LEVELS at the bottom of the pipeline, but
 I'm not totally sure how to make that work.  It's probably easier (or at
 least cleaner) to do it from within a filter.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 8:25 AM
 To: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] [Paraview] vtkDistributedDataFilter and ghost cells

   Hi,

  Hope you can help.  I have some code running in parallel, that by other
 means I have constructed nprocs worth of vtkRectilinearGrids, one per
 process.  Each of which is a valid nprocs-worth of the whole serial mesh,
 I've check this and I am happy with that i.e. it's partitioned properly and
 nothing is missing.  I need the following information to process my data in
 parallel:

  1) I would like the local - global cell mapping between the local rgrid
 and the corresponding global single mesh.
 2) I would like to know which cells are on processor boundaries for
 parallel exchange purposes.
 3) I would like all the double arrays per processor to be expanded by
 the amount of (1 level of) ghost cells such that I can properly do the
 computations I want with the ability to exchange only those additional
 cells given the local to global mapping.

  I have tried from the examples to use the following code, which I call
 on every process, each of which has it's own local rgrid as I said.  I do
 the following:

   vtkSmartPointervtkDistributedDataFilter dd =
 vtkSmartPointervtkDistributedDataFilter::New();
   dd-SetInput(rgrid);

  dd-SetController(getVtkController());
   dd-SetBoundaryModeToSplitBoundaryCells();
  //dd-SetBoundaryModeToAssignToOneRegion();
  //dd-SetBoundaryModeToAssignToAllIntersectingRegions();
  dd-UseMinimalMemoryOff();
  dd-Update();
   vtkPieceScalars *ps = vtkPieceScalars::New();
  ps-SetInputConnection(dd-GetOutputPort());
  ps-SetScalarModeToCellData();
   vtkDataSetSurfaceFilter *dss = vtkDataSetSurfaceFilter::New();
  dss-SetInputConnection(ps-GetOutputPort());

  The dd object works fine and writing its contents out on each processor
 gives nprocs worth of meshes, each of which look slightly different to the
 way I've partitioned them up, but sum to the same serial mesh so I am happy
 with that working correctly. But I can't for the life of me figure out how
 to obtain local to global cell mappings, allocate ghost cells, or work out
 how to exchange data given the above partition info and comms

  Note I have

Re: [Paraview] vtkDistributedDataFilter and ghost cells

2012-11-06 Thread Andrew Parker
Thanks on both accounts.  Any thoughts why the downcast called after
dd-Update() on distributedDataFilter is a null pointer?  As in, dd is
working perfectly properly, but I don't seem to be able to extract a valid
unstructuredgrid.  For a follow up question I assume
getPointData()-GetGlobalIds() gives the local to global for the mesh
nodes, and I should use getCellData()-GetGlobalIds() to get the local to
global for the cells?  Once I get a valid pointer that is

Cheers again,
Andy

On 6 November 2012 16:40, Moreland, Kenneth kmo...@sandia.gov wrote:

   You should be able to do a vtkUnstructuredGrid::SafeDownCast() to the
 data to get the unstructured mesh (and access to the point data).

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 9:32 AM
 To: Kenneth Moreland kmo...@sandia.gov
 Cc: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] Re: [Paraview] vtkDistributedDataFilter and ghost
 cells

   Another question which I'd forgotten, how do I get to a
 vtkUnstructuredGrid per processor from the vtkDistributedDataFilter.

  For instance, dd-GetOutput()-GetPointData()-GetGlobalIds() doesn't
 work as it's a vtkDataObject

  Stupid question I'm sure but the doxy notes say this type returns an
 unstructured mesh, but I can't seem to get it out?

  Also, why exactly do I need the vtkPieceScalars and
 vtkDataSetSurfaceFilter again? If the above can be made to work and
 return the mapping, what are they adding in terms of information?

  Thanks again,
 Andy

 On 6 November 2012 16:00, Moreland, Kenneth kmo...@sandia.gov wrote:

   I believe vtkDistributedDataFilter will always return with global
 point ids (a mapping from local point ids to global point ids), although it
 might pass them if they already exist.  So
 dd-GetOutput()-GetPointData()-GetGlobalIds() should return the array
 that gives this mapping.

  Ghost cells are only created on demand, and this is usually done by
 pipeline convention.  If you have a filter that needs a layer of ghost
 cells, it should override the RequestUpdateExtent method to increment the
 value of UPDATE_NUMBER_OF_GHOST_LEVELS from the output information to the
 input information.  This method would look something like this.

   int vtkDistributedDataFilter::RequestUpdateExtent(
   vtkInformation *vtkNotUsed(request),
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
   // get the info objects
   vtkInformation *inInfo = inputVector[0]-GetInformationObject(0);
   vtkInformation *outInfo = outputVector-GetInformationObject(0);

int piece, numPieces, ghostLevels;

// We require an extra layer of ghost cells from upstream.

piece =
 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER());
   numPieces =

 outInfo-Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
   ghostLevels =
 outInfo-Get(
 vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());

inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
 piece);
   inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
   numPieces);

 inInfo-Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(),
   ghostLevels);

return 1;
 }


  The operation of the RequestData method should also strip off this
 layer of ghost cells.  It might be possible to request a layer of ghost
 cells by setting UPDATE_NUMBER_OF_GHOST_LEVELS at the bottom of the
 pipeline, but I'm not totally sure how to make that work.  It's probably
 easier (or at least cleaner) to do it from within a filter.

  -Ken

   From: Andrew Parker andy.john.par...@googlemail.com
 Date: Tuesday, November 6, 2012 8:25 AM
 To: vtkus...@vtk.org vtkus...@vtk.org, paraview@paraview.org 
 paraview@paraview.org
 Subject: [EXTERNAL] [Paraview] vtkDistributedDataFilter and ghost cells

   Hi,

  Hope you can help.  I have some code running in parallel, that by other
 means I have constructed nprocs worth of vtkRectilinearGrids, one per
 process.  Each of which is a valid nprocs-worth of the whole serial mesh,
 I've check this and I am happy with that i.e. it's partitioned properly and
 nothing is missing.  I need the following information to process my data in
 parallel:

  1) I would like the local - global cell mapping between the local
 rgrid and the corresponding global single mesh.
 2) I would like to know which cells are on processor boundaries for
 parallel exchange purposes.
 3) I would like all the double arrays per processor to be expanded by
 the amount of (1 level of) ghost cells such that I can properly do the
 computations I want with the ability to exchange only those additional
 cells given the local to global mapping.

  I have tried from the examples to use the following code, which I call
 on every process, each of which has it's own local rgrid as I said.  I do
 the following

Re: [Paraview] [EXTERNAL] ParaView looking for MPI when it shouldn't.

2012-07-20 Thread Andrew Maclean
Thanks!

Sent from an Android tablet.
On Jul 21, 2012 6:10 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com
wrote:

 FYI,

 I've pushed a fix for this to VTK :
 http://review.source.kitware.com/#/t/912/
 It will make it into ParaView soon.

 Utkarsh

 On Thu, Jul 5, 2012 at 4:26 PM, Scott, W Alan wasc...@sandia.gov wrote:
  Correct.  I should have written up a bug before, but will do so now.
 
 
 
  Alan
 
 
 
  From: Andrew Maclean [mailto:andrew.amacl...@gmail.com]
  Sent: Thursday, July 05, 2012 5:24 PM
  To: Scott, W Alan
  Cc: paraview@paraview.org
  Subject: Re: [EXTERNAL] [Paraview] ParaView looking for MPI when it
  shouldn't.
 
 
 
  Thanks, Scott,
 
 
 
  Yes, that does the trick. I guess this is not being seen on the dashboard
  because those machines all have MPI running.
 
  So there is a need to look at the CMakeLists.txt files for examples and
  testing to make sure that if MPI is excluded then those examples/tests
 need
  to be excluded.
 
 
 
  Thanks
 
  Andrew
 
  On Fri, Jul 6, 2012 at 9:11 AM, Scott, W Alan wasc...@sandia.gov
 wrote:
 
  I had the same issue.  If I remember correctly, I “think” the solution
 was
  to turn off BUILD_EXAMPLES and BUILD_TESTING.
 
 
 
  Alan
 
 
 
  From: paraview-boun...@paraview.org [mailto:
 paraview-boun...@paraview.org]
  On Behalf Of Andrew Maclean
  Sent: Thursday, July 05, 2012 5:08 PM
  To: paraview@paraview.org
  Subject: [EXTERNAL] [Paraview] ParaView looking for MPI when it
 shouldn't.
 
 
 
  Hi All,
 
  I am building ParaView from the Git repository and for some reason it is
  looking for MPI even though I have PARAVIEW_USE_MPI turned off.
 
  I can't see any other setting that is forcing MPI to be turned on.
 
 
 
  Is there something I am missing or is there an error in the configuration
  files?
 
 
 
  My output is:
 
  ...
 
  - Filter ZLIB is ON
 
  -- Could NOT find MPI_C (missing:  MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
 
  -- Could NOT find MPI_CXX (missing:  MPI_CXX_LIBRARIES
 MPI_CXX_INCLUDE_PATH)
 
  CMake Error at VTK/Parallel/MPI/CMakeLists.txt:35 (message):
 
MPIEXEC was empty.
 
 
 
 
 
  -- Configuring incomplete, errors occurred!
 
  make: *** [cmake_check_build_system] Error 1
 
 
 
  Regards
 
 
 
  --
  ___
  Andrew J. P. Maclean
 
  ___
 
 
 
 
 
  --
  ___
  Andrew J. P. Maclean
 
  ___
 
 
  ___
  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
 
  Follow this link to subscribe/unsubscribe:
  http://www.paraview.org/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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] ParaView looking for MPI when it shouldn't.

2012-07-05 Thread Andrew Maclean
Thanks, Scott,

Yes, that does the trick. I guess this is not being seen on the dashboard
because those machines all have MPI running.
So there is a need to look at the CMakeLists.txt files for examples and
testing to make sure that if MPI is excluded then those examples/tests need
to be excluded.

Thanks
Andrew

On Fri, Jul 6, 2012 at 9:11 AM, Scott, W Alan wasc...@sandia.gov wrote:

  I had the same issue.  If I remember correctly, I “think” the solution
 was to turn off BUILD_EXAMPLES and BUILD_TESTING.

 ** **

 Alan

 ** **

 *From:* paraview-boun...@paraview.org [mailto:
 paraview-boun...@paraview.org] *On Behalf Of *Andrew Maclean
 *Sent:* Thursday, July 05, 2012 5:08 PM
 *To:* paraview@paraview.org
 *Subject:* [EXTERNAL] [Paraview] ParaView looking for MPI when it
 shouldn't.

 ** **

 Hi All,

 I am building ParaView from the Git repository and for some reason it is
 looking for MPI even though I have PARAVIEW_USE_MPI turned off.
 

 I can't see any other setting that is forcing MPI to be turned on.

 ** **

 Is there something I am missing or is there an error in the configuration
 files?

 ** **

 My output is:

 ...

 - Filter ZLIB is ON

 -- Could NOT find MPI_C (missing:  MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) ***
 *

 -- Could NOT find MPI_CXX (missing:  MPI_CXX_LIBRARIES
 MPI_CXX_INCLUDE_PATH) 

 CMake Error at VTK/Parallel/MPI/CMakeLists.txt:35 (message):

   MPIEXEC was empty.

 ** **

 ** **

 -- Configuring incomplete, errors occurred!

 make: *** [cmake_check_build_system] Error 1

 ** **

 Regards

 ** **

 --
 ___
 Andrew J. P. Maclean

 ___




-- 
___
Andrew J. P. Maclean

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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Compile Error 3.14.1 with gcc 4.7.1

2012-06-18 Thread Andrew Parker
Hi,

Using 4.7.1 I get the following compile error when compiling the 3.14.1
tag, it looks like the pointer type is unknown, possibly missing header?

[ 21%] Building CXX object
VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o
opt/ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx: In function ‘FT_Error
vtkFreeTypeUtilitiesFaceRequester(FTC_FaceID, FT_Library, FT_Pointer,
FT_FaceRec_**)’:
opt/ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
type-specifier before ‘intptr_t’
opt/ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
‘’ before ‘intptr_t’
opt/ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error: expected
‘(’ before ‘intptr_t’
opt/ParaView/VTK/Rendering/vtkFreeTypeUtilities.cxx:343:46: error:
‘intptr_t’ was not declared in this scope
make[2]: ***
[VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities.cxx.o]
Error 1
make[1]: *** [VTK/Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2

Any help appreciated?

Cheers,
Andy
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


  1   2   >