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: 234
Rep Power: 8
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: 633
Rep Power: 14
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: 145
Rep Power: 9
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: 234
Rep Power: 8
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: 145
Rep Power: 9
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

Old   February 16, 2016, 16:13
Default
  #6
New Member
 
amin ghaemian
Join Date: Nov 2015
Posts: 1
Rep Power: 0
amin_ghaemian is on a distinguished road
C_T_G is used for compiling gradient over cells... but we need to calculate gradient over face thread!!!!!!!
so what we must to do???????
amin_ghaemian is offline   Reply With Quote

Old   February 25, 2016, 08:03
Default Temporal temperature derivative mass transfer udf
  #7
New Member
 
Larry Lekwana
Join Date: Feb 2016
Posts: 1
Rep Power: 0
larry_lekwana is on a distinguished road
Hi guys,

I am modelling a solid biomass combustion system using a transient, Eulerian multi-phase model in conjunction with a species transport model. I need to write a DEFINE_MASS_TRANSFER udf in order to determine the thermally driven rate of drying of the solid fuel. This requires the the determination of the time derivative of the particle temperature, which I do not know how to code. Please can someone help?

Thank you guys in advance for your assistance.
larry_lekwana 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 09:10.