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

Temperature gradient difference between two zones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2020, 04:34
Default Temperature gradient difference between two zones
  #1
Senior Member
 
Arun raj.S
Join Date: Jul 2011
Posts: 194
Rep Power: 14
arunraj is on a distinguished road
Hello everyone,

I need to compute difference of temperature gradient between two zones and use it as source term. Kindly provide some idea how to implement it. I do know how to do for one zone. I know I can use this macro C_T_G(c,t)[1]. However, how to specify zone_ID for gradient.
arunraj is offline   Reply With Quote

Old   June 22, 2020, 04:42
Default Gradient
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Gradient is a field (2- or 3-D for Temperature) and not a single value. Hence, either both the zones should have some kind of mapping or you will have to use statistical values, such as, average or maximum or minimum.

The second argument to the macro C_T_G is referring to the cell zone ID. So, if there are two cell zones with IDs, say, 5 and 9, then you can write it as

Thread *tf = Loopup_Thread(Get_Domain(1),5);
Thread *ts = Loopup_Thread(Get_Domain(1),9);

And then use tf and ts as second arguments for C_T_G.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 22, 2020, 04:50
Default
  #3
Senior Member
 
Arun raj.S
Join Date: Jul 2011
Posts: 194
Rep Power: 14
arunraj is on a distinguished road
Dear vinerm,

Thank you so much. This is what I was expecting.
arunraj 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
Needt help about Soil Temperature Gradient Implementation berkmm FLUENT 14 May 7, 2020 16:40
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 14:42
Temperature gradient for the internal Field. Philipp Dietrich OpenFOAM Programming & Development 0 July 2, 2014 03:15
Temperature Gradient at Wall sven OpenFOAM 7 November 1, 2010 17:25
difference of temperature HKH FLUENT 0 January 28, 2010 02:45


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