Jella, Sandeep | 2 Apr 00:12 2015

Animation problem - stops after rendering after a while..

Hello,

 

I am trying to make a simple animation using a large number (~3000) of tecplot 2D slices (each slice is a tecplot file). Each slice is a snapshot of a flow simulation..I have a couple of simple python calculators in the pipeline apart from annotations.

 

I have two questions:

 

1.      The issue is that Paraview creates the animation for around 1600 slices when it is a matter of simply rendering the images but this reduces to ~ 1000 when there are pipeline operations (like my python calculator). After updating to the screen, each time-step, it freezes at a particular one and continues. The playback looks good from timestep 1 to 1600 and after that (i.e. 1600-end) there is no more motion (picture frozen to time-step 1600).

 

2.      What is the best way to speed up rendering this animation? I enabled multicore (in version 4.0) but then the rendering takes twice the time. Would appreciate any advice on what the best way to do this.

 

I’ve tried offscreen rendering as well as an older version of Paraview (v 4.0) but no good result. I am using v 4.3.1.

 

Many thanks,

 

Sandeep.

 

 

 

<div>
<div class="WordSection1">
<p class="MsoNormal">Hello,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I am trying to make a simple animation using a large number (~3000) of tecplot 2D slices (each slice is a tecplot file). Each slice is a snapshot of a flow simulation..I have a couple of simple python calculators in the pipeline apart from
 annotations.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I have two questions:<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoListParagraph"><span>1.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>The issue is that Paraview creates the animation for around 1600 slices when it is a matter of simply rendering the images but this reduces to ~ 1000 when there are pipeline operations (like my python calculator). After updating to the
 screen, each time-step, it freezes at a particular one and continues. The playback looks good from timestep 1 to 1600 and after that (i.e. 1600-end) there is no more motion (picture frozen to time-step 1600).<p></p></p>
<p class="MsoListParagraph"><p>&nbsp;</p></p>
<p class="MsoListParagraph"><span>2.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>What is the best way to speed up rendering this animation? I enabled multicore (in version 4.0) but then the rendering takes twice the time. Would appreciate any advice on what the best way to do this.<p></p></p>
<p class="MsoListParagraph"><p>&nbsp;</p></p>
<p class="MsoNormal">I&rsquo;ve tried offscreen rendering as well as an older version of Paraview (v 4.0) but no good result. I am using v 4.3.1.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Many thanks,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Sandeep.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Joe Young | 1 Apr 16:00 2015
Picon
Picon

Lights in ParaView

Hello everyone,

Is there a way to add a vtkLight source into ParaView?
I would like to position lights separately and avoid using the LightKit.

Thanks in advance.

Regards,
Joe.

Jay Romero | 1 Apr 06:01 2015
Picon

Sum two data array in paraview

Hello

I want to use calculator or Python shell to sum two data arrays in paraview.
In the calculator: 
At time dt =2, I create an array: result1 = pressure* 2.
For next animation time, dt = 4:
I create an array: result2 = pressure*4
What I find that the result1 array has changed at time step =4. 
How I can retain original result1 array when I change the animation time to dt=4.

This way I want to take sum of result1 and result2 at two different time steps.

How we can achieve it in paraview?

Best regards
Jay Reno
<div><div dir="ltr">
<div>Hello</div>
<div><br></div>
<div>I want to use calculator or Python shell to sum two data arrays in paraview.</div>
<div>In the calculator:&nbsp;</div>
<div>
<span>At time dt =2, I create an array: result1 = pressure</span><span>* 2.</span>
</div>
<div><span>For next animation time, dt = 4:</span></div>
<div><span>I create an array: result2 = pressure*4</span></div>
<div><span>What I find that the result1 array has changed at time step =4.&nbsp;</span></div>
<div><span>How I can retain original result1 array when I change the animation time to dt=4.</span></div>
<div><span><br></span></div>
<div><span>This way I want to take sum of result1 and result2 at two different time steps.</span></div>
<div><span><br></span></div>
<div>How we can achieve it in paraview?</div>
<div><br></div>
<div>Best regards</div>
<div>Jay Reno</div>
</div></div>
Utkarsh Ayachit | 31 Mar 21:52 2015

Blog: Axes Grid Annotation in Render View

Folks,

Just posted a blog demonstrating a new axes annotation capability set
to land in ParaView soon. Any suggestions/feedback is greatly
appreciated, as always!

http://www.kitware.com/blog/home/post/871

Thanks,
Utkarsh
jkneppe2 | 31 Mar 18:25 2015
Picon

Resolution bug: screenshot of 'Line Chart View' and screenshot/animation with layouts

