CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Finding nearest cells (http://www.cfd-online.com/Forums/fluent-udf/78618-finding-nearest-cells.html)

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.

Dave

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: almostafa67@gmail.com


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..

Cheers
Dave


All times are GMT -4. The time now is 08:55.