CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Finding nearest cells (

dave0198 July 28, 2010 06:04

Finding nearest cells
Dear All,

Does anyone know how I could search for the nearest cell that satisfies a certain property?

For example if cells within a specified boundary layer have been assigned a value of 0 and cells outside have been assigned a value of 1. How can I find the nearest cell outside the boundary layer.

(Also the boundary layer I have defined varies in thickness around the airfoil)

Any comments or ideas greatly appreciated.


almostafa67 July 30, 2010 10:31

pitching and flapping
Hi, everybody...
I am having this same problem.but in my udf i want to rotate one of edges only about on coordinate,I've been working on it for two weeks but i didnt find any similar problem,if u found any solution for this kind of problems let me know please:)
thank you in advance
my email:

dave0198 July 30, 2010 12:01

Hi almostafa67
I have still not solved this problem either, sorry I cant help. If anyone on this forum has any suggestion please let us know..


All times are GMT -4. The time now is 23:51.