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

how to define mean temperature in duct flow

Register Blogs Members List Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools 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: 57
Rep Power: 4
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: 7
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: 57
Rep Power: 4
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,124
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
may be you can use paraview programmable filter to do those instructions in a loop
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   October 6, 2013, 11:00
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

Have a look at this thread: Monitoring boundaries in OpenFOAM - 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

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
libOpenSMOKE Tobi OpenFOAM Programming & Development 502 July 23, 2015 21:14
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 02: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:51.