Re: [Paraview] XDMF Set

2015-05-29 Thread Chris Richardson

On 29/05/2015 04:20, David E DeMarle wrote:

Responses in line.

On Thu, May 14, 2015 at 4:47 AM, Chris Richardson
ch...@bpi.cam.ac.uk wrote:


I guess that leads to the following questions:

1) When will Xdmf3 be used by ParaView?


I want to deprecate Xdmf2 and make Xdmf3 the default the next release.
Because Xdmf3 adds a dependency on boost Xdmf will have to become
optional in ParaView. The Kitware binaries will have it on because we
already Superbuild in boost for the VisItBridge, but other versions
could easily drop it.


2) Does 2D work properly?


I don't think I tested that particular path in Xdmf3.  If you can make
a small test dataset which disproves its working, I'll likely be able
to fix it and add it to the regression test suite for Xdmf3 in VTK.



I guess this should work...

?xml version=1.0 ?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf Version=2
  Domain
Grid Name=Unnamed
  Topology  Type=TRIANGLE
 Dimensions=1DataStructure
   DataType=Int
   Dimensions=1 3
   Format=XML
0 1 2
/DataStructure
  /Topology
  Geometry Type=XYZ
DataStructure
   DataType=Float
   Precision=4
   Dimensions=3 3
   Format=XML
 0 0 0
 1 0 0
 0 1 0
/DataStructure
  /Geometry

  Set SetType=Edge Name=Test
  DataItem NumberType=Int Dimensions=2 Format=XML
  0 0
  /DataItem
  DataItem NumberType=Int Dimensions=2 Format=XML
  0 1
  /DataItem
  Attribute Name=Set Values AttributeType=Scalar 
Center=Edge

DataItem Format=XML Dimensions=2
  1 0
/DataItem
  /Attribute
  /Set
/Grid
  /Domain
/Xdmf




3) What about Attributes which are not in a Set. The XDMF pages
say this:-

A Grid centered Attribute might be something like Material Type
where the value is constant everywhere in the grid. Edge and Face
centered values are defined, but do not map well to many
visualization systems.



But how do you define Edge and Face centered values for the whole
mesh, anyway?


Not sure I understand the question, much less the answer, but lets
have a go shall we?
Set's can have their own attributes and those attributes can be grid
centered. So if the set has all the edges, then the set's grid
centered attributes apply to all of the edges in the mesh.


OK, I probably confused things by mixing this in. I'll ask it as a 
separate question.




4) Finally, is there any real need (in the case below) to go via the
Faces? Maybe, before the standard gets more widespread, this could
be eliminated,
and just go direct from Cell-Edge... OK, this is just a
suggestion...


Could do. I can't think of a reason off the top of my head why vtk's
cell-GetEdge is any less well defined than cell-GetFace()-GetEdge()
and it is probably faster. Maybe that is why the bug is there in
xdmf1/2.



Yes, and this should also help to fix point (2) above, since Triangles 
don't have Faces, only Edges.


Chris R.

___
Powered by www.kitware.com

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

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] How to automaticaly generate probe location points?

2015-05-29 Thread Joice Fernandes Carrara
Hi,

I need to generate a wide variety of probe location points and plot
selection over time, in 4 models.
This demand a significant amount of time to do manualy.
I would like to know if it is possible to automaticaly generate the probe
location points.
And if it is possible to automatically plot selection over time to this
same generated points.

I found this explanation:
http://www.paraview.org/pipermail/paraview/2011-May/021311.html , but It is
not clear to me how to do it.

I prefer to do it without programming.

Thank you.

Best regards,


-- 
*Joice Fernandes Carrara*
Graduanda em Engenharia Naval e oceânica
___
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] ANNOUNCE: Kitware is hiring

2015-05-29 Thread Berk Geveci
Hi folks,

We are looking to hire visualization developers to our Scientific Computing
team. If you are a talented visualization researcher and developer with
strong C++ skills, please consider applying.  You will join a great team
and work on many interesting and challenging technical problems - always
aiming to deliver robust and widely used software solutions.

For the full posting see:
http://tinyurl.com/l8sgvzw

JOB DESCRIPTION
Kitware is seeking to hire highly skilled Research and Development
Engineers (RD Engineers) to join our Scientific Computing team and
contribute to our scientific and information visualization efforts.
Candidates will work to develop and improve leading visualization software
solutions.

