CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   distance to wall in given direction (

nikwin December 21, 2009 09:37

distance to wall in given direction
How can I calculate the distance to the wall from a given point and in a specified direction?

(e.g. wallDist gives the nearest distance to the wall)


RDanks February 16, 2012 10:23

Sorry to resurrect an old post, but I'm wondering if you ever solved this problem? I've been trying to do the same thing but the algorithms I've used are much too slow.

nikwin February 16, 2012 10:26

Unfortunately no. I managed to do without it in the end.

RDanks February 16, 2012 10:27

Ah, that's too bad. Thanks for the quick reply though!

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