UDF: Distance from the wall
Dear All,
is it possible to determine the distance from the wall in Fluent UDF? Greetings Gabor |
Re: UDF: Distance from the wall
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 |
Re: UDF: Distance from the wall
Thanks Keil.
Can a UDF-macro determine the coordinates of the nearest wall in complex geometry? Regards Gabor |
Re: UDF: Distance from the wall
Yes. It can.
But the program will be a little bit complex. Regards Keil |
Re: UDF: Distance from the wall
Hi Gabor,
Try to use C_WALL_DIST(c,t) macro in UDF... I suppose it is what You need. Michal |
Can you guide me how to?
|
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 |
All times are GMT -4. The time now is 10:17. |