CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How to pull dynamic viscosity from a face?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RTN3000

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2015, 17:17
Default How to pull dynamic viscosity from a face?
  #1
New Member
 
Join Date: Sep 2013
Posts: 13
Rep Power: 13
RTN3000 is on a distinguished road
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?
RTN3000 is offline   Reply With Quote

Old   December 8, 2015, 16:02
Default
  #2
New Member
 
Join Date: Sep 2013
Posts: 13
Rep Power: 13
RTN3000 is on a distinguished road
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);
marialhm likes this.
RTN3000 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:10.