Kitware collaborates on a multitude of basic and applied research and
development projects. Our collaborators include the top universities from
around the world, national research labs, medical device manufacturers, car
manufacturers, oil and gas companies, financial institutes, and many
others. The projects range from extending our open source C++ libraries and
applications, such as VTK, ParaView, and CMake, to developing proprietary
domain-specific vertical applications for a wide array of platforms
including web and mobile devices.

By joining our team you will participate in a dynamic work environment with
exceptionally talented and friendly coworkers who are committed to
high-quality development practices.  You will collaborate with esteemed
researchers from around the world by:

* Designing and developing scalable data analysis and visualization tools
for use by  researchers and professionals from various domains;

* Solving a wide array of problems ranging from developing distributed
memory parallel algorithms for data analysis, optimizing distributed
parallel codes to compiling and maintaining software on supercomputers.

* Designing and developing tools to improve scientific data analysis
workflows;

* Contributing to and supporting our dynamic open source communities built
around several of our open source tools.
___
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] How to automaticaly generate probe location points?

2015-05-29 Thread Utkarsh Ayachit
Joice,

First question do you want probe location or select a cell/point? If you
can describe the workflow you'd use to do this manually for 1 point, I'll
know better what approach might work for you.

Thanks
Utkarsh

On Fri, May 29, 2015 at 10:00 AM Joice Fernandes Carrara 
joicecarr...@poli.ufrj.br wrote:

 Hi,

 I need to generate a wide variety of probe location points and plot
 selection over time, in 4 models.
 This demand a significant amount of time to do manualy.
 I would like to know if it is possible to automaticaly generate the probe
 location points.
 And if it is possible to automatically plot selection over time to this
 same generated points.

 I found this explanation:
 http://www.paraview.org/pipermail/paraview/2011-May/021311.html , but It
 is not clear to me how to do it.

 I prefer to do it without programming.

 Thank you.

 Best regards,


 --
 *Joice Fernandes Carrara*
 Graduanda em Engenharia Naval e oceânica

  ___
 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] Import h5py in python shell

2015-05-29 Thread Utkarsh Ayachit
ParaView packages its own Python. You'll either need to build ParaView from
source using the Python installation you have or install h5py in the Python
packaged with ParaView.

Utkarsh

On Tue, May 26, 2015 at 9:58 AM Jean-Michel jm.lu...@gantha.com wrote:

  Dear all,



 I am currently trying to use the h5py module in the Python Shell in
 ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of
 python-xy and works fine outside of ParaView.



 I tried to import the module by providing the path to the package, using
 mainly two methods:

 - append the path to the package with sys.path.append before doing the
 import

 - import the module using the imp package and providing the full path to
 imp.load_source

 However, both methods failed to load h5py, returing the following error :
 ImportError: DLL load failed: %1 is not a valid win32 application.



 Thank you for your help.



 Jean-Michel


 --
   [image: Avast logo] http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 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

___
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] SWKey: Definitions of 'Q-Criterion' and the calculator's mag(*) operator? Revised w/ Answers

2015-05-29 Thread Andy Bauer
Hi Samuel,

The issue with the symmetric tensor magnitude calculation is that ParaView
doesn't know it's a symmetric tensor so it doesn't know that it needs to
sum the off-diagonal values twice. All that is know for these arrays are
how many components there are. A three-component array could be
representing either a 3D vector or a 3D anti-symmetrix, second order tensor
so it's the user's responsibility to compute the magnitude properly where
shortened representations of tensors are used.

Regards,
Andy

