access wall velocities using UDFs in Fluent
Hi,
I need to access the velocity components in some boundary faces belonging to a moving wall. I am trying to do this using a define on demand UDF, using the macros F_U, F_V and F_W. The results, however seem to be wrong. The wall I am interested in is rotating aroung the z axis. I would expect then all the w velocities to be zero as it is an inviscid wall! From my macro the results are instead wrong, and w velocities obtained using F_W are not zero. Also the u and v components seem to be wrong. The solution itself, however, makes sense as I can plot those variables as contour plot and they make sense (w=0 everywhere and u and v have trends consistent with rigid rotation around the z axis). If I apply the same macro on another viscous wall, stationary this time, it does not work either! In this case I'd expect all three components of velocity to be 0 but they are not. Below a code snippet of my UDF: Code:
DEFINE_ON_DEMAND(write_omega_15) Any help is appreciated! Rob |
All times are GMT -4. The time now is 10:44. |