[Paraview] ParaView and Matlab lovers Parula ColorScale

2015-03-17 Thread Felipe Bordeu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi to all,

Attached you can find the Parula coloscale from the last Matlab release.

Felipe

- -- 
Felipe Bordeu Weldt
Ingénieur de Recherche
- -
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
felipe.bor...@ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVCELyAAoJEE/fMfNgU9/D2zEIAJtQFgOUO+8UgQNwGNRKsagi
jJNUuF4Z3P+lE55OvrT/YNJVUJtQYndeTv8EtFwq0O03sF014DQJn6koPRnVvnVB
x3ITAmwtTUGpUcgl08k6qIB2T77LlEWvjIZLR/Uzj+dQ+qHtTUSIMXxOsHcKyvMR
27JiyKdCk5t+iAxHNqkdNXiHRY4tXNAgi8cqZYwIPLo8d4N+Z4OVIz+bJy7xP0EQ
WXk7nwAxKsqWoktozsg/+LiZR6YCU+RI5CWcucCQ3D0+tdieO6rSikgkVBYPpWBg
nFTx6fZx+YH27h75R6pcda+lOOFtubFr4cNHeiWz9zyNBXe85OvGXdS4aYEO/kg=
=C+Se
-END PGP SIGNATURE-

ColorMaps
!-- file created using the matlab Parula ColorScale by Felipe Bordeu felipe.bor...@ec-nates.fr--
ColorMap space=RGB indexedLookup=false name=Parula Matlab
Point x=0 o=1 r=0.2081 g=0.1663 b=0.5292/
Point x=0.015873 o=1 r=0.21162 g=0.18978 b=0.57768/
Point x=0.031746 o=1 r=0.21225 g=0.21377 b=0.62697/
Point x=0.047619 o=1 r=0.2081 g=0.2386 b=0.67709/
Point x=0.063492 o=1 r=0.1959 g=0.26446 b=0.7279/
Point x=0.079365 o=1 r=0.17073 g=0.29194 b=0.77925/
Point x=0.095238 o=1 r=0.12527 g=0.32424 b=0.83027/
Point x=0.1 o=1 r=0.059133 g=0.35983 b=0.86833/
Point x=0.12698 o=1 r=0.011695 g=0.38751 b=0.88196/
Point x=0.14286 o=1 r=0.0059571 g=0.40861 b=0.88284/
Point x=0.15873 o=1 r=0.016514 g=0.4266 b=0.87863/
Point x=0.1746 o=1 r=0.032852 g=0.44304 b=0.87196/
Point x=0.19048 o=1 r=0.049814 g=0.45857 b=0.86406/
Point x=0.20635 o=1 r=0.062933 g=0.47369 b=0.85544/
Point x=0.2 o=1 r=0.072267 g=0.48867 b=0.8467/
Point x=0.2381 o=1 r=0.077943 g=0.50399 b=0.83837/
Point x=0.25397 o=1 r=0.079348 g=0.52002 b=0.83118/
Point x=0.26984 o=1 r=0.074943 g=0.53754 b=0.82627/
Point x=0.28571 o=1 r=0.064057 g=0.55699 b=0.82396/
Point x=0.30159 o=1 r=0.048771 g=0.57722 b=0.82283/
Point x=0.31746 o=1 r=0.034343 g=0.59658 b=0.81985/
Point x=0.3 o=1 r=0.0265 g=0.6137 b=0.8135/
Point x=0.34921 o=1 r=0.02389 g=0.62866 b=0.80376/
Point x=0.36508 o=1 r=0.02309 g=0.64179 b=0.79127/
Point x=0.38095 o=1 r=0.022771 g=0.65349 b=0.77676/
Point x=0.39683 o=1 r=0.026662 g=0.6642 b=0.76072/
Point x=0.4127 o=1 r=0.038371 g=0.67427 b=0.74355/
Point x=0.42857 o=1 r=0.058971 g=0.68376 b=0.72539/
Point x=0.4 o=1 r=0.0843 g=0.69283 b=0.70617/
Point x=0.46032 o=1 r=0.1133 g=0.7015 b=0.68586/
Point x=0.47619 o=1 r=0.14527 g=0.70976 b=0.66463/
Point x=0.49206 o=1 r=0.18013 g=0.71766 b=0.64243/
Point x=0.50794 o=1 r=0.21783 g=0.72504 b=0.61926/
Point x=0.52381 o=1 r=0.25864 g=0.73171 b=0.59543/
Point x=0.53968 o=1 r=0.30217 g=0.7376 b=0.57119/
Point x=0.6 o=1 r=0.34817 g=0.74243 b=0.54727/
Point x=0.57143 o=1 r=0.39526 g=0.7459 b=0.52444/
Point x=0.5873 o=1 r=0.44201 g=0.74808 b=0.50331/
Point x=0.60317 o=1 r=0.48712 g=0.74906 b=0.48398/
Point x=0.61905 o=1 r=0.53003 g=0.74911 b=0.46611/
Point x=0.63492 o=1 r=0.57086 g=0.74852 b=0.44939/
Point x=0.65079 o=1 r=0.60985 g=0.74731 b=0.43369/
Point x=0.7 o=1 r=0.6473 g=0.7456 b=0.4188/
Point x=0.68254 o=1 r=0.68342 g=0.74348 b=0.40443/
Point x=0.69841 o=1 r=0.71841 g=0.74113 b=0.39048/
Point x=0.71429 o=1 r=0.75249 g=0.7384 b=0.37681/
Point x=0.73016 o=1 r=0.78584 g=0.73557 b=0.36327/
Point x=0.74603 o=1 r=0.8185 g=0.73273 b=0.34979/
Point x=0.7619 o=1 r=0.85066 g=0.7299 b=0.33603/
Point x=0.8 o=1 r=0.88243 g=0.72743 b=0.3217/
Point x=0.79365 o=1 r=0.91393 g=0.72579 b=0.30628/
Point x=0.80952 o=1 r=0.94496 g=0.72611 b=0.28864/
Point x=0.8254 o=1 r=0.9739 g=0.7314 b=0.26665/
Point x=0.84127 o=1 r=0.99377 g=0.74546 b=0.24035/
Point x=0.85714 o=1 r=0.99904 g=0.76531 b=0.21641/
Point x=0.87302 o=1 r=0.99553 g=0.78606 b=0.19665/
Point x=0.9 o=1 r=0.988 g=0.8066 b=0.17937/
Point x=0.90476 o=1 r=0.97886 g=0.82714 b=0.16331/
Point x=0.92063 o=1 r=0.9697 g=0.84814 b=0.14745/
Point x=0.93651 o=1 r=0.96259 g=0.87051 b=0.1309/
Point x=0.95238 o=1 r=0.95887 g=0.8949 b=0.11324/
Point x=0.96825 o=1 r=0.95982 g=0.92183 b=0.094838/
Point x=0.98413 o=1 r=0.9661 g=0.95144 b=0.075533/
Point x=1 o=1 r=0.9763 g=0.9831 b=0.0538/
NaN r=1 g=0 b=0/
/ColorMap
/ColorMaps
___
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] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread Mickael Philit