On Sat, May 23, 2015 at 12:03 PM, Samuel Key samuel...@bresnan.net wrote:

  Reference: ParaView Version 4.3.1

 I have two technical questions:

  (Q1) In the PV filter 'Gradient Of Unstructured Data Set' is the
 QCriterion function, the Q-Criterion defined by J. C. R. Hunt, A. Wray,
 and P. Moin (1988) Eddies, stream, and convergence zones in turbulent
 flows, Center for Turbulence Research Report CTR-S88, and referenced by G.
 Haller in *An objective definition of a vortex*, J. Fluid Mech. (2005),
 vol. 525, pp.1–26?

 (Answer to Q1) Courtesy of Don Simons of Egility Corp., Yes, the formula
 being
 Q=-0.5*(Vx,x*Vx,x + Vy,y*Vy,y + Vz,z*Vz,z) - (Vx,y*Vy,x + Vx,z*Vz,x +
 Vy,z*Vz,y)

 (Q2) In the PV filter 'Calculator' what is  the formula used by the mag
 function to calculate mag(*S*) where *S* is a symmetric 2nd-order tensor?
 Using matrix notation, the tensor *S* would have the following components:

 ---
 | Sxx Sxy Sxz |
 | Sxy Syy Syz |
 | Sxz Syz Szz |
 ---

 (Answer to Q2) The PV formula for mag(*S*) is the square root of the sum
 of the squares of the 6-tuple (Sxx, Syy, Szz, Sxy, Sxz, Syz).

 For consistency with a three-component vector, I would have expected it to
 be the 6-tuple (Sxx, Syy, Szz, 2Sxy, 2Sxz, 2Syz)?


 Samuel W Key
 FMA Development, LLC
 1005 39th Ave NE
 Great Falls, Montana 59404
 USA

 ___
 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] File in pipeline browser has changed; best way to reload

2015-05-29 Thread Alex Lindsay

Michael  Christian,

Thanks for your emails. I've been doing some other things, but am 
returning to this question. Michael, I am attempting to use the solution 
you proposed: 
http://public.kitware.com/pipermail/paraview/2013-June/028596.html


However, when I try to adapt this to use ExodusII instead of Xdmf, I 
crash Paraview. I copied the code from the above link, and simply 
replaced 'Xdmf' with 'ExodusII'. When I try to load my xml file into 
paraview using the plug-in manager, that's when I cause the crash. I've 
successfully loaded the plugin in its un-modified form (e.g. the Xdmf 
form), so I must not be modifying the code correctly. I'm sure it's 
something exceedingly simple (I've tried replacing 
class=vtkExodusIIReader with class=vtkExodusReader for example), but I 
don't know what I'm doing wrong.


Here is my code:

ParaViewPlugin
ServerManagerConfiguration
  ProxyGroup name=sources
SourceProxy name=EXODUSRrefresh base_proxygroup=sources
base_proxyname=ExodusIIReader class=vtkExodusIIReader
  Property name=Refresh command=Modified
panel_widget=command_button/
  Hints
ReaderFactory extensions=e file_description=ExodusII Reader
(Refresh button) /
  /Hints
/SourceProxy
  /ProxyGroup
  /ServerManagerConfiguration
  ParaViewReaders
Reader name=ReaderWithButton /
  /ParaViewReaders
/ParaViewPlugin

Any help from anyone would be appreciated!

Alex

On 05/05/2015 01:07 AM, Schlottke, Michael wrote:

Hi Alex,

there is a thread from around 2 years ago that proposed a couple of 
solutions. Especially if you are using a custom reader plugin this 
provides for a clean and user-friendly approach:


http://public.kitware.com/pipermail/paraview/2013-June/028588.html
http://public.kitware.com/pipermail/paraview/2013-June/028596.html (this 
is the solution we use)


Regards,

Michael

On 05 May 2015, at 09:12 , Christian Richter 
christian.rich...@ovgu.de mailto:christian.rich...@ovgu.de wrote:


Hi Alex,

I'm using a little python macro to refresh the fileNames Property of 
all readers in the Pipeline. It is located here:

https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/python_macros/update.py

Feel free to use this as a starting point.

Best,
Christian.

Am 5/5/2015 um 12:08 AM schrieb Alex Lindsay:

Hi all,

I am doing something that most other modellers do: I am visualizing 
a file in my pipeline browser, but I ran a new simulation and now 
the file I am viewing should have changed. What is the best way to 
reload the file/get the new data from the file? So far my google 
searches have yielded this 
http://www.cfd-online.com/Forums/openfoam-paraview/78129-update-data-paraview.html#post446239 
as the best result, but it seems quite clumsy.


I've seen in other places people recommend clicking on update gui, 
but I don't see that button available anywhere in my version of 
paraview.


Refresh times also doesn't seem to work.

As you can tell, I'm a new paraview user!

Thanks,
Alex


