# UDF for heat transfer

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

 January 15, 2007, 01:56 UDF for heat transfer #1 ranjit Guest   Posts: n/a Can anyone help me with creating a udf for heat transfer between ice and air...Since this is the first time i am going to attempt writing a udf, even a basics help is welcome..

 January 15, 2007, 03:42 Re: UDF for heat transfer #2 ranjit Guest   Posts: n/a please someone atleast suggest the macros that can be used , the logic, etc , i just need something to build upon..

 January 15, 2007, 15:15 Re: UDF for heat transfer #3 Sujith S Nair Guest   Posts: n/a Are you simulating air flow over ice with ice as wall boundary condition. Then you can use a constant heat flux or a heat flux profile using DEFINE_PROFILE macro.May i know what is the exact physics in your model?

 January 16, 2007, 08:57 Re: UDF for heat transfer #4 ranjit Guest   Posts: n/a thanks for the response yeah basically my aim is to find the amount of chilling caused by airflow over ice. Actually an ice-water mixture is to flow inside a tube , and the air flows over the tube.. I need to find the amount of heat that the ice-water mixture can absorb. Can such a problem be done in multiphase flows in fluent without UDF?. As of now i am treating it as a convection problem between air and ice, bur dont know how to bring the latent heat of "melting of ice" into picture.. Thanks for the suggestion to use Heat flux macros, i ll look into it.. Do you have any idea how to formulate a governing equation for this.. Any help besides that is also welcome. Thanks!

 January 16, 2007, 10:26 Re: UDF for heat transfer #5 Venkatesh V Guest   Posts: n/a What is the size of ice particles interms of tube dia or volume fraction.

 January 16, 2007, 10:37 Re: UDF for heat transfer #6 ranjit Guest   Posts: n/a the volume fraction will be around 0.4 how is that going to help?

 January 16, 2007, 12:22 Re: UDF for heat transfer #7 Venkatesh V Guest   Posts: n/a I thought if volume fraction is low you can consider using DPM (Multiphase) and you can control the melting using UDF is needed.

 January 16, 2007, 21:18 Re: UDF for heat transfer #8 ranjit Guest   Posts: n/a @venkatesh but how to specify three different materials in fluent, ice , water and air. Also i thought multiphase in fluent is only for immiscible fluids, water and ice are miscible. What approach do you suggest

 January 17, 2007, 08:25 Re: UDF for heat transfer #9 ranjit Guest   Posts: n/a any further help please..

 January 17, 2007, 09:53 Re: UDF for heat transfer #10 Hugo Guest   Posts: n/a Hi. Is this a steady state problem? is the ice/water mixture flowing down the tube? Is the amaount of heat exchanged actually melting the ice? Options: - a domain of only air and a solid tube. Define specific heat of tube to be temperature dependant, with very very high value (2.27 MJ/kg/K) in the range 272.5

 January 17, 2007, 11:40 Re: UDF for heat transfer #11 ranjit Guest   Posts: n/a Thanks, will give it a try surely... is it sufficient to give the define_property macros alone? i am new to writing UDF's

 January 18, 2007, 05:34 Re: UDF for heat transfer #12 Hugo Guest   Posts: n/a Sorry, me last message was truncated - I was going to say have variable heat capacity, with a value of 2.27 MJ/kg/K in the range 272.5 < T < 273.5, following the format in example 1 in 4.3.14 of UDF manual, using DEFINE_PROPERTY macro: DEFINE_PROPERTY(cell_viscosity,c,t) { real mu_lam; real temp = C_T(c,t); if (temp > 288.) mu_lam = 5.5e-3; else if (temp > 286.) mu_lam = 143.2135 - 0.49725 * temp; else mu_lam = 1.; return mu_lam; } obviously you'll have to change it to specific heat capacity. Not sure I understood you question " is it sufficient to give the define_property macros alone?" - could you give more details? Hugo.

 January 18, 2007, 10:43 Re: UDF for heat transfer #13 ranjit Guest   Posts: n/a thanks for the reply, but in the same documentation, if you scroll up its given that "specific heat values can only be read and not assigned in fluent".. does that make this method ineffective?

 January 18, 2007, 11:36 Re: UDF for heat transfer #14 Sujith Guest   Posts: n/a ya... in Fluent specific heat cannot be specfied through a UDF, But you can give a temperature dependant polynonial/piecewise polynomial using the options availble in the Materials panel. --sujith

 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 kim FLUENT 3 October 26, 2011 21:38 fullmonty FLUENT 5 June 30, 2011 02:40 Anirudh_Deodhar FLUENT 0 February 7, 2011 16:10 S.Whitney FLUENT 0 October 15, 2007 11:29 Mark CFX 6 November 15, 2004 16:55

All times are GMT -4. The time now is 16:43.