Hello,

sorry to intrude,
I think the problem may come from the CGNS loader of ParaView.
When using the CGNS plugin from ParaView development version, you get 
the same picture as Ensight.

My two cents

Mickael

On 17/03/2015 05:04, Masaaki SHOJIMA wrote:

Hi Berk,

I appreciate your kindness

Here, I attaches the data.
Compare Gradient.pdf (252KB)

A calculated field by SC/Tetra solver is uploaded in Dropbox. (Calc.zip)
Please download the data. It contains FLD format for SC/Tetra post and 
CGNS format for Ensight and Paraview.

https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0

(1) I calculated the flow and the pressure in a simple cylinder for a 
test ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.


(2) Data were transfered to Ensight and Paraview in CGNS format.

(3) Pressure was mapped on the surface and compared between SC/Tetra 
post, Ensight and Paraview. All application provided same results.


(4) Gradient (pressure) was calculated in each post and z-component of 
Gradient (pressure) was visualized with same colored contour. Only 
paraview provided a different image because the computed gradients in 
paraview had half values compared to SC/Tetra post and Ensight.


(5) Gradient (velocity-X) was also calculated in each post and the 
X-component of Grad (velocity-X) was visualized. Same results as shown 
in 4.



Thanks a lot.

Masaaki




___
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] [EXTERNAL] PROBLEM IMPORTING ENSIGHT SOS FILE

2015-03-17 Thread Gaspare Argento
Dear Alan,

thank you for your time.

The userguide you linked in your mail was interesting but it seems
that the problem is correlated to Paraview, because the *.sos file
format I used was correct.

Just for a general knowledge: for some reason Paraview search the case
files in the same directory of the sos file, independently from the
path you write in the *sos file (it is not important what path to case
file you write, I tried totally wrong path but the error was the
same).

Ensight write his data with the following structure:
\general_path\3D_EnSight\*sos
\general_path\3D_EnSight\DOM_0\*case
\general_path\3D_EnSight\DOM_1\*case
\general_path\3D_EnSight\DOM_n\*case

Because the case files are stored in DOM_x folders, Paraview doens't
find them. You have to put all the content of the DOM_x folders one
step up, at the same path of the *sos file.

Now it works.

I hope it could be useful for someone.

Gaspare

2015-03-13 20:34 GMT+01:00 Scott, W Alan wasc...@sandia.gov:
 Gaspare,

 I tried opening your .case files with ParaView and EnSight, and they seem OK. 
  I then tried opening the .sos file, and had issues - even after removing the 
 site specific information.  I had issues with ParaView, and it crashed 
 EnSight.   Thus, I believe the issue is with the .sos file.  I am not an 
 expert on .sos files at all - so let me aim you at the online documentation.  
 By doing a google search, I found the following:  
 http://www3.ensight.com/EnSight10_Docs/UserManual.pdf.  Look in chapter 9.8, 
 SOS file formats.

 That's about all I know...

 Alan

 -Original Message-
 From: Gaspare Argento [mailto:gaspare.arge...@gmail.com]
 Sent: Tuesday, March 10, 2015 5:04 AM
 To: Scott, W Alan
 Cc: paraview@paraview.org
 Subject: Re: [EXTERNAL] [Paraview] PROBLEM IMPORTING ENSIGHT SOS FILE

 Hi Scott,

 please find attached a case test that was launched on two cores. In the first 
 folder you can find the *.sos file, manually edited with the correct machine 
 name and the absolute path to the Ensight server (I'm not sure it is the 
 correct file to use); in the folders DOM_0 and
 DOM_1 you can find the *.case files (I can load them one by one correctly).

 These files are written by AVL Fire. Because Paraview doesn't support the 
 native format of FIRE for 3D Results, I ask to the software to write them 
 also in the Ensight format.

 Thanks for your support,

 Gaspare

 2015-03-09 22:27 GMT+01:00 Scott, W Alan wasc...@sandia.gov:
 I believe my thoughts below were wrong.  Ignore them.

 Could you give us a trivial dataset that shows this issue?

 Thanks,

 Alan

 -Original Message-
 From: Gaspare Argento [mailto:gaspare.arge...@gmail.com]
 Sent: Friday, March 06, 2015 12:47 AM
 To: Scott, W Alan
 Cc: paraview@paraview.org
 Subject: Re: [EXTERNAL] [Paraview] PROBLEM IMPORTING ENSIGHT SOS FILE

 Hi Scott,

 thanks for answering.

 I'm sorry but I didn't understand exactly what do you mean: could you please 
 explain it better? Did you ask me to attach the .sos file?

 Thanks,

 Gaspare

 2015-03-05 18:39 GMT+01:00 Scott, W Alan wasc...@sandia.gov:
 I just opened an .sos file, with a 16 file dataset, with ParaView 4.3.1.  
 Worked fine.  Linux, local server.

 * I wonder if you have a problem with your SOS file.
 * Mind posting a/the dataset?

 Alan

 -Original Message-
 From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
 Gaspare Argento
 Sent: Thursday, March 05, 2015 2:20 AM
 To: paraview@paraview.org
 Subject: [EXTERNAL] [Paraview] PROBLEM IMPORTING ENSIGHT SOS FILE

 Hi everybody,

 I have a problem when importing an Ensight .sos file in Paraview.

 Loading the .sos file I get the following message (I attach only the lines 
 about the first *.case file, because these are repeated for all *case files 
 listed in the .sos):
 =
 = 

 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\EnSight\vtkGenericEnSight
 R
 eader.cxx,
 line 340

 vtkPGenericEnSightReader (0DC5E6E0): Unable to open file:
 J:\SERVER\CALC\VOF_TEST\Calculation\VOF_TEST\3D_EnSight\/VOF_TEST_DOM
 _
 0.case





 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\EnSight\vtkGenericEnSight
 R
 eader.cxx,
 line 340

 vtkPGenericEnSightReader (0DC5E6E0): Unable to open file:
 J:\SERVER\CALC\VOF_TEST\Calculation\VOF_TEST\3D_EnSight\/VOF_TEST_DOM
 _
 0.case





 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\EnSight\vtkGenericEnSight
 R
 eader.cxx,
 line 811

 vtkPGenericEnSightReader (0DC5E6E0): Error determining
 EnSightVersion





 ERROR: In
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExe
 c
 utive.cxx,
 line 784

 vtkCompositeDataPipeline (0DBF33A0): Algorithm
 vtkPGenericEnSightReader(0DC5E6E0) returned failure for
 request: vtkInformation (0DEC2F60)

 Debug: Off

 Modified Time: 160501

 Reference Count: 1

 

