CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   question about paraFoam (https://www.cfd-online.com/Forums/openfoam/88214-question-about-parafoam.html)

Andrea_85 May 11, 2011 09:20

question about paraFoam
 
Hi all,

(probably) a very simple question about paraFoam. I would like to do a 3D plot with the x coordinate of the cell center (ccx) on the x axis, the y coordinate (ccy) on the y axis and a third variable (say pressure) on the z axis. I hope its possible but i do not know how can i do that...

any help is welcome!

andrea

MartinB May 11, 2011 11:16

Hi Andrea,

you can use the Calculator filter with this formula:
iHat*coordsX+jHat*coordsY+kHat*volPointInterpolate (p)

Then make a slice through the resulting object with Z Normal.

Use "Warp By Vector" filter with an appropriate Scale Factor.

It might be necessary to move the final object to the desired position in space.

Martin

Andrea_85 May 11, 2011 11:54

Hi Martin,

happy to hear you again!!
It works. Thank you very much

andrea


All times are GMT -4. The time now is 17:34.