CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF for temperature gradient

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2013, 01:52
Default UDF for temperature gradient
  #1
Senior Member
 
Join Date: Jan 2011
Posts: 163
Rep Power: 6
mariam.sara is on a distinguished road
I have wall i need to apply the current equation as boundary to it:

k*dT/dy=dT/dy

where k thermal conductivity
T local temperature

how i can add it please ? did i need a UDF for it?
mariam.sara is offline   Reply With Quote

Old   March 25, 2013, 06:36
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 544
Rep Power: 12
vasava will become famous soon enough
Yes you do need UDF. I think you could use the 'DEFINE PROFILE' macro.
vasava is offline   Reply With Quote

Old   March 26, 2013, 02:27
Default
  #3
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
Hi

You need to use DEFINE_ADJUST function to set C_T_G as zero on the wall of your interest which is called using LOOK_UP_THREAD.

Best wishes.
Mvee
mvee is offline   Reply With Quote

Old   March 26, 2013, 16:00
Default
  #4
Senior Member
 
Join Date: Jan 2011
Posts: 163
Rep Power: 6
mariam.sara is on a distinguished road
what did you mean with C_T_G? can you write me the term and post me it here?

Quote:
Originally Posted by mvee View Post
Hi

You need to use DEFINE_ADJUST function to set C_T_G as zero on the wall of your interest which is called using LOOK_UP_THREAD.

Best wishes.
Mvee
mariam.sara is offline   Reply With Quote

Old   March 28, 2013, 00:02
Default
  #5
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
C_T_G() - temperature gradient stored at cell locations. Please refer UDF manual.
mvee is offline   Reply With Quote

Reply

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
The gradient of void fraction in UDF summer FLUENT 2 May 20, 2011 03:34
UDF temp gradient tutotial tejasvikrishna FLUENT 0 April 4, 2011 11:10
UDF sample for velocity gradient J.Y.Shin FLUENT 2 January 19, 2007 19:04
Gradient in UDF summer FLUENT 0 September 1, 2006 13:50
Wall shear stress gradient udf Andrew FLUENT 0 March 8, 2006 23:19


All times are GMT -4. The time now is 20:01.