# wallHeatFlux--how does it work?

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

July 17, 2012, 16:17
wallHeatFlux--how does it work?
#1
New Member

Mike
Join Date: Jun 2012
Location: Wooster, OH
Posts: 5
Rep Power: 5
Dear Foamers,

I am new to OpenFOAM and am currently using buoyantSimpleFoam to simulate heat loss through the walls of a channel. This is a 2D simulation right now with the geometry having a width of 5cm and a length of 16m. The airspeed is 16.32m/s and starts at 292K, and the walls are at 278K with U-values of 6.246 W/m^2/K.

First, I attempted to solve the problem analytically, assuming that the air was well-mixed across the width of the channel. I also assumed that the heat transfer coefficient was 8x higher than the U-value due to convective heat transfer. I was able to obtain a value for the heat flux through the walls from this.

Second, I set up the attached simulation for the the buoyantSimpleFoams solver. Then I used the wallHeatFlux utility to find the total heat flux through the walls.

Problem: the two different values I found for the heat flux through the walls (analytical and simulated) are off by an order of magnitude. At first I thought this was merely due to my assumption of a high convective heat transfer coefficient, but when I adjusted my analytical solution for this, my answers were still not close enough to say that the error was only due to the well-mixed cross-section assumption.

Does someone know how the wallHeatFlux utility works? I think I may be using it wrong or wrongly comparing it to the analytical answer I've gotten. The other possibilities are that I set up the simulation wrong (boundaries or thermophysical properties may be incorrect) or that I completely failed at obtaining an analytical solution. Even if it is the latter, I'd like to find out how the wallHeatFlux utility works so I might fix my heat flux calculation accordingly.

-Mike
Attached Files
 channelHeatLoss.tar.gz (3.6 KB, 33 views)

 July 24, 2012, 09:38 #2 New Member   Mike Join Date: Jun 2012 Location: Wooster, OH Posts: 5 Rep Power: 5 If someone could point me to where the source files should be, that would be great. I'm a windows person and am having trouble finding them on my virtual ubuntu machine.

 July 24, 2012, 14:57 #3 Senior Member     Marco A. Turcios Join Date: Mar 2009 Location: Vancouver, BC, Canada Posts: 725 Rep Power: 18 \$FOAM_UTILITIES/postProcessing/wall/wallHeatFlux is where you can find the source code. In general: \$FOAM_UTILITIES, \$FOAM_SRC, \$FOAM_SOLVERS are the starting directories, and everything is organized hierachically. It is also beneficial to use the doxygen documentation. If you don't want to compile your own, use the online version: http://www.openfoam.org/docs/cpp/

 August 21, 2012, 04:07 #4 New Member   Join Date: May 2012 Posts: 2 Rep Power: 0 The alphaWall you are using as U, is it the thermal transmission coefficient for wall-fluid? You have to be careful, if alphaWall is used for fluid-wall-fluid. Because that is how I would interpret it. Tinf would be the temperature on the other side of the wall (t infinite). http://de.wikipedia.org/wiki/W%C3%A4rmedurchgang

 December 19, 2013, 10:47 wallHeatFlux & wallHeatFluxIncompr: example? #5 New Member   ae-lab VUB Join Date: Oct 2011 Posts: 17 Rep Power: 5 hi Is there a example/tutorial on how to use the wallHeatFlux utility? What should be included in the wallHeatFluxDict? Maybe somebody who already used it on a simple case? Thx!

 Tags buoyantsimplefoam, heat flux, wallheatflux

 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 Martin CD-adapco 2 February 25, 2009 14:23 shaun OpenFOAM Installation 12 March 23, 2007 09:55 aero CD-adapco 3 November 23, 2006 08:43 Alumna Phoenics 6 June 22, 2004 12:08 green Phoenics 2 May 27, 2004 21:03

All times are GMT -4. The time now is 17:15.