Dear ParaView users and developers,

I encounter two issues with ParaView while exporting my results as screenshots
or animations.

I execute pvserver on a Linux server and remote connect to this with  
an instance
of ParaView running on a Windows-7-x64 system. The version I use is  
4.3.1-64bit,
precompiled for Linux (server) and Windows.

Issue 1)
Whenever I use more than one layout and save an animation, ParaView doesn't
properly place the 'views' in the video. Furthermore it stores the video in a
wrong resolution. E.g.:
I specified 1920x1080 as the resolution to use and it saved a 2328x1220 video.
Note 1: This also happens when there is only one 'view' in the layout, so it
seems to be a problem with using more than one layout.
Note 2: This issue does not occur if I export a screenshot.

Issue 2)
Whenever I export a screenshot of a layout, that contains a 'Line Chart View',
I can only use the predefined resolution (or a lower one). If I  
specify a larger
resolution, white bars (forming a cross) are placed on the 'Line Chart View'.
Those white bars do not cover the axes and labels but the plotted graph and
the grid. The same happens when saving an animation.
Note: I have only used one method for plotting. In case this is part of the
problem, I will now describe this method:
For each time step I have a 'Point Array' describing displacement vectors for
an object. I used the 'Calculator' to compute the magnitude of the
displacements. Next I used the 'Descriptive Statistics' filter to compute the
minimum, mean and maximum. I selected the appropriate row in the
'Spread Sheet View' and used the 'Plot Selection over Time' filter.
(This leads to an error message, since ParaView will try to plot unplottable
information. One can deselect columns which can not be plotted after the
filter has been applied. Then the error message won't reappear.  
However I don't
know how to prevent this from happening in the first place.)

Best regards,

Jascha Knepper

Cihan A | 31 Mar 19:01 2015
Picon

running a python script with new PV variables created with the calculator

Dear Paraviewers,

I have very recently begun to use PV (been a VisItor up to this point) so there are a lot of features with which I am not entirely familiar. I am trying to run a python script which does some math then stream
​ ​
tracing on two vectors variables "e" and "b". My code dumps out components of each vector field
​​
, which I read into PV
​ where they appear as point data.. I t
hen combine
​ this data​
into vectors "e" and "b" with PV's calculator feature. After this step I run my python script from Tools->Python Shell. The script (attached it as fieldl_line.py -- looks terrible when opened with Vim) does not get very far and complains about various things. I attached the log file entitled PVlog. I cannot decipher
​some of ​
these messages but I have a strong suspicion the inputs variable does not get populated correctly or the script cannot find "e" and "b". Any ideas where I have gone wrong? Is there an intermediate step after defining new variables on the calculator to make the script aware of the existence of "e" and "b". I plotted these new vector variables on PV without any issue.

Thank you very much for your time and interest.

--
Cihan 




--
Cihan 



--
Cihan 
Attachment (PVlog): application/octet-stream, 4267 bytes
Attachment (field_lines.py): text/x-python, 9 KiB
<div><div dir="ltr">
<div class="gmail_default">Dear Paraviewers,<br>
</div>
<div class="gmail_quote">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div><br></div>
<div>I have very recently begun to use PV (been a VisItor up to this point) so there are a lot of features with which I am not entirely familiar. I am trying to run a python script which does some math then stream<div>&#8203; &#8203;</div>tracing on two vectors variables "e" and "b". My code dumps out components of each vector field<div class="gmail_default">&#8203;&#8203;</div>, which I read into PV<div class="gmail_default">&#8203; where they appear as point data.. I t</div>hen combine<div class="gmail_default">&#8203; this data&#8203;</div> into vectors "e" and "b" with PV's calculator feature. After this step I run my python script from Tools-&gt;Python Shell. The script (attached it as fieldl_line.py -- looks terrible when opened with Vim) does not get very far and complains about various things. I attached the log file entitled PVlog. I cannot decipher <div class="gmail_default">&#8203;some of &#8203;</div>these messages but I have a strong suspicion the inputs variable does not get populated correctly or the script cannot find "e" and "b". Any ideas where I have gone wrong? Is there an intermediate step after defining new variables on the calculator to make the script aware of the existence of "e" and "b". I plotted these new vector variables on PV without any issue.</div>
<div><br></div>
<div>Thank you very much for your time and interest.</div>
<span class="HOEnZb"><div><br></div>-- <br><div><div dir="ltr">Cihan&nbsp;</div></div>
</span>
</div>
<span class="HOEnZb">
<br></span>
</div>
<span class="HOEnZb"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cihan&nbsp;</div></div>
</span>
</div>
</div>
<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Cihan&nbsp;</div></div>
</div></div>
Utkarsh Ayachit | 31 Mar 16:51 2015

