CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Visualizing data 2 metres above ground (http://www.cfd-online.com/Forums/openfoam-paraview/61315-visualizing-data-2-metres-above-ground.html)

segersson July 1, 2005 16:23

Hi, I have to plot data x met
 
Hi,
I have to plot data x metres above a curved surface. To do this I would like to either create an isosurface on distance from the curved surface and then display the data on it, or better, transform a copy of the curved surface x metres and then display data on it.
However, I have not managed to plot coordinate values at all, even if geometric data have to be available for the mesh.
Does one have to create a volScalar field with coordinate values to be able to operate on them, or is there any other way?

Thanks
David

eugene July 1, 2005 18:43

Compile and run this on your c
 
Compile and run this on your case:

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif wallDistance.tgz

It will create a wall distance field and write it to your current time directory.

segersson July 6, 2005 12:19

Thanks a lot, I will try it!
 
Thanks a lot, I will try it!
/David


All times are GMT -4. The time now is 22:00.