Re: [Paraview] Tecplot reader from PV 3.8.1 fails on Linux Redhat CentOS

2011-01-14 Thread Adriano Gagliardi

Ah, ok. Well, I have no answer, although it seems very strange that the
binaries should perform so differently. I use CentOS 5.4 with an older
version of ParaView. If I get hold of the ParaView 3.8.1 binaries, I'll test
out the Tecplot multiblock reader myself and see how it goes.

Regards,

Adriano


===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: Richard GRENON [mailto:richard.gre...@onera.fr] 
Sent: 13 January 2011 18:48
To: agaglia...@ara.co.uk
Cc: paraview@paraview.org
Subject: Re: [Paraview] Tecplot reader from PV 3.8.1 fails on Linux Redhat
CentOS

Hi Adriano.
I always used the downloaded 3.8.1 binaries from the Paraview download page.
Following is the header of my ascii Tecplot File. I don't know exactly for
which Tecplot version they are formatted by our CFD software, but they are
readable by Tecplot 360, and I am using the same Tecplot files that I used
on my HP workstation.

 TITLE = 
 VARIABLES = x y z frictionvectorx frictionvectory 
 frictionvectorz frictionmodulus yplusmeshsize
 ZONE T=Window(s) : sf13257_blk_39,  I=17,  J=13, F=BLOCK
  2.6397699E+01  2.6377867E+01  2.6358173E+01  2.6338665E+01
 2.6319424E+01  2.6300579E+01
This is a multiblock dataset and the file contains many Zones (one for each
block). Note that the third dimension K is missing as each block is a
surface grid. Tecplot 360 assumes that K=1, and the PV 3.8.1 Tecplot reader
also does not care of the missing K dimension as it was working on HP Redhat
5. On Dell CentOS, no error message, but the data are incoherent.

Regards.

Richard

Adriano Gagliardi a écrit :
 Hi Richard,

 Was the version of ParaView you used on the HP workstation a 
 self-compiled version or from downloaded binaries? Which version of 
 Tecplot are the files formatted in, and these haven't changed between 
 workstations? If possible, could you post a header of one of the Tecplot
files?

 Regards,

 Adriano


 ===

 Adriano Gagliardi MEng PhD
 Business Sector Leader
 Computational Aerodynamics
 Aircraft Research Association Ltd.
 Manton Lane
 Bedford

 Tel: 01234 32 4644
 E-mail: agaglia...@ara.co.uk
 Url: www.ara.co.uk
 -Original Message-
 From: paraview-boun...@paraview.org 
 [mailto:paraview-boun...@paraview.org]
 On Behalf Of Richard GRENON
 Sent: 13 January 2011 17:26
 To: paraview@paraview.org
 Subject: [Paraview] Tecplot reader from PV 3.8.1 fails on Linux Redhat 
 CentOS

 Hello, all.

 I have been using Paraview 3.8.1 with the Tecplot reader without a 
 problem on an old HP xw4200 workstation with Linux 64 Redhat 5. The 
 only thing that did not work was the LIC plugin because my graphic card
driver was too old.

 Today, my workstation has been replaced and I have now a Dell T3500 
 with Linux 64 Redhat CentOS, but the Tecplot reader fails. I get no 
 error message, each array in the dataset is recognized with its 
 correct name, but all values are completely wrong: each array 
 (coordinates or CFD
 scalars) is in the range [0,9] or [-9,9] and the drawing in the 3D 
 window looks like an aircraft after a crash! The problem appears both 
 with PV 3.8.1
 32 bits and PV 3.8.1 64 bits. I am using the binaries from the 
 Paraview download page.

 Our CFD software produces only Tecplot files and I have a workaround 
 with a small utility that can convert my ascii Tecplot Datasets into 
 ascii VTM Datasets, and at least the LIC plugin works fine on theswe VTM
datasets.
 But translating Tecplot datasets into VTM datasets is very annoying 
 when I am using large CFD datasets for a full aircraft because it 
 duplicates my data and it reduces my free disk space. Does anyone has 
 an idea of what could be done to repair the Tecplot Reader on CentOS?

 Best regards.
   


--
 Richard GRENON
 ONERA
 Departement d'Aerodynamique Appliquee - DAAP/ACI
 8 rue des Vertugadins
 92190 MEUDON - FRANCE
 phone : +33 1 46 73 42 17
 fax   : +33 1 46 73 41 46
 mailto:richard.gre...@onera.fr
 http://www.onera.fr


