How to pull dynamic viscosity from a face?
Writing a UDF in which I need to get viscosity values of the flow for use.
Similar to using F_R(f, t) for the density on that face, or F_T(f,t) for the temperature, is there a macro to pull viscosity? |
Was able to figure this one out. There are many more property macros are based on cells than what's stored on the faces, so C_MU_L(c,t) worked for my case.
I just had to get the adjacent cell and thread using: Code:
c = F_C0(f, t); |
All times are GMT -4. The time now is 16:26. |