[Paraview] Adding time steps to a data set

2016-02-10 Thread Salazar De Troya, Miguel
Hello

I have several exodus files which are snapshots of an optimization history. 
Each snapshot reflects a design change and how it is gradually being improved 
and more optimal. I want to make a movie showing this optimization history.

What I have done so far is to add all the files in the pipeline showing the 
design field, add each file to the Animation View as a frame and play with the 
Opacity and the time intervals to show the design transitions. This looks 
alright, but I what I think that would look better is to use a Temporal 
Interpolator filter. For that I would need to have a time series. I tried 
modifying the file names and adjust them to the convention filename.e-s.001, 
filename.e-s.002, etc, but this doesn’t do anything. I think the reason is 
because the exodus files do not contain anything related to time. Is this 
correct? How could I add time to my exodus files within paraview?

Thanks
Miguel

___
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] Combining files in an animation

2016-02-09 Thread Salazar De Troya, Miguel
Hello

Newbie here, hopefully my question is not too obvious. I have two .e files from 
two consecutive optimization iterations. I want to show how the results evolve 
from one iteration to the next with an animation. What I did was to add the two 
files in the animation and modify the field Opacity from 1 to 0 for the first 
iteration and from 0 to 1 for the second one during the same time span from 0 
to 1. Both with a Ramp interpolation. I would like to see that transition 
combined. Instead of having a value of 0.5 for both files at time 0.5, I would 
like to have an overall result of 1. Is it possible to add the Opacities and 
have that represented in the Animation?

Thanks
Miguel
___
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] Number of frames depending on the Picture size

2016-02-23 Thread Salazar De Troya, Miguel
Hello

I am calling this function to write a movie


renderView1.ViewSize = [1984,1962]

WriteAnimation('./movie_png/optimization_movie.png',Magnification=1, 
FrameRate=1.0, Compression=False)

And I have noticed that the number of resulting PNG files depends on the 
Magnification variable and on the ViewSize. If I remove the line 
renderView1.ViewSize = [1984,1962] and leave Magnification as 1 I will get a 
greater amount of PNG files than if I increased Magnification or leave the line 
renderView1.ViewSize = [1984,1962] there. Why is this? It seems as I had to 
choose between the number of frames and the size of the movie.

Thanks
Miguel
___
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] Number of frames depending on the Picture size

2016-02-25 Thread Salazar De Troya, Miguel
Hello

Anybody could help me with this please?

Thanks
Miguel

From: ParaView 
> on behalf 
of Miguel Salazar >
Date: Tuesday, February 23, 2016 at 10:57 AM
To: "paraview@paraview.org" 
>
Subject: [Paraview] Number of frames depending on the Picture size

Hello

I am calling this function to write a movie


renderView1.ViewSize = [1984,1962]

WriteAnimation('./movie_png/optimization_movie.png',Magnification=1, 
FrameRate=1.0, Compression=False)

And I have noticed that the number of resulting PNG files depends on the 
Magnification variable and on the ViewSize. If I remove the line 
renderView1.ViewSize = [1984,1962] and leave Magnification as 1 I will get a 
greater amount of PNG files than if I increased Magnification or leave the line 
renderView1.ViewSize = [1984,1962] there. Why is this? It seems as I had to 
choose between the number of frames and the size of the movie.

Thanks
Miguel
___
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] Merging two datasets

2016-08-15 Thread Salazar De Troya, Miguel
Hello,

I have two data sets that share the same mesh and are both cell data. I want to 
put them together in a single dataset so I can extract a selection of cells 
given a criteria from one of the original datasets and then apply a filter to 
the other dataset. I tried doing GroupDataSet, but it doesn’t correctly plot 
one of the datasets. In the selection of the coloring I can see “partial” next 
to the original dataset’s name. How can we do this?

Thanks
Miguel

___
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] X and Y bounds in python

2016-08-29 Thread Salazar De Troya, Miguel
Hello

