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

UDF for defining granular viscosity in mixture model

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 25, 2010, 13:32
Default UDF for defining granular viscosity in mixture model
  #1
New Member
 
Join Date: Mar 2010
Posts: 7
Rep Power: 8
priyanka.asp is on a distinguished road
Hello all,

I am new to fluent and I want to use a UDF for defining the granualar viscosity of the secondary phase in the mixture model :
mu= -0.188 + 537.42*Volume fraction.

I had written the follwoing UDF.

#include "udf.h"
DEFINE_PROPERTY(solid_viscosity,cell, thread)
{
real mu;
real vf=C_T(cell,thread);
mu=-0.188+537.42*vf;
return mu;
}

This is correct? And how can I use this in my case. Can anyone help?

Thanks
priyanka.asp 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
How to include lift forces/wall lubrication forces in the MIXTURE multiphase model? hohomm FLUENT 0 December 17, 2009 06:45
MULTIPHASE - FREE SURFACE & MIXTURE MODEL Aris FLUENT 3 April 28, 2009 11:46
air and water vapour mixture - multiphase model Saba FLUENT 0 February 10, 2009 13:05
Momentum equation used by mixture model George FLUENT 0 May 19, 2005 13:07
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 13:54.