[Paraview] Manage Links from Python Script

2015-03-17 Thread livia.barazzetti
Hello,
I would like to create automatically a property link (like what you do in the 
link manager) in a macro. I tried tracing but I did not get anything for it. Is 
there any python command for property links (Paraview 4.3.1)?
Thanks
Best regards
Liva Barazzetti

___
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] Add logo to animation paraview script

2015-03-17 Thread Madalena S. Malhadas

Dear all,What are the steps to include a image, as logo, in a corner of an 
animated script.
Basicaly  I want to know what is the code that allows to include  image as logo 
in my animated script. I do not want image as background but image as logo, 
placed in one of the corners of my figure.
Kind regards
Madalena  

___
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] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread Masaaki SHOJIMA
Hi Mickael,

I like to try it. Where or How can I get the file of CGNS plugin ?  I am
using Paraview 4.3.1 for windows (may be the latest one).
I am not familiar with Linux or Unix... But I try to comple the source
code...

Thank you so much teaching me.

Masaaki




2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com:

  Hello,

 sorry to intrude,
 I think the problem may come from the CGNS loader of ParaView.
 When using the CGNS plugin from ParaView development version, you get the
 same picture as Ensight.
 My two cents

 Mickael


 On 17/03/2015 05:04, Masaaki SHOJIMA wrote:

  Hi Berk,

 I appreciate your kindness

 Here, I attaches the data.
 Compare Gradient.pdf (252KB)

 A calculated field by SC/Tetra solver is uploaded in Dropbox. (Calc.zip)
 Please download the data. It contains FLD format for SC/Tetra post and
 CGNS format for Ensight and Paraview.
 https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0

 (1) I calculated the flow and the pressure in a simple cylinder for a test
 ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.

 (2) Data were transfered to Ensight and Paraview in CGNS format.

 (3) Pressure was mapped on the surface and compared between SC/Tetra post,
 Ensight and Paraview. All application provided same results.

 (4) Gradient (pressure) was calculated in each post and z-component of
 Gradient (pressure) was visualized with same colored contour. Only paraview
 provided a different image because the computed gradients in paraview had
 half values compared to SC/Tetra post and Ensight.

 (5) Gradient (velocity-X) was also calculated in each post and the
 X-component of Grad (velocity-X) was visualized. Same results as shown in 4.


 Thanks a lot.

 Masaaki




 ___
 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] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread Masaaki SHOJIMA
Hi, Michael,

I found a web-page regarding the CGNS reader, in which you are making
important comments.
http://comments.gmane.org/gmane.comp.science.paraview.user/23957

I have to wait for the next version, is it right?

Thanks

Masaaki

2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com:

  Hello,

 sorry to intrude,
 I think the problem may come from the CGNS loader of ParaView.
 When using the CGNS plugin from ParaView development version, you get the
 same picture as Ensight.
 My two cents

 Mickael


 On 17/03/2015 05:04, Masaaki SHOJIMA wrote:

  Hi Berk,

 I appreciate your kindness

 Here, I attaches the data.
 Compare Gradient.pdf (252KB)

 A calculated field by SC/Tetra solver is uploaded in Dropbox. (Calc.zip)
 Please download the data. It contains FLD format for SC/Tetra post and
 CGNS format for Ensight and Paraview.
 https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0

 (1) I calculated the flow and the pressure in a simple cylinder for a test
 ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.

 (2) Data were transfered to Ensight and Paraview in CGNS format.

 (3) Pressure was mapped on the surface and compared between SC/Tetra post,
 Ensight and Paraview. All application provided same results.

 (4) Gradient (pressure) was calculated in each post and z-component of
 Gradient (pressure) was visualized with same colored contour. Only paraview
 provided a different image because the computed gradients in paraview had
 half values compared to SC/Tetra post and Ensight.

 (5) Gradient (velocity-X) was also calculated in each post and the
 X-component of Grad (velocity-X) was visualized. Same results as shown in 4.


 Thanks a lot.

 Masaaki




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


