UDF: Distance from the wall

 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 14, 2002, 03:36 UDF: Distance from the wall #1 Gabor Guest   Posts: n/a Dear All, is it possible to determine the distance from the wall in Fluent UDF? Greetings Gabor

 August 14, 2002, 04:15 Re: UDF: Distance from the wall #2 Keil Guest   Posts: n/a Yes. It's possible. UDF can access a centroid of face on a cell and access the cell centroid as well. Then ,the distance from wall can be calculated by vector calculations. Regards Keil Thumper likes this.

 August 14, 2002, 05:31 Re: UDF: Distance from the wall #3 Gabor Guest   Posts: n/a Thanks Keil. Can a UDF-macro determine the coordinates of the nearest wall in complex geometry? Regards Gabor

 August 15, 2002, 01:34 Re: UDF: Distance from the wall #4 Keil Guest   Posts: n/a Yes. It can. But the program will be a little bit complex. Regards Keil

 August 19, 2002, 01:26 Re: UDF: Distance from the wall #5 Michal Guest   Posts: n/a Hi Gabor, Try to use C_WALL_DIST(c,t) macro in UDF... I suppose it is what You need. Michal Thumper likes this.

 June 10, 2016, 14:52 #6 New Member   Pratik Dhoot Join Date: Mar 2016 Location: Boston, MA Posts: 20 Rep Power: 10 Can you guide me how to?

 May 24, 2018, 07:27 #7 Member   zobekenobe Join Date: Mar 2009 Location: Dublin, Ireland Posts: 72 Rep Power: 17 you can also use BOUNDARY_FACE_GEOMETRY(f, thread, A, dr, es, A_by_es, dr0) dr is the distance between the cell centroids of the adjacent cell to the wall and the wall