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

udf for heatflux to be applied on a horizontal plate

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

Like Tree1Likes
  • 1 Post By ghost82

LinkBack Thread Tools Display Modes
Old   March 22, 2014, 09:36
Default udf for heatflux to be applied on a horizontal plate
New Member
Join Date: Mar 2014
Posts: 1
Rep Power: 0
vipinmace is on a distinguished road
hi friends
i need a little favour asap.I've to apply a heat flux equation on the top edge of a horizontal plate(50 micro m * 50 micro m ) . I'm really new to fluent as i was working on APDL.I find it difficult to apply this function in APDL so i'm trying FLUENT . THIS IS MY PROBLEM

from starting of the edge ,up to a length of 20 micro meter , heat flux is
4.41 * e^(x^2 ) , where x represents length along the edge.
Then from 20 micrometer on wards upto the end of the edge equation is h*(T - 298 ), where h is constant and T is the temperature at the end of each iteration .

Please help me on this.
vipinmace is offline   Reply With Quote

Old   March 23, 2014, 15:53
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 389
Rep Power: 11
macfly is on a distinguished road

I only have a partial answer.

What you need is a DEFINE_PROFILE macro, see the Ansys Fluent UDF Manual 15.0: Section Example 1 - Pressure Profile. It's a straightforward example showing how you can apply a position-dependent profile.

The problem in your case is that you want to define a heat flux boundary condition when x <= 20 µm, and a convection boundary condition elsewhere. I'm not sure if you can do that. Maybe someone else can help you with that.
macfly is offline   Reply With Quote

Old   March 24, 2014, 06:40
Senior Member
ghost82's Avatar
Join Date: Oct 2010
Location: Italy
Posts: 1,003
Rep Power: 19
ghost82 will become famous soon enough
You can do it, use define_profile as macfly suggested.
You have to work in pre-processing; if you want to apply 2 different boundary conditions on the top edge, simply split the top edge into two parts and assign 2 different names for that walls; then in fluent you will assign the udf for heat flux f(x) to one wall and the other boundary condition to the second one.

macfly likes this.
ghost82 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
FSI oscillating plate spatialtime CFX 4 April 29, 2009 15:04
heat transfer on dimpled plate mech FLUENT 4 February 6, 2007 16:15
UDF for heat flux applied during T seconds nazeem FLUENT 0 June 22, 2004 05:26
UDF for a heat flux applied during T second on a w nazeem FLUENT 0 June 12, 2004 10:28
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 18:23

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