[Paraview] Fetching data from xdmf temporal collection

2015-03-17 Thread Jean-Michel
Dear all,



I am trying to fetch data out of a xdmf/h5 file.

My xdmf file is a temporal collection and the xdmf reader recognizes the
time steps (index/values in the information block).

I would like to access the point data for each time steps. However, I seem
to only get one time step when fetching the point data from the multi-block
dataset and I don't know how to iterate over the different time steps.



Hope somebody can help. Thank you very much,



Jean-Michel





---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
http://www.avast.com
___
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] Headlight in 4.3.1?

2015-03-17 Thread Cory Quammen
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


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


Re: [Paraview] [EXTERNAL] Re: Trace recorder and presets (color table)

2015-03-17 Thread Scott, W Alan
Thanks Burlen!

Obviously, my ParaView Python fu is weak.  I tried to merge this code into 
Python created by the trace recorder, but couldn't.  Say a person does the 
following (which is sort of what my customer is doing) :

* Trace recorder on.

* Wavelet.  Apply.  Surface.  RTData.

* Color Editor/ Presets/ Blue to Red Rainbow.

* Trace Recorder off.

The line setting Blue to Red Rainbow doesn't get recorded.  What code would I 
paste in there?

Here is the incorrect trace:

 import the simple module from the paraview
from paraview.simple import *
 disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# create a new 'Wavelet'
wavelet1 = Wavelet()

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView1.ViewSize = [856, 797]

# show data in view
wavelet1Display = Show(wavelet1, renderView1)
# trace defaults for the display properties.
wavelet1Display.Representation = 'Outline'
wavelet1Display.ColorArrayName = ['POINTS', '']
wavelet1Display.ScalarOpacityUnitDistance = 1.7320508075688779
wavelet1Display.Slice = 10

# reset view to fit data
renderView1.ResetCamera()

# change representation type
wavelet1Display.SetRepresentationType('Surface')

# set scalar coloring
ColorBy(wavelet1Display, ('POINTS', 'RTData'))

# rescale color and/or opacity maps used to include current data range
wavelet1Display.RescaleTransferFunctionToDataRange(True)

# show color bar/color legend
wavelet1Display.SetScalarBarVisibility(renderView1, True)

# get color transfer function/color map for 'RTData'
rTDataLUT = GetColorTransferFunction('RTData')
rTDataLUT.RGBPoints = [37.35310363769531, 0.231373, 0.298039, 0.752941, 
112.04112243652344, 0.865003, 0.865003, 0.865003, 186.72914123535156, 0.705882, 
0.0156863, 0.14902]
rTDataLUT.ScalarRangeInitialized = 1.0

# get opacity transfer function/opacity map for 'RTData'
rTDataPWF = GetOpacityTransferFunction('RTData')
rTDataPWF.Points = [37.35310363769531, 0.0, 0.5, 0.0, 186.72914123535156, 1.0, 
0.5, 0.0]
rTDataPWF.ScalarRangeInitialized = 1

 saving camera placements for all active views

# current camera placement for renderView1
renderView1.CameraPosition = [0.0, 0.0, 66.92130429902464]
renderView1.CameraParallelScale = 17.320508075688775

 uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).


From: Burlen Loring [mailto:blor...@lbl.gov]
Sent: Monday, March 16, 2015 4:45 PM
To: Scott, W Alan; paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] Trace recorder and presets (color table)

Hi Alan,

You can use the AssignLookupTable function to reference builtin lookup tables 
by name. For example see code between # marks below. There are a few other 
conveniences for working with the builtin tables as well, see this 
recipehttp://www.paraview.org/Wiki/ParaView/Python/Lookup_tables

w = Wavelet()
w_rep = Show(w)
w_rep.Representation = 'Surface'
#
w_rep.ColorArrayName = 'RTData'
w_arr = w.PointData.GetArray('RTData')
w_rep.LookupTable = AssignLookupTable(w_arr, 'Rainbow Blended White')
#
Render().ResetCamera()

Burlen
On 03/16/2015 03:14 PM, Scott, W Alan wrote:
I have a user that needs to change the ParaView preset from default (cool to 
warm) to another ParaView preset (Blue to Red Rainbow).  He wants to do this in 
a python trace.  So, he used the trace recorder to record his steps.  
Unfortunately, changing presets is not recorded with the trace recorder.

I have written this issue up as bug number 
http://www.paraview.org/Bug/view.php?id=15116, but need to give the user the 
code that would have/ should have been produced.  Does anyone have the python 
code that changes presets?

Thanks all!

Alan







___

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] [EXTERNAL] Re: Trace recorder and presets (color table)

2015-03-17 Thread Scott, W Alan
Excellent!

One question - my user may want to use Opacity mapping.  The code below changes 
the Mapping Data view, removing the Opacity part of the view.  Is there a way 
to return it to normal, enabling Opacity Mapping?

Thanks

From: Burlen Loring [mailto:blor...@lbl.gov]
Sent: Tuesday, March 17, 2015 2:17 PM
To: Scott, W Alan; paraview@paraview.org
Subject: Re: [EXTERNAL] Re: [Paraview] Trace recorder and presets (color table)

Hi Alan,

The verbosity of the trace can be confusing, 90% of it is unnecessary, and can 
be removed. Here's how it looks in your example with unnecessary stuff removed 
and the 3 lines added to change the lut by name.

 import the simple module from the paraview
from paraview.simple import *

 disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# create a new 'Wavelet'
wavelet1 = Wavelet()

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')

# uncomment following to set a specific view size
# renderView1.ViewSize = [856, 797]

# show data in view
wavelet1Display = Show(wavelet1, renderView1)

# change representation type
wavelet1Display.SetRepresentationType('Surface')

