- **OpenFOAM**
(*https://www.cfd-online.com/Forums/openfoam/*)

- - **Immersed mesh - STL mesh intersection**
(*https://www.cfd-online.com/Forums/openfoam/108210-immersed-mesh-stl-mesh-intersection.html*)

Immersed mesh - STL mesh intersectionHi all,
I will be working on a project of which I have given a brief description: The work is to enable visualization of data for immersed boundaries in Tecplot. Essentially, there is a refined hex mesh with a STL surface mesh (triangular elements to describe the surface geometry). The hex mesh cells lie both inside and outside of the geometry. Hence, some cells are cut by the STL mesh. The objective is to detect these cells, then detect the points of intersection and convert these hex cells into polyhedral cells so that they can be visualized in Tecplot. I thought of using the snappyHexMesh tool from open-foam, but I realized that it morphs the cells around the geometry rather than computing intersection points. So what I want to know is if you know any tool in OpenFoam (or otherwise) that can do this? Thank you Arvind |

Hi,
If your in to programing and I would recommend VTK. One could say its whats paraview is based on. You could say that vtk is all the math in paraview (and probably more). There are some pre built classes that handle interpolation. Have a look at this example http://www.vtk.org/Wiki/VTK/Examples...onIntersection Best and good luck /Nicolas |

@Nicolas...Thank you for the reply. I went through the example. It seems that the example describes finding the intersection of a line with a surface. I am more looking for intersection of a volume (the mesh cell) with a surface (STL). Do you perhaps know any eample of this?
Thank you |

Hi,
I have little experience my self. I've only used vtk on a hobby basis. However it did find this with a little bit of google: http://www.vtk.org/pipermail/vtkuser...il/116435.html They reefer to this site that looks promising http://www.vtkjournal.org/browse/publication/726 /Nicolas |

All times are GMT -4. The time now is 20:38. |