udf define property on a wall surface

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

 September 16, 2009, 16:09 udf define property on a wall surface #1 New Member   beibei Join Date: Aug 2009 Posts: 6 Rep Power: 9 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: #include"udf.h" DEFINE_PROPERTY(absorption_coefficient, c, t) { real abs_coeff; real x[ND_ND]; C_CENTROID(x,c,t); 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; else abs_coeff = 140.5854; Message("Abs coefficient for this cell %e = %e", x[0],abs_coeff); return abs_coeff; }

 November 27, 2011, 12:10 udf #2 New Member   arash Join Date: Jun 2011 Posts: 7 Rep Power: 7 hi, 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

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post lichun Dong FLUENT 3 March 26, 2014 05:37 linch FLUENT 1 August 31, 2009 09:18 Travis FLUENT 4 January 15, 2009 12:48 Arvind Jayaprakash FLUENT 0 September 20, 2007 11:53 lingo FLUENT 4 April 14, 2004 04:14

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