# change lookup table
wavelet1Display.ColorArrayName = 'RTData'
w_arr = wavelet1.PointData.GetArray('RTData')
wavelet1Display.LookupTable = AssignLookupTable(w_arr, 'Rainbow Blended White')

# show color bar/color legend
wavelet1Display.SetScalarBarVisibility(renderView1, True)

# reset view to fit data
renderView1.ResetCamera()

 uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).

On 03/17/2015 11:46 AM, Scott, W Alan wrote:
Thanks Burlen!

Obviously, my ParaView Python fu is weak.  I tried to merge this code into 
Python created by the trace recorder, but couldn't.  Say a person does the 
following (which is sort of what my customer is doing) :

* Trace recorder on.

* Wavelet.  Apply.  Surface.  RTData.

* Color Editor/ Presets/ Blue to Red Rainbow.

* Trace Recorder off.

The line setting Blue to Red Rainbow doesn't get recorded.  What code would I 
paste in there?

Here is the incorrect trace:

 import the simple module from the paraview
from paraview.simple import *
 disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# create a new 'Wavelet'
wavelet1 = Wavelet()

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView1.ViewSize = [856, 797]

# show data in view
wavelet1Display = Show(wavelet1, renderView1)
# trace defaults for the display properties.
wavelet1Display.Representation = 'Outline'
wavelet1Display.ColorArrayName = ['POINTS', '']
wavelet1Display.ScalarOpacityUnitDistance = 1.7320508075688779
wavelet1Display.Slice = 10

# reset view to fit data
renderView1.ResetCamera()

# change representation type
wavelet1Display.SetRepresentationType('Surface')

# set scalar coloring
ColorBy(wavelet1Display, ('POINTS', 'RTData'))

# rescale color and/or opacity maps used to include current data range
wavelet1Display.RescaleTransferFunctionToDataRange(True)

# show color bar/color legend
wavelet1Display.SetScalarBarVisibility(renderView1, True)

# get color transfer function/color map for 'RTData'
rTDataLUT = GetColorTransferFunction('RTData')
rTDataLUT.RGBPoints = [37.35310363769531, 0.231373, 0.298039, 0.752941, 
112.04112243652344, 0.865003, 0.865003, 0.865003, 186.72914123535156, 0.705882, 
0.0156863, 0.14902]
rTDataLUT.ScalarRangeInitialized = 1.0

# get opacity transfer function/opacity map for 'RTData'
rTDataPWF = GetOpacityTransferFunction('RTData')
rTDataPWF.Points = [37.35310363769531, 0.0, 0.5, 0.0, 186.72914123535156, 1.0, 
0.5, 0.0]
rTDataPWF.ScalarRangeInitialized = 1

 saving camera placements for all active views

# current camera placement for renderView1
renderView1.CameraPosition = [0.0, 0.0, 66.92130429902464]
renderView1.CameraParallelScale = 17.320508075688775

 uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).


From: Burlen Loring [mailto:blor...@lbl.gov]
Sent: Monday, March 16, 2015 4:45 PM
To: Scott, W Alan; paraview@paraview.orgmailto:paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] Trace recorder and presets (color table)

Hi Alan,

You can use the AssignLookupTable function to reference builtin lookup tables 
by name. For example see code between # marks below. There are a few other 
conveniences for working with the builtin tables as well, see this 
recipehttp://www.paraview.org/Wiki/ParaView/Python/Lookup_tables

w = Wavelet()
w_rep = Show(w)
w_rep.Representation = 'Surface'
#
w_rep.ColorArrayName = 'RTData'
w_arr = w.PointData.GetArray('RTData')
w_rep.LookupTable = AssignLookupTable(w_arr, 'Rainbow Blended White')
#
Render().ResetCamera()

Burlen
On 03/16/2015 03:14 

Re: [Paraview] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread Masaaki SHOJIMA
Hi Berk, Armin, Michael and friends

It is getting warm and flowers are starting to bloom in japan, this morning.

Nightly Builds of Paraview was downloaded on 2015-Mar-18
(ParaView-Windows-64bit-NIGHTLY.zip).

Gradient of Pressure was calculated using Gradient of Unstrucutred
Dataset filter and Z component of Grad (pressure) was visualized.

Unfortunately, Nightly build did not settle the problem...
The computed values by nightly builds were also half compared to those of
Ensight.

Could you take a look of the result in the attached PDF?

Thanks for your continuous help.

Masaaki

2015-03-17 22:01 GMT+09:00 Berk Geveci berk.gev...@kitware.com:

 Hi Masaaki,

 I will hold off testing on my end until you have a chance to test with
 nightly binaries. Please let us know how it goes.

 Regards,
 -berk

 On Tue, Mar 17, 2015 at 8:09 AM, dkxl...@gmail.com wrote:

 You could test it with the nighly builds from the dashboard. That way you
 don't have to compile anything.

 You can find more information here:
 http://www.paraview.org/Wiki/ParaView_Nightly_Binaries

 -Armin



 On Tue Mar 17 12:27:27 2015 GMT+0200, Masaaki SHOJIMA wrote:
  Hi, Michael,
 
  I found a web-page regarding the CGNS reader, in which you are making
  important comments.
  http://comments.gmane.org/gmane.comp.science.paraview.user/23957
 
  I have to wait for the next version, is it right?
 
  Thanks
 
  Masaaki
 
  2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com:
 
Hello,
  
   sorry to intrude,
   I think the problem may come from the CGNS loader of ParaView.
   When using the CGNS plugin from ParaView development version, you get
 the
   same picture as Ensight.
   My two cents
  
   Mickael
  
  
   On 17/03/2015 05:04, Masaaki SHOJIMA wrote:
  
