CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Identifying points sitting on a cell face given initial point and vector (https://www.cfd-online.com/Forums/openfoam-programming-development/174176-identifying-points-sitting-cell-face-given-initial-point-vector.html)

ChasingNeutrons July 6, 2016 10:20

Identifying points sitting on a cell face given initial point and vector
 
Hi guys,
The title is actually fairly self-explanatory. Specifically, given an initial point in a cell and a unit trajectory vector, I'm trying to identify which point along that vector is the intersection with a cell face. Does anyone have any recommendations?

Cheers.


All times are GMT -4. The time now is 06:58.