CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] What is the difference between foamToSurface and foamToVTK (https://www.cfd-online.com/Forums/openfoam-meshing/226640-what-difference-between-foamtosurface-foamtovtk.html)

samiahmed May 3, 2020 14:05

What is the difference between foamToSurface and foamToVTK
 
Hello,
the utility foamToSurface can export the mesh to multiple formats: (ac gts inp obj off ofs smesh stl stlb tri vtk wrl x3d). To convert to VTK format:


foamToSurface output.vtk


We can achieve that also using foamToVTK:


foamToVTK


What is the difference between these two utilities? why foamToVTK is needed when foamToSurface could achieve the same result?


Thanks

HPE May 3, 2020 14:52

What do `foamToSurface -help` and `foamToVTK -help` say?

foamToSurface (operates on the boundaries of a mesh)

foamToVTK (operates on internal and boundary mesh for visualisation purposes).


All times are GMT -4. The time now is 03:42.