Hi Berk,
  
   I appreciate your kindness
  
   Here, I attaches the data.
   Compare Gradient.pdf (252KB)
  
   A calculated field by SC/Tetra solver is uploaded in Dropbox.
 (Calc.zip)
   Please download the data. It contains FLD format for SC/Tetra post and
   CGNS format for Ensight and Paraview.
   https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0
  
   (1) I calculated the flow and the pressure in a simple cylinder for a
 test
   ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.
  
   (2) Data were transfered to Ensight and Paraview in CGNS format.
  
   (3) Pressure was mapped on the surface and compared between SC/Tetra
 post,
   Ensight and Paraview. All application provided same results.
  
   (4) Gradient (pressure) was calculated in each post and z-component of
   Gradient (pressure) was visualized with same colored contour. Only
 paraview
   provided a different image because the computed gradients in paraview
 had
   half values compared to SC/Tetra post and Ensight.
  
   (5) Gradient (velocity-X) was also calculated in each post and the
   X-component of Grad (velocity-X) was visualized. Same results as
 shown in 4.
  
  
   Thanks a lot.
  
   Masaaki
  
  
  
  
   ___
   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
  
  
  
 

 --
 Sent from my Jolla
 ___
 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





Nightly builds Gradient  of Pressure.pdf
Description: Adobe PDF document
___
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: Trace recorder and presets (color table)

2015-03-17 Thread Burlen Loring

Hi Alan,

The verbosity of the trace can be confusing, 90% of it is unnecessary, 
and can be removed. Here's how it looks in your example with unnecessary 
stuff removed and the 3 lines added to change the lut by name.


 import the simple module from the paraview
from paraview.simple import *

 disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# create a new 'Wavelet'
wavelet1 = Wavelet()

# get active view
renderView1 = GetActiveViewOrCreate('RenderView')

# uncomment following to set a specific view size
# renderView1.ViewSize = [856, 797]

# show data in view
wavelet1Display = Show(wavelet1, renderView1)

# change representation type
wavelet1Display.SetRepresentationType('Surface')