**
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 

Re: [Paraview] Tecplot reader from PV 3.8.1 fails on Linux Redhat CentOS

2011-01-14 Thread Richard GRENON

Thank you for your help, Adriano.

In fact, only the Tecplot reader has problems on CentOS. I tested again 
this morning: the Tecplot reader fails on both 32 bits and 64 bits 
binaries. But once I have converted my data into VTM files, PV 3.8.1 
binaries are working fine and I can use the LIC plugin.


Regards

Richard

Adriano Gagliardi a écrit :

Ah, ok. Well, I have no answer, although it seems very strange that the
binaries should perform so differently. I use CentOS 5.4 with an older
version of ParaView. If I get hold of the ParaView 3.8.1 binaries, I'll test
out the Tecplot multiblock reader myself and see how it goes.

Regards,

Adriano
  

--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:richard.gre...@onera.fr
http://www.onera.fr

___
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] Hint to color the output by a given array

2011-01-14 Thread Stephane PLOIX
Hi,

Is there a Hint tag that I can use to tell ParaView to color the output of 
a given filter by a given array?
By default, ParaView uses for the output the same colot as was used for 
the input, which is fine in most cases. 
However, I would sometimes like to specify a given color for the output 
different than for the input, is it possible?

Typical use case : in the filter, set an array as the ActiveVector 
(using output-GetPointData()-SetActiveVectors(my_array_name)), 
and I would like the output to be colored by this vector by default.

Best,
Stephane

  
 
Stephane PLOIX
Pilote Opérationnel - Visualisation scientifique
EDF - RD
SINETICS
1, Av du Général de Gaulle
92140 Clamart
 
stephane.pl...@edf.fr
Tél. : +33 (0) 1 47 65 51 10
  
Un geste simple pour l'environnement, n'imprimez ce message que si vous en 
avez l'utilité.



Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à 
l'intention exclusive des destinataires et les informations qui y figurent sont 
strictement confidentielles. Toute utilisation de ce Message non conforme à sa 
destination, toute diffusion ou toute publication totale ou partielle, est 
interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le 
copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si 
vous avez reçu ce Message par erreur, merci de le supprimer de votre système, 
ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support 
que ce soit. Nous vous remercions également d'en avertir immédiatement 
l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie 
électronique arrivent en temps utile, sont sécurisées ou dénuées de toute 
erreur ou virus.


This message and any attachments (the 'Message') are intended solely for the 
addressees. The information contained in this Message is confidential. Any use 
of information contained in this Message not in accord with its purpose, any 
dissemination or disclosure, either whole or partial, is prohibited except 
formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any 
part of it. If you have received this message in error, please delete it and 
all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or 
virus-free.
image/gifimage/gif___
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] Hint to color the output by a given array

2011-01-14 Thread Utkarsh Ayachit
It's not possible currently, but not a bad idea at all. Feel free to add it
to the bug tracker. Shouldn't be too hard to implement.

Utkarsh

On Fri, Jan 14, 2011 at 6:19 AM, Stephane PLOIX stephane.pl...@edf.frwrote:


 Hi,

 Is there a Hint tag that I can use to tell ParaView to color the output of
 a given filter by a given array?
 By default, ParaView uses for the output the same colot as was used for the
 input, which is fine in most cases.
 However, I would sometimes like to specify a given color for the output
 different than for the input, is it possible?

 Typical use case : in the filter, set an array as the ActiveVector (using
 output-GetPointData()-SetActiveVectors(my_array_name)),
 and I would like the output to be colored by this vector by default.

 Best,
 Stephane
   *Stephane PLOIX**
 Pilote Opérationnel - Visualisation scientifique*
 EDF - RD
 SINETICS
 1, Av du Général de Gaulle
 92140 Clamart

 *stephane.pl...@edf.fr*
 Tél. : +33 (0) 1 47 65 51 10   Un geste simple pour l'environnement,
 n'imprimez ce message que si vous en avez l'utilité.



 Ce message et toutes les pièces jointes (ci-après le 'Message') sont
 établis à l'intention exclusive des destinataires et les informations qui y
 figurent sont strictement confidentielles. Toute utilisation de ce Message
 non conforme à sa destination, toute diffusion ou toute publication totale
 ou partielle, est interdite sauf autorisation expresse.

 Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de
 le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou
 partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de
 votre système, ainsi que toutes ses copies, et de n'en garder aucune trace
 sur quelque support que ce soit. Nous vous remercions également d'en avertir
 immédiatement l'expéditeur par retour du message.

 Il est impossible de garantir que les communications par messagerie
 électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
 erreur ou virus.
 

 This message and any attachments (the 'Message') are intended solely for
 the addressees. The information contained in this Message is confidential.
 Any use of information contained in this Message not in accord with its
 purpose, any dissemination or disclosure, either whole or partial, is
 prohibited except formal approval.

 If you are not the addressee, you may not copy, forward, disclose or use
 any part of it. If you have received this message in error, please delete it
 and all copies from your system and notify the sender immediately by return
 message.

 E-mail communication cannot be guaranteed to be timely secure, error or
 virus-free.
 ___
 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


