|
[Sponsors] |
August 14, 2002, 04:36 |
UDF: Distance from the wall
|
#1 |
Guest
Posts: n/a
|
Dear All,
is it possible to determine the distance from the wall in Fluent UDF? Greetings Gabor |
|
August 14, 2002, 05:15 |
Re: UDF: Distance from the wall
|
#2 |
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 |
|
August 14, 2002, 06:31 |
Re: UDF: Distance from the wall
|
#3 |
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, 02:34 |
Re: UDF: Distance from the wall
|
#4 |
Guest
Posts: n/a
|
Yes. It can.
But the program will be a little bit complex. Regards Keil |
|
August 19, 2002, 02:26 |
Re: UDF: Distance from the wall
|
#5 |
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 |
|
June 10, 2016, 15: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, 08: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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 16:33 |
heat flow UDF on coupled surface (wall-shadow wall) | Friedmann | Fluent UDF and Scheme Programming | 0 | August 5, 2010 11:25 |
distance between particle and wall | Worth | FLUENT | 2 | June 13, 2009 04:04 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
wall conduction, UDF | sudh | FLUENT | 0 | June 28, 2004 09:09 |