|
[Sponsors] |
December 7, 2015, 17:17 |
How to pull dynamic viscosity from a face?
|
#1 |
New Member
Join Date: Sep 2013
Posts: 13
Rep Power: 13 |
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? |
|
December 8, 2015, 16:02 |
|
#2 |
New Member
Join Date: Sep 2013
Posts: 13
Rep Power: 13 |
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); t = F_C0_THREAD(f, t); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find density without having dynamic viscosity? | ooo | OpenFOAM Running, Solving & CFD | 6 | January 28, 2014 13:46 |
Total dynamic viscosity in turbulence models | faisalbhat | FLOW-3D | 0 | February 18, 2013 06:17 |
Error message: 8 face(s) not in face lists of adjacent cells | jyoung79 | FLUENT | 0 | November 10, 2012 17:09 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Calling Viscosity on a boundary Face | DH | FLUENT | 0 | March 15, 2005 15:23 |