# UDF for linear temperature profile on horizontal parallel surfaces.

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

February 4, 2012, 01:44
UDF for linear temperature profile on horizontal parallel surfaces.
#1
New Member

Chirag
Join Date: Feb 2012
Posts: 18
Rep Power: 6
Hello,
I am analyzing the thermoacoustic heat engine.For that, I need to give linear temperature profile on parallel horizontal surfaces whose length are 10mm and thickness of stack plate is 0.5 mm and gap between plates are also 0.5mm. I have gone through the UDF manual of Fluent and found that I need to use DEFINE_PROFILE and F_PROFILE but not able to write UDF.

I have given schematic sketch below.(It is sketch not according to the scale.)

As shown in the above fig.,origin is shown as (0,0), there are 12 parallel plates of length 10 mm having thickness 0.5mm and gap between them is also 0.5mm and whose hot ends are at 587 K and cold ends are at 300 K and horizontal surfaces are required to give linear temperature profile.

Equation for that is: T= ((- 28700 * x)+ 1448) Kelvin

Anyone can help me to write UDF.

Thank you............

Chirag.
Attached Images
 CFD fig.jpg (85.8 KB, 28 views)

February 11, 2012, 09:45
#2
Senior Member

Join Date: Jun 2011
Posts: 121
Rep Power: 7
Quote:
 Originally Posted by Chirag2302 Hello, I am analyzing the thermoacoustic heat engine.For that, I need to give linear temperature profile on parallel horizontal surfaces whose length are 10mm and thickness of stack plate is 0.5 mm and gap between plates are also 0.5mm. I have gone through the UDF manual of Fluent and found that I need to use DEFINE_PROFILE and F_PROFILE but not able to write UDF. I have given schematic sketch below.(It is sketch not according to the scale.) As shown in the above fig.,origin is shown as (0,0), there are 12 parallel plates of length 10 mm having thickness 0.5mm and gap between them is also 0.5mm and whose hot ends are at 587 K and cold ends are at 300 K and horizontal surfaces are required to give linear temperature profile. Equation for that is: T= ((- 28700 * x)+ 1448) Kelvin Anyone can help me to write UDF. Thank you............ Chirag.

See the post below:

http://cape-forum.com/index.php/topic,3.0.html

You will need to define the UDF under define_profile macro.

 Tags udf for temp. profile

 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 dolores FLUENT 6 August 5, 2016 20:16 Zaqie Fluent UDF and Scheme Programming 9 June 25, 2016 19:08 mohammadkm Fluent UDF and Scheme Programming 19 December 24, 2013 23:42 Raj FLUENT 3 February 1, 2009 19:29 sivakumar FLUENT 5 November 24, 2002 01:58

All times are GMT -4. The time now is 19:38.