Ray intersecting BoundaryMesh
Hi,
I try to compute the intersection point of a given line (2 points) and the polyBoundaryMesh of my OF case. Following this thread (http://www.cfd-online.com/Forums/ope...-openfoam.html), I'm using an object of type Foam::indexedOctree<treeDataTriSurface>. I construct the required triSurface from the STLs used to generate the mesh. Unfortunately, the STLs are not exactly identical to the BoundaryMesh, causing errors. Therefore, I tried to construct a Foam::indexedOctree<treeDataPrimitivePatch> from the BoundaryMesh patches to use as a basis, but failed. It should look something like this: Code:
Foam::indexedOctree<treeDataPrimitivePatch>& octree1(???); Thanks a lot! David |
sorry for reply, the edit button is gone...
I fixed it :cool: using Code:
#include "volFields.H" // Diverse fields called by fvCFD.H David |
All times are GMT -4. The time now is 11:40. |