CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

how to define mean temperature in duct flow

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By cfdonline2mohsen
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2013, 01:57
Default how to define mean temperature in duct flow
  #1
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
Hi Dear All

for calculating h(convective heat transfer coefficient) I need to calculate mean temperature(bulk temperature) at each section of flow because my case is forced convective duct(internal) flow.

I can use patchAverage utility to define mean temperature but my problem is that I don't know how should I define patches through flow(i mean between inlet and outlet patches)

is there any other way to define mean temperature without defining patches?

do you have any idea?

thanks.
Arjang
AmirBaqa1987 is offline   Reply With Quote

Old   October 6, 2013, 07:33
Default
  #2
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
cfdonline2mohsen is on a distinguished road
You can use Paraview for this purpose.
define your arbitrary slice and calculate the mean temperature on this slice.
see the following post for more info: #8
AmirBaqa1987 likes this.
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.”
cfdonline2mohsen is offline   Reply With Quote

Old   October 6, 2013, 09:58
Default
  #3
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
first thanks for your reply

in this way I think I should do this procedure 150 times because I want to calculate mean temperature along the axial direction of pipe at 150 different positions ( I've discrete length of pipe into 150 steps) .

can't we write a code to do this?

best regards
arjang
AmirBaqa1987 is offline   Reply With Quote

Old   October 6, 2013, 10:28
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
may be you can use paraview programmable filter to do those instructions in a loop
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   October 6, 2013, 11:00
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Have a look at this thread: http://www.cfd-online.com/Forums/ope...tml#post422561 - it shows a few examples on how to do this directly with OpenFOAM while the simulation is running.

Best regards,
Bruno
cfdonline2mohsen likes this.
__________________
wyldckat 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
[openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 562 January 25, 2023 09:21
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
sos! How to define the flow rate of outflow BC? zjm FLUENT 0 June 4, 2004 09:12


All times are GMT -4. The time now is 11:30.