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

UDF for temperature gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2013, 00:52
Default UDF for temperature gradient
  #1
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
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, 05:36
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
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, 01:27
Default
  #3
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
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, 15:00
Default
  #4
Senior Member
 
Join Date: Jan 2011
Posts: 339
Rep Power: 16
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 27, 2013, 23:02
Default
  #5
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
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, 15: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, 07: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

Old   March 7, 2018, 10:57
Default
  #8
Member
 
Join Date: Nov 2017
Posts: 54
Rep Power: 8
Saman95 is on a distinguished road
Quote:
Originally Posted by amin_ghaemian View Post
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???????
hello i have same problem

What did u do for this?

please help me

thanks
Saman95 is offline   Reply With Quote

Old   March 7, 2018, 21:01
Default
  #9
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
mvee is on a distinguished road
Find out the cell temperature on left and right side of the face. Take difference and divide by its distance. You will need faceloop and cell loop. Hope this helps.
mvee is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wall shear stress gradient udf Andrew FLUENT 3 April 4, 2018 01:36
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 18:04
Gradient in UDF summer FLUENT 0 September 1, 2006 13:50


All times are GMT -4. The time now is 07:36.