*# change lookup table**
**wavelet1Display.ColorArrayName = 'RTData'**
**w_arr = wavelet1.PointData.GetArray('RTData')**
**wavelet1Display.LookupTable = AssignLookupTable(w_arr, 'Rainbow 
Blended White')*


# show color bar/color legend
wavelet1Display.SetScalarBarVisibility(renderView1, True)

# reset view to fit data
renderView1.ResetCamera()

 uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use 
SaveScreenshot(...).



On 03/17/2015 11:46 AM, Scott, W Alan wrote:


Thanks Burlen!

Obviously, my ParaView Python fu is weak.  I tried to merge this code 
into Python created by the trace recorder, but couldn’t. Say a person 
does the following (which is sort of what my customer is doing) :


·Trace recorder on.

·Wavelet. Apply.  Surface.  RTData.

·Color Editor/ Presets/ Blue to Red Rainbow.

·Trace Recorder off.

The line setting Blue to Red Rainbow doesn’t get recorded.  What code 
would I paste in there?


Here is the incorrect trace:

 import the simple module from the paraview

from paraview.simple import *

 disable automatic camera reset on 'Show'

paraview.simple._DisableFirstRenderCameraReset()

# create a new 'Wavelet'

wavelet1 = Wavelet()

# get active view

renderView1 = GetActiveViewOrCreate('RenderView')

# uncomment following to set a specific view size

# renderView1.ViewSize = [856, 797]

# show data in view

wavelet1Display = Show(wavelet1, renderView1)

# trace defaults for the display properties.

wavelet1Display.Representation = 'Outline'

wavelet1Display.ColorArrayName = ['POINTS', '']

wavelet1Display.ScalarOpacityUnitDistance = 1.7320508075688779

wavelet1Display.Slice = 10

# reset view to fit data

renderView1.ResetCamera()

# change representation type

wavelet1Display.SetRepresentationType('Surface')

# set scalar coloring

ColorBy(wavelet1Display, ('POINTS', 'RTData'))

# rescale color and/or opacity maps used to include current data range

wavelet1Display.RescaleTransferFunctionToDataRange(True)

# show color bar/color legend

wavelet1Display.SetScalarBarVisibility(renderView1, True)

# get color transfer function/color map for 'RTData'

rTDataLUT = GetColorTransferFunction('RTData')

rTDataLUT.RGBPoints = [37.35310363769531, 0.231373, 0.298039, 
0.752941, 112.04112243652344, 0.865003, 0.865003, 0.865003, 
186.72914123535156, 0.705882, 0.0156863, 0.14902]


rTDataLUT.ScalarRangeInitialized = 1.0

# get opacity transfer function/opacity map for 'RTData'

rTDataPWF = GetOpacityTransferFunction('RTData')

rTDataPWF.Points = [37.35310363769531, 0.0, 0.5, 0.0, 
186.72914123535156, 1.0, 0.5, 0.0]


rTDataPWF.ScalarRangeInitialized = 1

 saving camera placements for all active views

# current camera placement for renderView1

renderView1.CameraPosition = [0.0, 0.0, 66.92130429902464]

renderView1.CameraParallelScale = 17.320508075688775

 uncomment the following to render all views

# RenderAllViews()

# alternatively, if you want to write images, you can use 
SaveScreenshot(...).


*From:*Burlen Loring [mailto:blor...@lbl.gov]
*Sent:* Monday, March 16, 2015 4:45 PM
*To:* Scott, W Alan; paraview@paraview.org
*Subject:* [EXTERNAL] Re: [Paraview] Trace recorder and presets (color 
table)


Hi Alan,

You can use the AssignLookupTable function to reference builtin lookup 
tables by name. For example see code between # marks below. There are 
a few other conveniences for working with the builtin tables as well, 
see this recipe 
http://www.paraview.org/Wiki/ParaView/Python/Lookup_tables


w = Wavelet()
w_rep = Show(w)
w_rep.Representation = 'Surface'
#
w_rep.ColorArrayName = 'RTData'
w_arr = w.PointData.GetArray('RTData')
w_rep.LookupTable = AssignLookupTable(w_arr, 'Rainbow Blended White')
#
Render().ResetCamera()

Burlen

On 03/16/2015 03:14 PM, Scott, W Alan wrote:

I have a user that needs to change the ParaView preset from
default (cool to warm) to another ParaView preset (Blue to Red
Rainbow).  He wants to do this in a python trace.  So, he used the
trace recorder to record his steps.  Unfortunately, changing
presets is not recorded with the trace recorder.

I have written this issue up as bug number

Re: [Paraview] SEG-Y seismic data loading

2015-03-17 Thread Lester Anderson
There is an updated version of the code here:
https://github.com/rob-smallshire/segpy

I only have 64 bit Python, and this needs 32 bit PyGtk - anyway the route
for reading the data is certainly there. The one issue we would have is
that seismic data can be both in Time (Z axis) or depth, depending on
whether it has been depth converted.

In terms of attributes to deal with, there could be any number of
components, including velocity, amplitude, density etc. but most people
just view a colour-shaded amplitude image for interpretation. The wiggle
trace is fine at a smaller scale.

As an import, it would be necessary to be able to either read the time of
Z-scale or define manually.

On 16 March 2015 at 20:12, Berk Geveci berk.gev...@kitware.com wrote:

 A quick Google search yields a few Python libraries such as

 http://segymat.sourceforge.net/segypy/

 Has anyone experimented with any of those? Once someone can figure out how
 to bring the data in, we can figure out how to visualize it.

 -berk

 On Sun, Mar 8, 2015 at 9:50 AM, Lester Anderson arctica1...@gmail.com
 wrote:

 The other workaround is to have an image of the seismic line that can be
 georeferenced for loading into Paraview. However, this requires a seismic
 viewer capable of exporting a good quality image and not all do (SeiSee is
 quite good). Obviously things get a little complex when having to convert
 from time to depth, but not so if you are dealing with Z as the time
 coordinate.

 Is there a georeference filter/tool in ParaView?

 Cheers

 On 6 March 2015 at 20:55, Léo Pessanha leonardopessanh...@gmail.com
 wrote:

 Putting a SEG-Y data in a more direct way is still in the escope of one
 of the projects that i am working on. I did some research not a long time
 ago and i found that Richard Strelitz wrote a paraview plugin for reading
 SEG-Y data at LANL but he gave up since there was no easy way of retaining
 the concept of a trace that is so essential to seismic data at the time he
 was still trying. He said that would for some of the files he created but
 we lost contact.

 Maybe he could help, and instead of starting from zero, maybe there`s a
 way to continue his work and save some time.

 For me it would be a really really great tool to have in paraview!

 With the proper guidance, i would really like to help(or try to help) !

 2015-03-06 11:58 GMT-03:00 David E DeMarle dave.dema...@kitware.com:

 +1, this would be great to have in ParaView.

 Just need someone out there to find the time and or funding to
 implement it.

 It could make a nice google summer of code effort if there is a student
 who is interested in the topic.
 http://www.kitware.com/blog/home/post/857


 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909

 On Fri, Mar 6, 2015 at 7:21 AM, Lester Anderson arctica1...@gmail.com
 wrote:

 This is definitely an import filter that would make ParaView more
 widely used, particularly in industry. Even doing as suggested by Leo, of
 reading the coordinates and extracting the amplitude would still be useful
 when viewing the data in 3D.

 Perhaps this will be addressed in a future release, but I know this
 has been asked for some years back I believe.

 On 5 March 2015 at 22:14, Lester Anderson arctica1...@gmail.com
 wrote:

 Hi Leo,

 Thanks for the suggestions. What software did you use to export the
 data?

 Cheers
 Lester

 On 5 March 2015 at 19:18, Léo Pessanha leonardopessanh...@gmail.com
 wrote:

 Hi,

 I would like to apologize, i do not know how to answer a question in
 the mailing list correctly, i think the way i am doing it right now is
 going to appear as a new question

 There is no easy way of doing it, to see SEG-Y data in paraview, i
 used another software to export the data to ASCII txt

 So i exported to a 4 collumn text file with X Y Z AMPLITUDE,
 imported in paraview, table to structured grid points filter, and used 
 the
 scalar variable amplitude to color the object

 Hope it helped!





 ___
 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


Re: [Paraview] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread dkxls23
You could test it with the nighly builds from the dashboard. That way you don't 
have to compile anything.

You can find more information here:
http://www.paraview.org/Wiki/ParaView_Nightly_Binaries

-Armin



On Tue Mar 17 12:27:27 2015 GMT+0200, Masaaki SHOJIMA wrote:
 Hi, Michael,
 
 I found a web-page regarding the CGNS reader, in which you are making
 important comments.
 http://comments.gmane.org/gmane.comp.science.paraview.user/23957
 
 I have to wait for the next version, is it right?
 
 Thanks
 
 Masaaki
 
 2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com:
 
   Hello,
 
  sorry to intrude,
  I think the problem may come from the CGNS loader of ParaView.
  When using the CGNS plugin from ParaView development version, you get the
  same picture as Ensight.
  My two cents
 
  Mickael
 
 
  On 17/03/2015 05:04, Masaaki SHOJIMA wrote:
 
   Hi Berk,
 
  I appreciate your kindness
 
  Here, I attaches the data.
  Compare Gradient.pdf (252KB)
 
  A calculated field by SC/Tetra solver is uploaded in Dropbox. (Calc.zip)
  Please download the data. It contains FLD format for SC/Tetra post and
  CGNS format for Ensight and Paraview.
  https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0
 
  (1) I calculated the flow and the pressure in a simple cylinder for a test
  ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.
 
  (2) Data were transfered to Ensight and Paraview in CGNS format.
 
  (3) Pressure was mapped on the surface and compared between SC/Tetra post,
  Ensight and Paraview. All application provided same results.
 
  (4) Gradient (pressure) was calculated in each post and z-component of
  Gradient (pressure) was visualized with same colored contour. Only paraview
  provided a different image because the computed gradients in paraview had
  half values compared to SC/Tetra post and Ensight.
 
  (5) Gradient (velocity-X) was also calculated in each post and the
  X-component of Grad (velocity-X) was visualized. Same results as shown in 4.
 
 
  Thanks a lot.
 
  Masaaki
 
 
 
 
  ___
  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
 
 
 


-- 
Sent from my Jolla
___
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] Fluid Flow Simulation in ParaView

2015-03-17 Thread Rohit Narurkar
Hello

I wish to simulate fluid flow using ParaView. I have 1000 .vtk files for
the 1000 time steps.
I have attached along with this mail one of the .vtk files. When I open
this collection in ParaView, and change the 'coloring' to the velocity name
I have given i.e. VecVelocity as you can see in the sample .vtk file.
There is another option to its right which offers 'magnitude', 'x', 'y' and
'z'. But there are some points with negative velocities and ParaView is
only considering the magnitude (hence positive). I wish to display even the
negative values. How do I do that?

Any help would be great!

Thank you!


vel0010.vtk
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

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] Fwd: Gradient of Unstructed dataset

2015-03-17 Thread Berk Geveci
Hi Masaaki,

I will hold off testing on my end until you have a chance to test with
nightly binaries. Please let us know how it goes.

Regards,
-berk

On Tue, Mar 17, 2015 at 8:09 AM, dkxl...@gmail.com wrote:

 You could test it with the nighly builds from the dashboard. That way you
 don't have to compile anything.

 You can find more information here:
 http://www.paraview.org/Wiki/ParaView_Nightly_Binaries

 -Armin



 On Tue Mar 17 12:27:27 2015 GMT+0200, Masaaki SHOJIMA wrote:
  Hi, Michael,
 
  I found a web-page regarding the CGNS reader, in which you are making
  important comments.
  http://comments.gmane.org/gmane.comp.science.paraview.user/23957
 
  I have to wait for the next version, is it right?
 
  Thanks
 
  Masaaki
 
  2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com:
 
Hello,
  
   sorry to intrude,
   I think the problem may come from the CGNS loader of ParaView.
   When using the CGNS plugin from ParaView development version, you get
 the
   same picture as Ensight.
   My two cents
  
   Mickael
  
  
   On 17/03/2015 05:04, Masaaki SHOJIMA wrote:
  
Hi Berk,
  
   I appreciate your kindness
  
   Here, I attaches the data.
   Compare Gradient.pdf (252KB)
  
   A calculated field by SC/Tetra solver is uploaded in Dropbox.
 (Calc.zip)
   Please download the data. It contains FLD format for SC/Tetra post and
   CGNS format for Ensight and Paraview.
   https://www.dropbox.com/s/5fpeu1qwhyzjn5u/Calc.zip?dl=0
  
   (1) I calculated the flow and the pressure in a simple cylinder for a
 test
   ( diameter 0.005m, length 0.01m). Plug flow at inlet with 0.03 m/s.
  
   (2) Data were transfered to Ensight and Paraview in CGNS format.
  
   (3) Pressure was mapped on the surface and compared between SC/Tetra
 post,
   Ensight and Paraview. All application provided same results.
  
   (4) Gradient (pressure) was calculated in each post and z-component of
   Gradient (pressure) was visualized with same colored contour. Only
 paraview
   provided a different image because the computed gradients in paraview
 had
   half values compared to SC/Tetra post and Ensight.
  
   (5) Gradient (velocity-X) was also calculated in each post and the
   X-component of Grad (velocity-X) was visualized. Same results as shown
 in 4.
  
  
   Thanks a lot.
  
   Masaaki
  
  
  
  
   ___
   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
  
  
  
 

 --
 Sent from my Jolla
 ___
 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] Get selection of input in Python programmable filter

2015-03-17 Thread Allan Lyckegaard
Hi Paraview users,

I have been searching this list and the documentation but without luck.

I am working on a python programmable filter with two vtkimagedata as inputs. 
In the paraview GUI, both input vtkimagedata has an associated selection picked 
by “Select Points With Polygon”.

How do I in the python programmable filter find out what points have been 
selected in the two input vtkimagedata?

/Allan
___
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] Japanese translation of the ParaView Tutorial version 4.2 is available

2015-03-17 Thread Moreland, Kenneth
Very nice! Thanks so much for taking the time to do this.

-Ken



On 3/17/15, 8:15 AM, Takuya OSHIMA osh...@eng.niigata-u.ac.jp wrote:

Hi,

We are pleased to announce the availability of the Japanese
translation of the ParaView Tutorial version 4.2 by Kenneth
Moreland. Download from the Translations section of
http://www.paraview.org/Wiki/The_ParaView_Tutorial .

It is an update after more than four years since the last
release for version 3.8.

We would like to thank the original author for the excellent
tutorial and for continuously providing the LaTeX source files on
GitHub. Also, the translators are grateful to the Open CAE
Society of Japan (http://www.opencae.jp/) for funding the
translation project.

Takuya
___
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] Japanese translation of the ParaView Tutorial version 4.2 is available

2015-03-17 Thread David E DeMarle
どうもありがとうございます Doumo arigatou gozaimasu!


David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Mar 17, 2015 at 10:15 AM, Takuya OSHIMA osh...@eng.niigata-u.ac.jp
wrote:

 Hi,

 We are pleased to announce the availability of the Japanese
 translation of the ParaView Tutorial version 4.2 by Kenneth
 Moreland. Download from the Translations section of
 http://www.paraview.org/Wiki/The_ParaView_Tutorial .

 It is an update after more than four years since the last
 release for version 3.8.

 We would like to thank the original author for the excellent
 tutorial and for continuously providing the LaTeX source files on
 GitHub. Also, the translators are grateful to the Open CAE
 Society of Japan (http://www.opencae.jp/) for funding the
 translation project.

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