I’ve got an object opened that consists on an unstructured mesh with some cell 
data. In the Information tab, I can read the bounds for the X and Y 
coordinates, how can I extract this information in a python script?

Thanks
Miguel

___
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] How to use the plugin Geodesic Measurement

2016-10-11 Thread Salazar De Troya, Miguel
Hello

I loaded the Geodesic Measurement plugin with the Plugin Manager, but I do not 
know how to use it. I see it as a filter option, but it is disabled even for 
point-based data. I haven’t been able to find an example either. I am 
interested in finding the shortest path between two points in a surface.

Thanks
MIguel

___
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] ERROR: Cannot read points array from Points in piece 0. The data array in the element may be too short.

2017-12-04 Thread Salazar De Troya, Miguel
I am trying to open these two files, which are both similar. They are the 
result of the same simulation, but with different parameters. For some reason, 
I can open the first, but not the second one. I am attaching them here (could 
not attach them to the email)

https://quickfileshare.org/3dm/concentration_nsteps_522_p3_44.vtu

https://quickfileshare.org/3dl/concentration_nsteps_564_p3_000444.vtu

When I open the second file, I get this error:

ERROR: In 
/Users/kitware/buildbot-slave/8275bd07/source-paraview/VTK/IO/XML/vtkXMLUnstructuredDataReader.cxx,
 line 523
vtkXMLUnstructuredGridReader (0x7fe66a5b65b0): Cannot read points array from 
Points in piece 0. The data array in the element may be too short.

Upon inspection, both files are very similar, not sure what can be wrong with 
the second.

Thanks
Miguel

--

___
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] Glyphs and spreadsheets

2018-01-08 Thread Salazar De Troya, Miguel
Hello,

I want to extract the output from a Glyph filter into a spreadsheet. I want the 
coordinates of the origin of each glyph and its components so I can plot the 
same vectors using matplotlib.quiver capability. I tried to do this using the 
Spreadsheet view, but I ran into some issues:
- First, even that the Glyph only shows a subset of all points (using the 
Masking option), the spreadsheet view actually contains the entire data set.
- Second, the scaling is not reflected in the components of the field 
GlyphVector in the spreadsheet view, but it is reflected in the field Points, 
in a way that is not easy to reason.

How could I get around these two issues to get to my goal? What is the meaning 
of the field Points in the Glyph filter?

Thanks
Miguel

--

___
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] Glyphs and spreadsheets

2018-01-08 Thread Salazar De Troya, Miguel
Ok, I see that the Points field represent the points of the Glyph object. For 
instance, if we are using 2D Glyph as the Glyph type, there will be 4 entries 
in the Spreadsheet view with the same GlyphVector field, but different Point 
values. These 4 points represent the points used to draw the arrow (2 for the 
shaft and 2 for the head). There are more points for the regular arrow (it’s a 
3D object).

--


From: ParaView <paraview-boun...@paraview.org> on behalf of "Salazar De Troya, 
Miguel" <salazardet...@llnl.gov>
Date: Monday, January 8, 2018 at 11:13 AM
To: "paraview@paraview.org" <paraview@paraview.org>
Subject: [Paraview] Glyphs and spreadsheets

Hello,

I want to extract the output from a Glyph filter into a spreadsheet. I want the 
coordinates of the origin of each glyph and its components so I can plot the 
same vectors using matplotlib.quiver capability. I tried to do this using the 
Spreadsheet view, but I ran into some issues:
- First, even that the Glyph only shows a subset of all points (using the 
Masking option), the spreadsheet view actually contains the entire data set.
- Second, the scaling is not reflected in the components of the field 
GlyphVector in the spreadsheet view, but it is reflected in the field Points, 
in a way that is not easy to reason.

How could I get around these two issues to get to my goal? What is the meaning 
of the field Points in the Glyph filter?

Thanks
Miguel

--

___
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