Re: How to get point array data in paraview

How about using the calculator or Python calculator?

pythonCalculator1 = PythonCalculator(Input=out)
pythonCalculator1.Expression = 'mag(Normals)'
UpdatePipeline(pythonCalculator1)

On Thu, Mar 26, 2015 at 4:17 PM, Jay Romero <jayreno33 <at> gmail.com> wrote:
> I am trying to get point array data ( node and its values) of a variable in
> paraview: so far I can use following (python shell):
>
> from paraview.simple import *
> out = GetActiveSource()
>
> The point array data is a velocity vector on each node, and I can calculate
> magnitude of a vector, next I want to treat these magnitude values as new
> point array data in the pipeline browser.
> How to do in python shell?
>
> Best Regards
>
> Jay
Patrick Brockmann | 30 Mar 16:36 2015
Picon

Double property slider with integer rather than float

Hi,

Is it possible to configure a"Double property slider" to display integer 
rather than float
from Paraview XML GUI Parameters ?

   <DoubleVectorProperty  name="PercentToRemove"
                         command="SetPercentToRemove"
                         number_of_elements="1"
                         default_values="0.1">
     <DoubleRangeDomain  name="range"  min="0.0"  max="1.0"  />
   </DoubleVectorProperty>

Patrick

--

-- 
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--

Raphael Münster | 30 Mar 13:18 2015
Picon
Picon

How to use the Find Data function with a client/server connection?

Dear ParaView mailing list members,

I am trying to use the 'Find Data' function with a remote connection to 
a pvserver. I started the server with 'pvserver 
--use-offscreen-rendering' and then
used my local ParaView client to connect to the server. When I try to 
use the 'Find Data' option no matter what kind of query I enter it does 
nothing. When
I download the data set from the server to my local machine and then run 
the exact same query the 'Find Data' function works correctly and 
returns a selection.

Is there a way to use the 'Find Data' function without having to copy 
the data from the server to the client, as this may not be a feasible 
option for all data sets. I am using Paraview 4.2.0 64bit.

Best regards,
Raphael

Paul DesJardin | 27 Mar 23:24 2015

saving table data

Hi,

I'm trying to save a subset of data generated from the
PlotSelectionOverTime filter.  I tried using the PassArrays filter to
narrow my selection but the data doesn't appear under Point, Cell or
Field data options for that filter.  The data in the
PlotSelectionOverTime is labeled as "Cell Statistics" and was created
using the following lines from a Python script...

   selection = SelectCells(query="id==0")
   PSOT = PlotSelectionOverTime(Selection=selection)
   PSOT.UpdatePipeline()

Any help would be much appreciated....

Thanks,

Paul

--

-- 
=========================================
Paul DesJardin, Ph.D.
Professor
University at Buffalo, State University of New York
Buffalo, NY 14260-4400
Tel:  716-645-1467
email:  ped3 <at> buffalo.edu
web:  cet.eng.buffalo.edu
=========================================
Kit Chambers | 27 Mar 17:36 2015
Picon

dlopen: cannot load anymore object with static TLS

Hi All,

I have a ParaView plugin which in turn links against a couple of other shared libraries, these in turn use OpenMP for threading. After a recent re-build I get the following  error when the plugin is loaded.

dlopen: cannot load anymore object with static TLS

However, if I compile the supporting libraries without OpenMP it works fine. 

Has anyone else come across this? 

My system is:
Ubuntu 14.04 - (64bit)
kernel  = 3.13.0-46-generic
ParaView Version = 4.2


Cheers

Kit

<div><div dir="ltr">
<div>Hi All,<br>
</div>
<div><br></div>
<div>I have a ParaView plugin which in turn links against a couple of other shared libraries, these in turn use OpenMP for threading. After a recent re-build I get the following &nbsp;error when the plugin is loaded.</div>
<div><br></div>
<div><div>dlopen: cannot load anymore object with static TLS</div></div>
<div><br></div>
<div>However, if I compile the supporting libraries without OpenMP it works fine.&nbsp;</div>
<div><br></div>
<div>Has anyone else come across this?&nbsp;</div>
<div><br></div>
<div>My system is:</div>
<div>Ubuntu 14.04 - (64bit)</div>
<div>kernel &nbsp;= 3.13.0-46-generic<br>
</div>
<div>ParaView Version = 4.2</div>
<div><br></div>
<div><br></div>
<div>Cheers</div>
<div><br></div>
<div>Kit</div>
<div><br></div>
</div></div>

Gmane