CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   foamToVTK -allPatches (

lovecraft22 April 2, 2012 10:41

foamToVTK -allPatches
1 Attachment(s)
Hi all;
I tried to run


foamToVTK -allPatches
to have all the patches of my geometry in a single file and avoid the need of opening every file single composing my geometry in paraview…

The problem is that I can only get cell data, I cannot get any point data.
(Don't know if these terms are correct but you can have a look at the attached image to understand what I'm saying.)

Any way to have the point data with this command?

Thank you!

Aurelien Thinat April 3, 2012 10:45

In paraview, you can switch cell data to point data. I can't checked the exact name right now, but have a lokk in the "alphabetical list" (with calculator / elevation / etc... tools).

lovecraft22 April 3, 2012 10:50

Thank you for your help.

Actually I think that my problem is that those data don't get exported, is not a matter of visualizing them in paraview…

Aurelien Thinat April 3, 2012 10:57

Yes, "foamToVTK" exports only cell data as far as I know.

lovecraft22 April 3, 2012 12:24

1 Attachment(s)
That's not true, if you look at the image attached you'll see what you get with foamToVTK without the flag -allPatches.

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