CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

udf define property on a wall surface

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

LinkBack Thread Tools Display Modes
Old   September 16, 2009, 16:09
Question udf define property on a wall surface
New Member
Join Date: Aug 2009
Posts: 6
Rep Power: 10
bzhu is on a distinguished road
I need to define aborption coefficient as a function of position x on a wall surface (pipe). FLUENT didn't seen to render it even though it could interprete. What could it be wrong? Couldn't fluent render udf on a surface? Thanks!

Here's my code:

DEFINE_PROPERTY(absorption_coefficient, c, t)
real abs_coeff;
real x[ND_ND];
if (x[0] > 0 && x[0] < 0.2)
abs_coeff = 593.9187;
elseif (x[0] > 0 && x[0] < 0.2)
abs_coeff = 197.6521;
elseif (x[0] > 0 && x[0] < 0.2)
abs_coeff = 177.0521;
elseif (x[0] > 0 && x[0] < 0.2)
abs_coeff = 140.5854;
abs_coeff = 140.5854;
"Abs coefficient for this cell %e = %e", x[0],abs_coeff);
return abs_coeff;
bzhu is offline   Reply With Quote

Old   November 27, 2011, 12:10
Default udf
New Member
Join Date: Jun 2011
Posts: 7
Rep Power: 8
arashoil is on a distinguished road

can i modelling asphaltene precipitation that exist in crude oil by uusing ceramic filter monolit by defult formolation in fluent?

i want to modelling separation of asphaltene from crude oil by 19-channel ceramic filter,but i think it is not define in FLUENT that precipitate asphaltene on surface of ceramic channel base on diffrences between pore size.

i must write UDF for this porpuse or not?

most of oil flow must pass through the membrane wall and most of asphaltene must form a gel-layer and precipitation on inner surface od channel.

please help me as soon as possible

thank you so much
arashoil 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
UDF for slip and moving wall lichun Dong FLUENT 3 March 26, 2014 05:37
Wall motion as a UDF, is it possible? linch FLUENT 1 August 31, 2009 09:18
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
UDF to monitor minimum pressure on the wall Arvind Jayaprakash FLUENT 0 September 20, 2007 11:53
How to use UDF to define a moving wall lingo FLUENT 4 April 14, 2004 04:14

All times are GMT -4. The time now is 00:39.