# how to define mean temperature in duct flow

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

 October 6, 2013, 01:57 how to define mean temperature in duct flow #1 Member   Arjang Behnoud Join Date: Oct 2012 Posts: 57 Rep Power: 4 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

 October 6, 2013, 07:33 #2 Senior Member     Mohsen KiaMansouri Join Date: Jan 2010 Location: CFD Lab Posts: 117 Rep Power: 7 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.”

 October 6, 2013, 09:58 #3 Member   Arjang Behnoud Join Date: Oct 2012 Posts: 57 Rep Power: 4 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

 October 6, 2013, 10:28 #4 Senior Member   Nima Sam Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,123 Blog Entries: 1 Rep Power: 14 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/)

 October 6, 2013, 11:00 #5 Super Moderator   Bruno Santos Join Date: Mar 2009 Location: Lisbon, Portugal Posts: 8,488 Blog Entries: 34 Rep Power: 86 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. __________________ OpenFOAM: Frequently Asked Questions | Useful links for building and using Forum: How to ask for help | Posting code and output with [CODE] My to-do list and when I'll be able to come to the forum: http://wyldckat.github.io And please: Read this before sending private messages to me

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Tobi OpenFOAM Programming & Development 502 July 23, 2015 21:14 Mihail CFX 7 September 7, 2014 06:27 immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27 Fan Main CFD Forum 10 September 9, 2006 12:24 zjm FLUENT 0 June 4, 2004 09:12

All times are GMT -4. The time now is 19:45.