|
[Sponsors] |
Temperature gradient difference between two zones |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2020, 04:34 |
Temperature gradient difference between two zones
|
#1 |
Senior Member
Arun raj.S
Join Date: Jul 2011
Posts: 194
Rep Power: 14 |
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. |
|
June 22, 2020, 04:42 |
Gradient
|
#2 |
Senior Member
|
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. |
|
June 22, 2020, 04:50 |
|
#3 |
Senior Member
Arun raj.S
Join Date: Jul 2011
Posts: 194
Rep Power: 14 |
Dear vinerm,
Thank you so much. This is what I was expecting. |
|
|
|
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 |