I am trying to build a turbulence model that requires distance from the wall for each cell in the fluid. 

I used C_WALL_DIST(c,t). The FLUENT interprets this without errors but solution initialization fails. If anyone else has written any UDF to find the wall distance, please let me know.

Similar questions and discussions