CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Find the nearest face label (https://www.cfd-online.com/Forums/openfoam/245487-find-nearest-face-label.html)

sharonyue October 8, 2022 23:46

Find the nearest face label
 
Hi there,

I have several points OUTSIDE the computational domain. I want to find the nearest face's label (on patch/face). Is is possible to do it in OpenFOAM?

Thanks.

sharonyue October 16, 2022 23:00

I did this by calculating the minimun ditance. A bit slow, but works.


All times are GMT -4. The time now is 10:13.