- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Basic geometric operations on polyMesh like intersections**
(*http://www.cfd-online.com/Forums/openfoam-solving/59036-basic-geometric-operations-polymesh-like-intersections.html*)

Greetings,
I need to perform Greetings,
I need to perform some basic geometric calculations on my mesh. In particular I'd like to intersect a boundaryPatch with a ray and need to know the coordinates of the intersection. I know I could do it using an octTree based on a triSurface. But is there a) an easy way to convert my boundaryPatch to a triSurface or b) any function that gives me the hitPoint of a line through a patch ? I can obtain the points from primitivePatch but can't find a function to obtain a triFaceList from the faces on the patch. Any help is appreciated. regards Bjoern |

correction:
replace the word correction:
replace the word boundaryPatch with boundaryMesh. Still mixing it up sometimes. Reading source for several hours makes your head spin. |

All times are GMT -4. The time now is 16:50. |