CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Cell Data to Point Data Issues (https://www.cfd-online.com/Forums/paraview/70121-cell-data-point-data-issues.html)

mcintoshjamie November 15, 2009 06:33

Cell Data to Point Data Issues
 
All,

I'm using Paraview 3.6.1 and attempting to create a velocity vector from fluent results and then plot these as a streamline.

My current understanding:
1) I need to create a velocity vector from point data of the form:
(X_VELOCITY*iHat)+(Y_VELOCITY*jHat)+(Z_VELOCITY*kH at)
2) I need to produce a glyph of this vector
3) Use the stream tracer filter

Problems:
1) From the screenshot (1) below I've achieved this but only for "Attribute Data: Cell Data." When I select point data then I have no access to the data I need. (ie the only scalars left are coordinates - I need velocity)

I attempted to use the Cell Data to Point Data filter but as you can see my model disappears and it appears to not have worked correctly. (Screenshot 2)

This is confirmed when I attempt to create a point data calculator for the vectors I need with nothing showing. (Screenshot 3)

2-3) Will be simple when 1 works!

Any help will be appreciated as I'm sure this is just a simple fix and I'm just missing something. Thanks for your time.

Jamie

http://img196.imageshack.us/img196/9766/screen1kj.png

http://img23.imageshack.us/img23/1004/screen2rg.png
http://img17.imageshack.us/img17/8439/screen3st.png

mcintoshjamie November 15, 2009 16:28

Right I've managed to create some vectors by using the "Cell Centers" and then "Glyph" filters but it's not the result I'm aiming for (Screenshot 1). I'm trying to produce a streamline which shows the route the particles follow as they move through the model and any assistance with this final step will be really appreciated.

I've tried using the "ParticleTracer" filter and get the following:

p, li { white-space: pre-wrap; } ERROR: In /builddir/build/BUILD/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 728
vtkCompositeDataPipeline (0x2b7a060): Input port 1 of algorithm vtkTemporalStreamTracer(0x2e67f00) has 0 connections but is not optional.

I've also tried using the "Particle Pathlines" filter which doesn't give an error yet doesn't produce any pathlines. Result shown in Screenshot 2.

I've also tried the "StreamTracer" filter with no joy as shown in Screenshot 3 --> Nothing produced.

Please help, I'm sure I'm just missing something simple.

http://img101.imageshack.us/img101/1879/screen4c.png

http://img32.imageshack.us/img32/7233/screenshot5bf.png

http://img32.imageshack.us/img32/4/screenshot6a.png

mcintoshjamie November 19, 2009 03:55

All,

I'm still trying to sort this problem out with no luck. Any suggestions will be appreciated!

Thanks
Jamie


All times are GMT -4. The time now is 01:25.