Re: [Paraview] Cannot read point data array

2011-03-08 Thread Bart Vandewoestyne
On Mon, Mar 07, 2011 at 09:26:18PM -0500, Andy Bauer wrote:
 Hi Bart,
 Please reply to the email list so that other's can benefit as well as
 contribute to the discussion.

Oops... sorry, I totally agree that it is better to reply to the
list (see also my signature ;-) but somehow I must've forgot or
pressed the wrong button in my email client.

 As for the save animation issue, I'm not familiar enough with that but
 maybe someone else will be able to comment.
 Andy

I found a solution after reading David Partyka's answer on the
mailinglist:

http://www.paraview.org/pipermail/paraview/2011-March/020410.html

Apparently, also for me, it works if the number of frames per
second is a power of 2.  For now, I can live with this workaround
:-)

Kind regards,
Bart

 On Fri, Mar 4, 2011 at 4:13 AM, Bart Vandewoestyne
 [1]bart.vandewoest...@telenet.be wrote:
 
   On Thu, Mar 03, 2011 at 10:25:27AM -0500, Andy Bauer wrote:
I was able to load it on a 64 bit ubuntu machine with paraview
   built
from a couple of days (3.11) ago as well as on my 32 bit windows
   with
paraview built from a couple of months ago (3.9).  Can you try the
3.10rc1 release?
   It loads with 3.10rc1 (32 bit) on my Ubuntu 10.10 32 bit.  I also
   tried to solve my problem by using Float64 instead of Float32 and
   this seems to make it work too...
   Note however that with 3.10rc1 i experienced the same problem as
   mentioned here:
   [2]http://www.paraview.org/pipermail/paraview/2011-February/020363.h
   tml
   and that was the reason why i switched back to 3.8.X.
   If you have any suggestions on how to solve the 'save animation'
   problem with the 3.10rc1 (32 bit Linux) version, I would be happy
   to hear! :-)
   Regards,
   Bart

-- 
Share what you know.  Learn what you don't.
___
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] static linking with python

2011-03-08 Thread Brad King
On 03/05/2011 02:25 PM, burlen wrote:
 OK but why would LINK_SEARCH_END_STATIC result in -Wl,-Bstatic 
 -Wl,-Bdynamic being used ? Shouldn't it be just -Bstatic ?

You can read the logic in cmComputeLinkInformation.cxx to figure this out.

 Why is CMake's default to make a substitution like -lfoo with 
 -Bdynamic -lfoo?

The default assumption is dynamic linking but if one specifies a full
path to a static library like /usr/lib/libm.a then it switches to -Bstatic
to pick that up with -lm and then back to -Bdynamic.  Static linking
was not a goal at the time that stuff was written.

 Thank you Brad! I tried the new feature and I still have a -Bdynamic 
 appearing in the middle of the link line

I think the only way that can happen now is if you actually pass a .so
file to target_link_libraries (assuming LINK_SEARCH_START_STATIC is on)
that is in /usr/lib or another system directory.  Check your CMakeCache
for such entries.

Really want to control things then bring all external libraries in as
IMPORTED targets and set the IMPORTED_LOCATION property to point at the
full path to the exact file you want.

-Brad
___
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] Data average on a surface

2011-03-08 Thread Arnaud Candaele
Hi,

I am a new paraview user, and have a quite simple question about it.
I have a cfd simulation of an air flow, let's say just walls+inlet+outlet. I
exported the converged result as an Ensight file, to read it with paraview, and
it works fine.
I just would like to know if it is easily possible to select my outlet, and ask
paraview to compute, for example, the average velocity magnitude on that face ?
I guess I should use something like the integrate variables filter, but how do
I select that outlet face (which is defined in my CFD program, but doesn't seem
available in paraview...) ?

Thank you,

Arnaud



___
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] Data average on a surface

2011-03-08 Thread Stephen Wornom

Arnaud Candaele wrote:

Hi,

I am a new paraview user, and have a quite simple question about it.
I have a cfd simulation of an air flow, let's say just walls+inlet+outlet. I
exported the converged result as an Ensight file, to read it with paraview, and
it works fine.
I just would like to know if it is easily possible to select my outlet, and ask
paraview to compute, for example, the average velocity magnitude on that face ?
I guess I should use something like the integrate variables filter, but how do
I select that outlet face (which is defined in my CFD program, but doesn't seem
available in paraview...) ?

Thank you,

Arnaud



___
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
  

I have an id table, for example, id= 4 = outflow.
Then I
1) extract a surface
2) connectivity
3) threshhold min= 4 max= 4
4) data analysis  integrate varaibles
Hope this helps.
Stephen

