CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for defining granular viscosity in mixture model

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

LinkBack Thread Tools Display Modes
Old   March 25, 2010, 13:32
Default UDF for defining granular viscosity in mixture model
New Member
Join Date: Mar 2010
Posts: 7
Rep Power: 9
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);
return mu;

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

priyanka.asp is offline   Reply With Quote

Old   May 21, 2017, 12:42
New Member
Sahar Ahsaas
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Siddiqui is on a distinguished road
I think you need to use DEFINE_ADJUST macros to modify the volume fraction using C_VOF(cell,thread)*constant; save this in user defined memory then use this User defined memory in DEFINE_PROPERTY macro like mu=C_UDMI(cell,thread,i).
Siddiqui is offline   Reply With Quote


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
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 14:50.