CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

fluent udf, getting fluid density

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2010, 03:36
Default fluent udf, getting fluid density
  #1
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
how can we get fluid properties, density and viscocity of the fluid in a udf file?
mohsen zendehbad is offline   Reply With Quote

Old   January 26, 2010, 22:17
Default
  #2
New Member
 
Vandad Talimi
Join Date: Oct 2009
Posts: 12
Rep Power: 7
vandadt is on a distinguished road
Hi Mohsen
Are you doing time-dependent simulation? I think I can help you by sending you the C++ udf that I have written for my simulation and explain you how to change it regarding your targets. That will be easy. If you are interested just let me know.
v.talimi@mun.ca
Regards,
Vandad
vandadt is offline   Reply With Quote

Old   January 27, 2010, 00:47
Default
  #3
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
Dear Vandad:
it will be kind of you if you do that. my simulation is both steady and unsteady. I need some short words like C_U or C_V which will return the density or viscosity of fluid in that cell.

MERCI
Mohsen
mohsen zendehbad is offline   Reply With Quote

Old   January 27, 2010, 13:13
Default
  #4
New Member
 
Vandad Talimi
Join Date: Oct 2009
Posts: 12
Rep Power: 7
vandadt is on a distinguished road
Mohsen
pass me your email.
Thanks.
vandadt is offline   Reply With Quote

Old   January 27, 2010, 16:56
Default
  #5
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 10
DoHander is on a distinguished road
C_R(c,t) - access cell density
C_MU_L(c,t) - laminar viscosity
C_MU_T(c,t) - turbulent viscosity

For more macros read the Fluent UDF manual.

Do
DoHander is offline   Reply With Quote

Old   January 29, 2010, 13:26
Default
  #6
Member
 
Join Date: Jan 2010
Posts: 53
Rep Power: 7
mariachi is on a distinguished road
Hey mohsen, can i have ur email???

i am also facing similar problem and would really appreciate ur help if ur problem is solved...

Thanks
mariachi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF VOF model on Fluent baechtel Fluent UDF and Scheme Programming 6 February 19, 2013 01:56
Compiling UDF in Fluent 12 jsm FLUENT 1 July 22, 2009 07:40
Parallel Fluent +UDF Jack Martinez FLUENT 0 June 28, 2007 11:19
compiling my UDF Seyed Farid Hosseinizadeh FLUENT 22 February 14, 2006 11:19
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 04:07


All times are GMT -4. The time now is 06:56.