|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Dear All,
is it possible to determine the distance from the wall in Fluent UDF? Greetings Gabor |
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Thanks Keil.
Can a UDF-macro determine the coordinates of the nearest wall in complex geometry? Regards Gabor |
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
Yes. It can.
But the program will be a little bit complex. Regards Keil |
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
#6 |
New Member
Pratik Dhoot
Join Date: Mar 2016
Location: Boston, MA
Posts: 20
Rep Power: 10 ![]() |
Can you guide me how to?
|
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 15:33 |
heat flow UDF on coupled surface (wall-shadow wall) | Friedmann | Fluent UDF and Scheme Programming | 0 | August 5, 2010 10:25 |
distance between particle and wall | Worth | FLUENT | 2 | June 13, 2009 03:04 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
wall conduction, UDF | sudh | FLUENT | 0 | June 28, 2004 08:09 |