calculating first layer wall thickness
Hi,
I am trying to calculate y* during the fluent solution within a UDF. From what I can tell from the available cell / face variables, I can retrieve the turbulent kinetic energy (Kp), and then using this and the cell center height (Yp) I can calculate y*. turbulent kinetic energy can be retrieved with F_K(f,tf) How can I retrieve the height of the cell adjacent to the wall? certainly this has to be available as it uses it to evaluate the wall function Any help would be greatly appreciated! Thanks! |
What version of Fluent are you using????? Depending on the version you might be able to use:
C_WALL_DIST Calc_Cell_Wall_Distance_New Calc_Cell_Wall_Distance_Alternative Check out this thread: |
I am using Fluent 18.2
is there documentation for C_WALL_DIST? otherwise I guess I could get the centroid of the face, centroid of the cell, and get the length of the vector between them |
All times are GMT -4. The time now is 22:42. |