CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   Mesh from 3D scan (http://www.cfd-online.com/Forums/openfoam-meshing/105432-mesh-3d-scan.html)

heinz July 31, 2012 02:28

Mesh from 3D scan
 
Hello

I am doing my first steps in OpenFOAM-
I have a 3D-scan (xyz points) of a parshal flume.
what is the most efficient way to build a mesh for OpenFOAM?

Cheers

Heinz

elvis August 2, 2012 09:07

vtkSurfaceReconstructionFilter is your friend

http://vtk.org/gitweb?p=VTK.git;a=bl...ructSurface.py is an example that reads reads point data (via vtkProgrammableSource) construct the surface (via vtkSurfaceReconstructionFilter) etc..

I think you can easily modify that VTK-Example to write an STL or OBJ from the surface and continue the common steps.


All times are GMT -4. The time now is 09:31.