--
stephen.wor...@inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

attachment: stephen_wornom.vcf___
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] Data average on a surface

2011-03-08 Thread bastil2...@yahoo.de
When using the ensight reader it whould be possible to use the extract
block filter to extract the outet and run integrate variables filters
on the extracted outlet.

Regards Bastian

Am 08.03.2011 15:49, schrieb Stephen Wornom:
 Arnaud Candaele wrote:
 Hi,

 I am a new paraview user, and have a quite simple question about it.
 I have a cfd simulation of an air flow, let's say just
 walls+inlet+outlet. I
 exported the converged result as an Ensight file, to read it with
 paraview, and
 it works fine.
 I just would like to know if it is easily possible to select my
 outlet, and ask
 paraview to compute, for example, the average velocity magnitude on
 that face ?
 I guess I should use something like the integrate variables filter,
 but how do
 I select that outlet face (which is defined in my CFD program, but
 doesn't seem
 available in paraview...) ?

 Thank you,

 Arnaud



 ___
 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
   
 I have an id table, for example, id= 4 = outflow.
 Then I
 1) extract a surface
 2) connectivity
 3) threshhold min= 4 max= 4
 4) data analysis  integrate varaibles
 Hope this helps.
 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

 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] Data average on a surface

2011-03-08 Thread Wayne Wu
Hello Stephen,

I have the same problem.

I use SALOME to produce mesh, in which I define groups for CFD
solvers, such as Code_Saturne or Elmer. Thereby, I don't know the ID
values which correspond to the different boundaries. What software do
you use?

Thanks for your advices.

Best regards,
Wayne

On 8 March 2011 14:49, Stephen Wornom stephen.wor...@inria.fr wrote:
 Arnaud Candaele wrote:

 Hi,

 I am a new paraview user, and have a quite simple question about it.
 I have a cfd simulation of an air flow, let's say just walls+inlet+outlet.
 I
 exported the converged result as an Ensight file, to read it with
 paraview, and
 it works fine.
 I just would like to know if it is easily possible to select my outlet,
 and ask
 paraview to compute, for example, the average velocity magnitude on that
 face ?
 I guess I should use something like the integrate variables filter, but
 how do
 I select that outlet face (which is defined in my CFD program, but doesn't
 seem
 available in paraview...) ?

 Thank you,

 Arnaud



 ___
 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


 I have an id table, for example, id= 4 = outflow.
 Then I
 1) extract a surface
 2) connectivity
 3) threshhold min= 4 max= 4
 4) data analysis  integrate varaibles
 Hope this helps.
 Stephen

 --
 stephen.wor...@inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


 ___
 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] static linking with python

2011-03-08 Thread Burlen Loring

On 03/08/2011 05:08 AM, Brad King wrote:

I think the only way that can happen now is if you actually pass a .so
file to target_link_libraries (assuming LINK_SEARCH_START_STATIC is on)
that is in /usr/lib or another system directory.  Check your CMakeCache
for such entries.

I do have LINK_SEARCH_START_STATIC TRUE. I do see a ton of .so all are 
related to x11, but I have VTK_USE_X=OFF. No libm.so in the Cache 
though.  I guess this might be some unexpected interaction between PV's 
cmake scripts and cmake's linking logic. It only happens when python 
support is enabled. I'm using PV 3.8.1. Dave DeMarle said he didn't have 
this problem with a recent version of PV, and also that he's working 
on officially supporting static link with python for release 3.10.1.


The Cray's do support dynamic linking , although it looks like there is 
a performance penalty at least during startup, I'm going to take that 
route since it works, and won't be too long until static linking + 
python is officially supported.


Thanks for the help
Burlen

___
Powered by www.kitware.com

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

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

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


[Paraview] Message to anyone who has recently built/purchased a workstation for paraview use.

2011-03-08 Thread Robert Akers
Hi,

we intend to purchase a workstation before end of financial year for the 
primary use of paraview 3D data rendering (fusion energy research).  If anyone 
has done similar in the last few months, I'd be very interested to know what 
you recommend for between £4K (GBP) and £6K.

We have been quoted £6.5K for a top end CAD workstation with dual 6-core CPUs, 
24GB of RAM and a top end 6GB CAD level NVIDIA GPU.  My main worry is that for 
a single machine paraview setup with a single GPU whether the code can exploit 
the potential 24 hyperthreads of the CPUs - would it be better just to go for a 
single dual or quad core CPU and spend the money instead on a decent fast, 
large volume RAID setup and the fastest GPU we can get our hands on?

Or, is it possible to set up paraview to use MPI (assuming it doesn't deploy 
openMP) on a single machine with multiple cores but with multiple cheaper 
GPUs and in the end get better performance?

