Re: [Paraview] Inconsistent results with the stream trace filter
Thanks for the info Leo, I am, however, having trouble building the source that I've downloaded. Could you point me to any instructions on how to build? http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Installoldid=46445#On_Unix-like_operating_systems_2doesn't seem to tie up with the files I get. These are the files I've pulled from Git: -rw-r--r-- 1 joe.borg root 364 Oct 23 09:43 ParaViewConfigVersion.cmake.in -rw-r--r-- 1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in -rw-r--r-- 1 joe.borg root 15K Oct 23 09:43 License_v1.2.txt -rw-r--r-- 1 joe.borg root 583 Oct 23 09:43 DartConfig.cmake -rw-r--r-- 1 joe.borg root 539 Oct 23 09:43 CTestConfig.cmake -rw-r--r-- 1 joe.borg root 24K Oct 23 09:43 CMakeLists.txt -rw-r--r-- 1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in -rw-r--r-- 1 joe.borg root 5.0K Oct 23 09:43 cave.pvx drwxr-xr-x 5 joe.borg root 4.0K Oct 23 09:54 Examples/ drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/ drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/ drwxr-xr-x 2 joe.borg root 12K Oct 23 09:56 CMake/ drwxr-xr-x 11 joe.borg root 12K Oct 23 09:56 SuperBuild/ drwxr-xr-x 5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/ drwxr-xr-x 2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/ drwxr-xr-x 4 joe.borg root 4.0K Oct 23 09:56 Wrapping/ drwxr-xr-x 3 joe.borg root 4.0K Oct 23 09:56 Common/ drwxr-xr-x 7 joe.borg root 4.0K Oct 23 09:57 Qt/ drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/ drwxr-xr-x 5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/ drwxr-xr-x 9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/ drwxr-xr-x 3 joe.borg root 4.0K Oct 23 10:02 Applications/ Thanks. Regards, Joseph David Borġ http://www.jdborg.com On 19 October 2012 21:43, Yuanxin Liu leo@kitware.com wrote: Hi, Joe, Berk reminded me that Andy Bauer has put in some fixes for gradient interpolation for pyramids (5a7dc931c54d868). Since your data contain pyramids, this is quite likely the fix for this bug. Leo On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu leo@kitware.com wrote: Hi, Joe, It looks like this was indeed a bug in 3.14.1 but the bug has been fixed in the current development branch. I am not entirely sure which commit explicitly did it. Leo On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ m...@jdborg.com wrote: Hi, I am using 3.14.1 64-bit on a single core (if I enable multi-core, it becomes very unstable). Adding tets to this small case works, but I've got a bigger duct with a more refined mesh and adding tets don't fix the problem (make it better though). See attached PVSM. Regards, Joseph David Borġ http://www.jdborg.com On 18 October 2012 19:00, Yuanxin Liu leo@kitware.com wrote: No, I did not use Tetrahedralize. Are you using the lastest development version? Are you running paraview as a single process? Do you mind saving a state file of your session and post it? thanks! Leo On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ m...@jdborg.com wrote: Hi Leo, You don't seem to have used the Tetrahedralise filter? How have you got this to work without that? Mine works fine after setting the fluid as input and source as the inlet, but I must first use the Tetrahedralise filter. Regards, Joseph David Borġ http://www.jdborg.com On 17 October 2012 18:14, Yuanxin Liu leo@kitware.com wrote: Hi Joe, I am not seeing exactly what you are seeing. In the attached image produced with the current master, I created a stream tracer with outlet block as the seeds and the fluid block as the input, and the streamlines seem right. But I think there is a bug in how the stream tracer handles multiblock data, because if I change the stream tracer input to the whole pipe data set, instead of just the fluid block, some stream lines go straight to the void like you described. Can you try setting up the pipeline as I did using ExtractBlock and compare with my image? Leo On Wed, Oct 17, 2012 at 10:51 AM, Magician f_magic...@mac.comwrote: Hi Joe, Tetrahedralize filter is applicable. All cells are splitted into Tetrahedral ones. Try it. Magician On 2012/10/17, at 23:40, Joe Borġ wrote: Thanks Magician, Thanks for testing. What are you using to convert to tet? Is it a ParaView feature? Leo, can the priority of the bug be raised please? Regards, Joseph David Borġ http://www.jdborg.com On 17 October 2012 14:20, Magician f_magic...@mac.com wrote: Hi Joseph, I tried your data and got a result as yours. Your data only includes Hex, Wedge, Tet and Pyramid, but streamlines are stopped earlier. Same as my polyhedral pipe sample, I applied Tetrahedralize filter to your pipe source, and I could get valid streamlines. Magician Pipe.tar.gz attached to the bug report below, in the form of an Ensight Case. First extract the archive and to open in Paraview, use All files (*) when browsing and select the .encas,
Re: [Paraview] Inconsistent results with the stream trace filter
Joe, Use the latest revision of the wiki page to build the source from git-master (http://paraview.org/Wiki/ParaView:Build_And_Install). Utkarsh On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ m...@jdborg.com wrote: Thanks for the info Leo, I am, however, having trouble building the source that I've downloaded. Could you point me to any instructions on how to build? http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Installoldid=46445#On_Unix-like_operating_systems_2 doesn't seem to tie up with the files I get. These are the files I've pulled from Git: -rw-r--r-- 1 joe.borg root 364 Oct 23 09:43 ParaViewConfigVersion.cmake.in -rw-r--r-- 1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in -rw-r--r-- 1 joe.borg root 15K Oct 23 09:43 License_v1.2.txt -rw-r--r-- 1 joe.borg root 583 Oct 23 09:43 DartConfig.cmake -rw-r--r-- 1 joe.borg root 539 Oct 23 09:43 CTestConfig.cmake -rw-r--r-- 1 joe.borg root 24K Oct 23 09:43 CMakeLists.txt -rw-r--r-- 1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in -rw-r--r-- 1 joe.borg root 5.0K Oct 23 09:43 cave.pvx drwxr-xr-x 5 joe.borg root 4.0K Oct 23 09:54 Examples/ drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/ drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/ drwxr-xr-x 2 joe.borg root 12K Oct 23 09:56 CMake/ drwxr-xr-x 11 joe.borg root 12K Oct 23 09:56 SuperBuild/ drwxr-xr-x 5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/ drwxr-xr-x 2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/ drwxr-xr-x 4 joe.borg root 4.0K Oct 23 09:56 Wrapping/ drwxr-xr-x 3 joe.borg root 4.0K Oct 23 09:56 Common/ drwxr-xr-x 7 joe.borg root 4.0K Oct 23 09:57 Qt/ drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/ drwxr-xr-x 5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/ drwxr-xr-x 9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/ drwxr-xr-x 3 joe.borg root 4.0K Oct 23 10:02 Applications/ Thanks. Regards, Joseph David Borġ http://www.jdborg.com On 19 October 2012 21:43, Yuanxin Liu leo@kitware.com wrote: Hi, Joe, Berk reminded me that Andy Bauer has put in some fixes for gradient interpolation for pyramids (5a7dc931c54d868). Since your data contain pyramids, this is quite likely the fix for this bug. Leo On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu leo@kitware.com wrote: Hi, Joe, It looks like this was indeed a bug in 3.14.1 but the bug has been fixed in the current development branch. I am not entirely sure which commit explicitly did it. Leo On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ m...@jdborg.com wrote: Hi, I am using 3.14.1 64-bit on a single core (if I enable multi-core, it becomes very unstable). Adding tets to this small case works, but I've got a bigger duct with a more refined mesh and adding tets don't fix the problem (make it better though). See attached PVSM. Regards, Joseph David Borġ http://www.jdborg.com On 18 October 2012 19:00, Yuanxin Liu leo@kitware.com wrote: No, I did not use Tetrahedralize. Are you using the lastest development version? Are you running paraview as a single process? Do you mind saving a state file of your session and post it? thanks! Leo On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ m...@jdborg.com wrote: Hi Leo, You don't seem to have used the Tetrahedralise filter? How have you got this to work without that? Mine works fine after setting the fluid as input and source as the inlet, but I must first use the Tetrahedralise filter. Regards, Joseph David Borġ http://www.jdborg.com On 17 October 2012 18:14, Yuanxin Liu leo@kitware.com wrote: Hi Joe, I am not seeing exactly what you are seeing. In the attached image produced with the current master, I created a stream tracer with outlet block as the seeds and the fluid block as the input, and the streamlines seem right. But I think there is a bug in how the stream tracer handles multiblock data, because if I change the stream tracer input to the whole pipe data set, instead of just the fluid block, some stream lines go straight to the void like you described. Can you try setting up the pipeline as I did using ExtractBlock and compare with my image? Leo On Wed, Oct 17, 2012 at 10:51 AM, Magician f_magic...@mac.com wrote: Hi Joe, Tetrahedralize filter is applicable. All cells are splitted into Tetrahedral ones. Try it. Magician On 2012/10/17, at 23:40, Joe Borġ wrote: Thanks Magician, Thanks for testing. What are you using to convert to tet? Is it a ParaView feature? Leo, can the priority of the bug be raised please? Regards, Joseph David Borġ http://www.jdborg.com On 17 October 2012 14:20, Magician f_magic...@mac.com wrote: Hi Joseph, I tried your data and got a result as yours. Your data only includes Hex, Wedge, Tet and Pyramid, but streamlines are stopped earlier. Same as my polyhedral pipe sample, I applied Tetrahedralize filter to your pipe source,
Re: [Paraview] Error in running ParaviewWeb
The wiki does not recommend the system tomcat as it is the most complex setup, it just provide some background information to help an experienced user to setup a head-less server if mandatory. Here is the set of command line needed to download, unpack and run activemq. $ curl http://download.nextag.com/apache/activemq/apache-activemq/5.7.0/apache-activemq-5.7.0-bin.tar.gz -O $ tar xvfz apache-activemq-5.7.0-bin.tar.gz $ ./apache-activemq-5.7.0/bin/activemq start If you don't want to use the system tomcat, which I recommend as it is your first install, you can do the following to download and start tomcat $ curl http://www.bizdirusa.com/mirrors/apache/tomcat/tomcat-7/v7.0.32/bin/apache-tomcat-7.0.32.tar.gz -O $ tar xvfz apache-tomcat-7.0.32.tar.gz $ ./apache-tomcat-7.0.32/bin/startup.sh What is missing here is the ParaViewWeb part... So you will need to configure tomcat by adding the pw-config.properties file inside TOMCAT_HOME/lib and making sure that all the path provided in the file are correct. Then add all the generated war files into TOMCAT_HOME/webapps/. And you are done. Seb On Tue, Oct 23, 2012 at 10:01 AM, Manuel Kuhn ti...@myopera.com wrote: Hi, I have the same problem, but don't know how to start ActiveMQ? Using Ubuntu and being an beginner at this. (Installed using the SuperBuild, than configured for system-tomcat like the wiki said) Greetings, Manuel -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview Visualization Ambiguity an a 2nd order Tetrahedra
Ah, now I understand. This should be fixed. Try using a nightly binary. To download one, look at this page: http://paraview.org/Wiki/ParaView/Superbuild and look for instruction on how to download generated binaries. -berk On Mon, Oct 22, 2012 at 9:56 AM, Umut Tabak umut.ta...@gmail.com wrote: On 10/22/2012 03:46 PM, Berk Geveci wrote: ParaView will tetrahedralize higher order elements for certain algorithms. For the most part, this should be hidden. What particular algorithm are you seeing this with? Hi, This is a mesh that I export from the commercial finite element code ANSYS. I am not sure how to answer this question. But I also could not understand the point of your question since the cell representation should be easy to understand by the software. It should only draw elements around the main nodes that represent the element, so for this case, the 10-nodes that belong to the element should form the element. Why do you relate this to a meshing algorithm? I am not expert on mesh generation of course ;-) There are two 10 node tetrahedral elements interfaced in my code for ANSYS elements. Namely, SOLID92 and SOLID187 which are both 2nd order 10 node tetra elements. If I follow this thread http://comments.gmane.org/gmane.comp.science.paraview.user/10670 which seems to solve the problem. And I can see the normal 2nd order elements without divided into extra cells. BR, Umut ___ 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] Paraview and Manta View
Hi There! right now i'm playing around with paraview and manta ray tracer. I got Manta compile on my linux machine and got paraview compile with the manta plug-in. Now I'm trying to use the manta view in paraview with vtk data derived from an OpenFoam case. The result is a crash that I don't understand: 7f08fff2f000-7f090366b000 rw-p 00:00 0 7f090366b000-7f090366c000 rw-s 122f42000 00:05 7478 /dev/dri/card0 7f090366d000-7f090366e000 rw-s 122f4 00:05 7478 /dev/dri/card0 7f090372f000-7f090373f000 rw-s 1150e2000 00:05 7478 /dev/dri/card0 7f090388f000-7f09038a1000 rw-s 00:04 9044062 /SYSV (deleted) 7f0903981000-7f0903a81000 rw-s 11c594000 00:05 7478 /dev/dri/card0 7f0903bc1000-7f0904343000 rw-s 00:04 8978494 /SYSV (deleted) 7f0904343000-7f0904344000 rw-s 1278e3000 00:05 7478 /dev/dri/card0 7f0904344000-7f0904345000 rw-s 127e34000 00:05 7478 /dev/dri/card0 7f09045ba000-7f09046b8000 rw-s 00:04 9568362 /SYSV (deleted) 7f09046b8000-7f09046dd000 rw-s 00:04 9470057 /SYSV (deleted) 7f09046dd000-7f0904708000 rw-s 00:04 9437288 /SYSV (deleted) 7f0904708000-7f0904709000 rw-s 11d082000 00:05 7478 /dev/dri/card0 7f0904709000-7f090470a000 rw-s 11d081000 00:05 7478 /dev/dri/card0 7f090470a000-7f090470b000 rw-s 11d08 00:05 7478 /dev/dri/card0Thread RTRT Worker 0(pid 23818 Backtrace: 1. /usr/local/lib/libManta_Core.so(+0x412d0) [0x7f08eb3272d0] 2. /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f092cb534a0] 3. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f092cb53425] 4. /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f092cb56b8b] 5. /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7f092cb9139e] 6. /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96) [0x7f092cb9bb96] 7. /usr/local/lib/libManta_Model.so in Manta::Mesh::~Mesh() 8. /usr/local/lib/libManta_Model.so in Manta::Mesh::~Mesh() 9. /usr/local/lib/libManta_Model.so in Manta::Group::shrinkTo(unsigned long, bool) a. /home/otti/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkManta.so in vtkMantaActorThreadCache::FreeMantaResources() b. /home/otti/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkManta.so in Manta::CallbackTransaction::apply() c. /usr/local/lib/libManta_Engine.so in Manta::RTRT::postTransactions(bool) d. /usr/local/lib/libManta_Engine.so in Manta::RTRT::internalRenderLoop(int, bool) e. /usr/local/lib/libManta_Core.so in Manta::Thread::run_body() f. /usr/local/lib/libManta_Core.so(+0x44728) [0x7f08eb32a728] 10. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f0929dd3e9a] 11. /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f092cc10cbd] 139677424109440: main (state = blocking on semaphore, SyncDisplay::_frameready) 139676715988736: RTRT Worker 0 (state = running) Abort signalled by pid: 23818 Occured for thread: RTRT Worker 0 Has anyone any idea? Running Manta standalone works Thanks and Greetings Jim ___ 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] VTK Code to Paraview
Hi Everybody, (sorry my english) I am new in paraview and have some experience with VTK with python (some codes that parse a DICOM Medical images and rendering as volume/isosurface). My basic question is: how can i use the output generated by my VTK code and input in a paraview to be render? (Is this possible?) Below an piece of my python code: reader = vtk.vtkDICOMImageReader() reader.SetDirectoryName(dirDicom) reader.Update() contour = vtk.vtk.vtkMarchingCubes() contour.SetInput( reader.GetOutput() ) contour.ComputeNormalsOn() contour.SetValue( 0, 1250 ) mapper = vtk.vtkPolyDataMapper() mapper.SetInput( contour.GetOutput() ) mapper.ScalarVisibilityOff() actorBone = vtk.vtkLODActor() actorBone.SetNumberOfCloudPoints( 100 ) actorBone.SetMapper( mapper ) actorBone.GetProperty().SetColor( 1, 1, 1 ) actorBone.GetProperty().SetOpacity( 0.7 ) ## ## HERE, Instead of use a vtkRenderWindow I want show in paraview. Thanks, Fabiano Papaiz ___ 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] problem using 'stream tracer with custom source' filter
Dear all, I was trying to plot streamlines in paraview (3.10.1 64bit) for my openfoam cases. What I did is to import the inlet and internalmesh separately, apply 'mask point' on the inlet, and use filter 'stream tracer with custom source', with mask point as source and internalmesh as the input. At some point, I got a satisfactory streamline plot, everything looks nice. However, I could not duplicate the plot. I went back and did everything the same, the resultant streamlines became extremely short, only 1/10 of length of the flow pathway. And tuning the parameters didn't give me better results either. Anyone has any idea on why this happens or how to make a streamline in paraview correctly? I truly appreciate your help. Best, Hang ___ 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