___
Powered bywww.kitware.com

Visit other Kitware open-source projects 
athttp://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


--

signatur.png

Dipl.-Ing. Christian Richter
Lehrstuhl für Materialflusstechnik
Institut für Logistik und Materialflusstechnik (ILM)
Fakultät für Maschinenbau (FMB)

Otto-von-Guericke-Universität Magdeburg
Universitätsplatz 2
D-39106 Magdeburg
Gebäude 10, Raum 213

University Magdeburg “Otto-von-Guericke”
Department of Material Handling
Institute of Logistics and Material Handling Systems (ILM)
Faculty for Mechanical Engineering (FMB)

E-Mail: christian.rich...@ovgu.de
Tel.: +49 (0)391/5976687-4
Fax: +49 (0)391/5976687-5
URL: http://www.ilm.ovgu.de
Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den 
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene 
Adressat dieser E-Mail oder dessen Vertreter sein sollten, so 
beachten Sie bitte, dass jede Form der Kenntnisnahme, 
Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser 
E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem 
Absender der E-Mail in Verbindung zu setzen.

___
Powered by www.kitware.com http://www.kitware.com

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


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


Search the list archives at: http://markmail.org/search/?q=ParaView 
http://markmail.org/search/?q=ParaView


Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Running regression tests

2015-05-29 Thread Utkarsh Ayachit
Jim,

Look at what we do for ParaViewSuperbuild [1, 2]. That may give you
pointers. You can potentially setup a simple cmake project that simply runs
your test suite.

Utkarsh

[1]
https://gitlab.kitware.com/paraview/paraview-superbuild/tree/master/Testing
[2]
https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/Testing/tests.cmake

On Thu, May 28, 2015 at 11:19 AM jim.el...@awe.co.uk wrote:



 Good afternoon,



 I was wondering whether anyone could give me some guidance on how to
 run/create regression tests for ParaView.



 I build/install each release of ParaView on a number of platforms, so I am
 looking for a way to validate correct build and installation, and also to
 check correct performance of our own plugins etc. A subset of the standard
 regression tests would probably be sufficient for validating correct
 installation.



 Step-by-step instructions would be awesome – if available.



 Many thanks,

 Jim



 *Jim Eliot*
 *High Performance Computing Group*
 AWE, Aldermaston, Reading,  RG7 4PR



 ___
  The information in this email and in any
 attachment(s) is commercial in confidence. If you are not the named
 addressee(s) or if you receive this email in error then any distribution,
 copying or use of this communication or the information in it is strictly
 prohibited. Please notify us immediately by email at admin.internet(at)
 awe.co.uk, and then delete this message from your computer. While
 attachments are virus checked, AWE plc does not accept any liability in
 respect of any virus which is not detected. AWE Plc Registered in England
 and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
 ___
 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] FlyIn and FlyOut in ParaView 4

2015-05-29 Thread Utkarsh Ayachit
Noted. I've reported a feature request (
http://www.paraview.org/Bug/view.php?id=15497).

Utkarsh

On Mon, May 25, 2015 at 9:02 AM Samuel Key samuel...@bresnan.net wrote:

  Utkarsh--

 This functionality in ParaView would also be very helpful for examining
 the structural stability of underground openings (transportation tunnels,
 mining tunnels, penstocks, large sewage transfer tunnels, ...).

 Sam--


 On 5/24/2015 9:26 PM, Thomas Oliveira wrote:

   Dear Utkarsh,

  It would be great to have this functionality back. This way of navigating
 through the model is needed by everyone who simulates flow inside object
 with (many) channels, e.g., porous media.

  Thanks,

  Thomas


 On Fri, May 22, 2015 at 5:01 PM, Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com wrote:

 Thomas,

 Alas no. That was something that was lost in 3.0 transition. I haven't
 looked into it in detail, but if there's sufficient interest, it
 should not be too hard to resurrect the old code.

 Utkarsh

 On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira
 thomas.olive...@gmail.com wrote:
  Hi,
 
  I found on this manual
 
 http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm
  that a previous version of ParaView had FlyIn and FlyOut among the
 controls
  for 3D movements.
 
  Do you if they are available in ParaView 4?
 
  Best regards,
 
  Thomas Oliveira
 
 
   ___
  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

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