# wallHeatFlux--how does it work?

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

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

Mike
Join Date: Jun 2012
Location: Wooster, OH
Posts: 5
Rep Power: 13
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, 50 views)

 July 24, 2012, 10:38 #2 New Member   Mike Join Date: Jun 2012 Location: Wooster, OH Posts: 5 Rep Power: 13 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, 15:57 #3 Senior Member     Marco A. Turcios Join Date: Mar 2009 Location: Vancouver, BC, Canada Posts: 739 Rep Power: 27 \$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, 05: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: 14 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!

 March 26, 2018, 08:49 #6 New Member   Bingchuan Join Date: Dec 2017 Posts: 16 Rep Power: 7 Have you solved this issue?

May 6, 2019, 03:18
#7
Member

Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 7
Quote:
 Originally Posted by manderson010 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. Thank you for your help! -Mike
Hi Mike,
You might solve this issue. Did you solve your problem? Have you validated your result? Could you please tell me how actually wallHeatFlux work? How to use this utility to calculate Nusselt number?

Cheers,
Razon

 Tags buoyantsimplefoam, heat flux, wallheatflux