Any advice would be greatly appreciated,

Rob.

___
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] pqViewManager in Clone2

2011-03-08 Thread Alexis Chan
Hi

 I tried to use the recommended method below in my ParaView plugin:



 // Get Application Core
  pqApplicationCore* core = pqApplicationCore::instance();

  // Get Object Builder to create new Views, Server etc
  pqObjectBuilder* builder = core-getObjectBuilder();

  // Get the Server Manager Model so that we can get current server

  pqServerManagerModel* serverManager = core-getServerManagerModel();

  if (serverManager-getNumberOfItemspqServer*()== 1) // Assuming
that there is only 1 server

  {
  pqServer* server = serverManager-getItemAtIndexpqServer*(0);

  if (serverManager-getNumberOfItemspqView* () == 1) // Assuming
that there is only 1 view created
  {
  pqView* view1 = serverManager-getItemAtIndexpqView*(0);


  // Get QWidget from first view

  QWidget* viewWidget = view1-getWidget();
  //Create GridLayout Widget from first view's widget
  QGridLayout* gl  = new QGridLayout(viewWidget);

  //create second view

  pqRenderView* view2 = qobject_castpqRenderView*(
  builder-createView(pqRenderView::renderViewType(), 
server));
  //Add second view's widget to gridlayout


  gl-addWidget(view2-getWidget(),1,1);

  //Create third view

   //create third view
  pqRenderView* view3 = qobject_castpqRenderView*(
  builder-createView(pqRenderView::renderViewType(), 
server));


  //Add third view's widget to gridlayout
   gl-addWidget(view3-getWidget(),2,2);
  }
  }

The debugger fails at
pqRenderView* view3 = qobject_castpqRenderView*(
  builder-createView(pqRenderView::renderViewType(), 
server));

pqObjectBuilder.cxx : pxm-RegisterProxy(views, name.toAscii().data(), proxy);
qwidget.h: inline QSize QWidget::size() const { return data-crect.size(); }

because data is null.


name.toAscii is RenderView3.

Can someone let me know what I mess up in the code? Thanks.

* **
**  On Thu, Mar 18, 2010 at 11:22 AM, Utkarsh Ayachit
**  utkarsh.ayachit at kitware.com
http://www.paraview.org/mailman/listinfo/paraview wrote:

** 
**  Hello,

** 
**  If you are creating a custom application which always has 4 render

**  windows, then I'd suggest not even using the pqViewManager.
**  Simply create the 4 views yourself and pack them into a QWidget using

**  a QGridLayout. For example, the following code can be used after a
**  server connection has been made to set up the 4 views.

** 
**  QWidget* centralWidget = new QWidget();

**  mainWindow-setCentralWidget(centralWidget);
**  QGridLayout* gl  = new QGridLayout(centralWidget);

** 
**  for (int xx=0; xx  2; xx++)

**  {
**   for (int yy=0; yy  2; yy++)

** {
** pqRenderView* view = qobject_castpqRenderView*(

**   ob-createView(pqRenderView::renderViewType(), server));
** gl-addWidget(view-getWidget(), yy, xx);

** }
**  }

** 
**  Utkarsh

** 
**  On Thu, Mar 18, 2010 at 10:22 AM, Adebayo Olowoyeye

**  aolowoye at umail.iu.edu
http://www.paraview.org/mailman/listinfo/paraview wrote:

**   Hi,
**  

**   I am attempting to use the Clone2 CustomApplication example to write a
**   custom application in C++.  The wiki documentation on Custom

**   Applications
**   suggest using pqViewManager to control the view of the application.

**  
**   I want to split the frame into four different windows, each with its

** own
**   view.  I am assuming the program starts with one frame and one view.

** Is
**   this assumption correct?

**  
**   I reference the pqViewManager with the following code:

**  this-Internals-MultiViewManager
**  

**   the active view (I'm guessing the only view at this point is):
**  pqView* view =

**   this-Internals-MultiViewManager-getActiveView();
**  

**   This problem is there are no public methods to split the frame in
**   pqViewManager.  It is possible to get the pqMultiViewFrame:

**   pqMultiViewFrame * multiViewFrame =
**   this-Internals-MultiViewManager-getFrame(view);

**  
**   I've tested this by:

**   multiViewFrame-setTitle(HELLO WORLD!);
**  

**   and it works, but I've tried multiple tries to get the frame to split
**   without success.  Any insight will 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
**  
**   Follow this link to subscribe/unsubscribe:
**   http://www.paraview.org/mailman/listinfo/paraview

**  
**  

** 
** 

**