CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Stream tracers problem (https://www.cfd-online.com/Forums/paraview/61220-stream-tracers-problem.html)

tsencic February 13, 2006 08:18

Stream tracers problem
 
When I select Stream Tracers from the Filters, I obtain the following error:

# Error or warning: There was a VTK Error in file: /home/hjasak/OpenFOAM/linuxSrc/paraview-2.4.2/VTK/Filtering/vtkDemandDrivenPipel ine.cxx (661)
vtkCompositeDataPipeline (0x97b6188): Input port 0 of algorithm vtkDistributedStreamTracer(0x8f84ef0) has 4 connections but is not repeatable.

What does it mean, how it can be solved?

anger April 10, 2006 10:01

Hello Tomislav, I ran over
 
Hello Tomislav,

I ran over the same error when trying to create streamlines from an OpenFOAM simulation.

The following procedure resolves the error:
choosing the "Extract Parts" from the "Filter" Menu creates a subset of the data on which the stream tracer filter works (at least for my dataset).

Hth,
regards
-Thomas

tsencic April 11, 2006 03:07

Thank You Thomas! It works fo
 
Thank You Thomas!
It works for me too.

msrinath80 April 27, 2006 15:50

Me too! Thanks Thomas!!!
 
Me too! Thanks Thomas!!!

mattos May 9, 2006 18:24

Hi People I have yet the sa
 
Hi People

I have yet the same problem that Tomislav. The message is:
ErrorMessage
# Error or warning: There was a VTK Error in file: ../../../../../paraview-2.4.2/VTK/Filtering/vtkDemandDrivenPipeline.cxx (661)
vtkCompositeDataPipeline (0x321edf0): Input port 0 of algorithm vtkDistributedStreamTracer(0x321db00) has 8 connections but is not repeatable.
ErrorMessage end

I tried to follow the Thomas' advice without success! I did the following steps:
% paraFoam . <case>
At paraview, first I accepted the last time and I did created the case.foam plot. After I created Filter->Extract Parts and <accpet>
After I tried to generate streamtraces without sucess, and the above message apears in console.

I'm using amd64 version of openfoam 1.3 distribution.

Someone can help me?

Many tanks in advance

Wladimyr

hjasak May 9, 2006 18:33

Well, this is one of the reaso
 
Well, this is one of the reasons I keep openDX and dxFoam alive: it has got integrated spray post-processing that works.

Hrv

msrinath80 May 9, 2006 18:34

Try to follow this procedure e
 
Try to follow this[1] procedure exactly. Just before you select 'Stream tracers' do an 'Extract parts'. I did it just now. It works.


[1] http://www.opencfd.co.uk/openfoam/do...5-170002.1.4.3

mattos May 10, 2006 10:26

Hi pUl|! Please, are you us
 
Hi pUl|!

Please, are you using amd64 version of OpenFoam+paraview? Unfortunatelly I haven't the same good look that you. I tried both in my case as weel in icoFoam/cavity test case.
The message error is similar as follow:

ErrorMessage
# Error or warning: There was a VTK Error in file: ../../../../../paraview-2.4.2/VTK/Filtering/vtkDemandDrivenPipeline.cxx (661)
vtkCompositeDataPipeline (0x2677790): Input port 0 of algorithm vtkDistributedStreamTracer(0x2676750) has 4 connections but is not repeatable.
ErrorMessage end

I have an openFoam 1.2 version installed in other machine (AMD 32 bits) and I didn't find problems to create streamlines!

And Hrvoje: Is available an openDX version for AMD64 installation? Is it straightforward to install?

Can Somebody help me?

Many tanks in advance!

Wladimyr

msrinath80 May 10, 2006 10:29

Yes. I'm using the AMD 64 bit
 
Yes. I'm using the AMD 64 bit version. I also use OpenDx on this machine, although not for OpenFoam yet. Try to replace your paraFoam package with a fresh copy from the OpenFoam sourceforce page.

mattos May 15, 2006 14:39

Hi Guys I overcame the para
 
Hi Guys

I overcame the paraFoam problem trought the following way. I generated a VTK file using foamToVTK and after I used paraview direct. In paraview I read the data file using file->open data and I load the .vtk data in the casedir/VTK subdirectory. Unfortunately I don't know how to overcome the problem of streamtrace using paraFoam. Somebody can help us?

And Hrvoje: have something that could gide me to install openDx to Openfoam?

Wladimyr

msrinath80 June 21, 2006 18:13

Maybe this will help. Try play
 
Maybe this will help. Try playing the video in slow motion if it moves too fast. Xine[1] worked perfectly for me.



[1] http://www.xinehq.de/

msrinath80 June 21, 2006 18:20

Should have checked earlier. H
 
Should have checked earlier. Here is a link to the video.

http://www.ualberta.ca/~madhavan/stream_tracers.mpeg

soup July 31, 2006 10:41

Hi, I seem to have the same
 
Hi,

I seem to have the same problem. I watched the video and tried the extract parts filter on 2 different computer but I still get the same error. Has anyone resolved this? I'm using the binary openfoam off the website: openfoam 1.3, parafoam 2.4.2 - should I be using an older build? Should I compile it myself(i tried this but it didn't work)? I am trying to graph streamlines in the icoFoam cavity tutorial.

soup July 31, 2006 11:20

For anyone else having this pr
 
For anyone else having this problem: I tried installing openfoam-1.2 with parafoam-2.2.0 and it works with stream tracer.

msrinath80 July 31, 2006 11:27

This is indeed strange. It wor
 
This is indeed strange. It works fine on 1.3 for me. Compiling OpenFoam + Paraview isn't trivial, so your best bet is to stick to a binary version unless you really have some time on your hands. I'm assuming that you're new to GNU/Linux.

soup August 1, 2006 09:44

I'm actually not new to linux
 
I'm actually not new to linux but I don't really want to start into compiling openfoam. I also find this strange. I have the exact same problem on my desktop and my laptop. I used the binary packages off the site including the gcc, java and paraview. I tried not installing the single point package which the website says is optional but that didn't fix it. I don't know what else could be different with my configuration.

I would like to get to the bottom of this because I would rather be using the newest version but I am at a loss.

The only thing I do that might be different is I source the bashrc for openfoam manually when I am using openfoam instead of having it in my ~/.bashrc file because I want to use my system's version of java and gcc for other things. Could this be a problem? What else could be different in my configuration? I'm using ubuntu but I don't see how that would make a difference since openfoam isn't using my system libraries anyway (at least I don't think it is)

soup August 1, 2006 09:48

pUl|, earlier in this post yo
 
pUl|, earlier in this post you mention you are using the 64bit version, I am using the 32 bit difference. perhaps there is a problem with the 32 bit binary packages?

msrinath80 August 1, 2006 11:17

If you have a 64 bit machine a
 
If you have a 64 bit machine and if you downloaded the 64 bit binaries, you are supposed to set the env variable WM_64 = on. For instance, in your .bashrc file (located in your home directory i.e. /home/bryan/.bashrc), add the following line:

export WM_64=on

I am not sure if this will help but this is the setting I am using right now.

soup August 1, 2006 11:47

Thanks for your reply. Sorr
 
Thanks for your reply.

Sorry my post was a little unclear due to a typo. To be clear I am using a 32 bit processor and so I have the 32bit binaries. I was just wondering if it might be a problem with the 32 bit binaries because I don't know what else would be different between our setups.

msrinath80 August 1, 2006 11:50

Well, I can't say. Could be. C
 
Well, I can't say. Could be. Can someone else comment on whether this problem is reproducable with 32 bit binaries?


All times are GMT -4. The time now is 13:02.