[Paraview] Bug: All points are converted to floating point when run through D3

2011-01-14 Thread Paul Edwards
Hi,

I've just noticed that D3 outputs all points as floating point regardless of
the type that goes in?  Please can anyone tell me where this happens?

I've attached a python script to demonstrate the problem.  Here is output on
my system:

8-
paul@localhost:~/d3test$ pvpython d3-bug-double-precision-points-lost.py
Listen on port: 1
Waiting for client...
Client connected.
vtkSphereSource : [ ...]
vtkSphereSource(1) : [ ...]
vtkSphereSource : [ ...]
Process id: 0  Datatype is  11
Process id: 1  Datatype is  11
vtkPythonProgrammableFilter(1) : [ ...]
vtkDistributedDataFilter(1) : [ ...]
Clean up and finish : [ ...]
vtkPythonProgrammableFilter(1) : [ ...]
Process id: 0  Datatype is  10
Process id: 1  Datatype is  10
paul@localhost:~/d3test$
-8

Thanks in advance,
Paul


d3-bug-double-precision-points-lost.py
Description: Binary data
___
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] Plot3D reader with Function file

2011-01-14 Thread kenichiro yoshimi
When A file reader has more than one type of solution file (e.g.
PLOT3D Solution (.q) file and PLOT3D Function (.f) file), how do I
apply the way Animating legacy VTK file series
(http://www.vtk.org/Wiki/Animating_legacy_VTK_file_series)
to all types? For now, I can only do single type at one time.
Any help will greatly be appreciated.

Thanks,
yoshimi
___
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] Error importing numpy [Windows]

2011-01-14 Thread DParker
I finally got back around to this problem and was able to correct the 
issue. The primary issue seemed to be that I was trying to import 32-bit 
numpy into a 64-bit Python interpreter installed with 64-bit Paraview. A 
secondary issue was a lack of understanding of how to use PYTHONPATH. 

I removed the 64-bit version of Paraview, and installed the 32-bit 
version. I then added a 'numpy.pth' file to the Paraview Python 
site-packages folder with the path to my previously installed Python 
site-packages folder (with numpy module). Now I can use numpy and the 
Python calculator and programmable filter!

David Parker 
Chromalloy - TDAG



From:   Dave Partyka dave.part...@kitware.com
To: dpar...@chromalloy.com
Cc: paraview@paraview.org
Date:   11/01/2010 06:31 AM
Subject:Re: [Paraview] Error importing numpy [Windows]
Sent by:paraview-boun...@paraview.org



That is a strange error. Usually it prints what library it had an issue 
with. That said, I am assuming you're numpy was built against lapack/blas 
or clapack? Are those dlls in your path as well?

On Fri, Oct 29, 2010 at 12:19 PM, dpar...@chromalloy.com wrote:
I'm attempting to use an existing installation of numpy in Paraview on 
Windows. I installed Paraview from a binary installer onto Windows. 
Paraview installed it's own Python version without numpy. I tried 
appending the path to an existing numpy installation on the computer to 
the PYTHONPATH within the Paraview Python shell, but I cannot import numpy 
(see Python shell traceback): 

ImportError: DLL load failed: %1 is not a valid Win32 application. 

Both the Paraview and Windows Python versions are 2.6. Any ideas on how to 
proceed? 

David Parker 
Chromalloy - TDAG
___
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

___
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