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

wallHeatFlux--how does it work?

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

Like Tree1Likes
  • 1 Post By manderson010

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2012, 16:17
Default wallHeatFlux--how does it work?
  #1
New Member
 
Mike
Join Date: Jun 2012
Location: Wooster, OH
Posts: 5
Rep Power: 14
manderson010 is on a distinguished road
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
Attached Files
File Type: gz channelHeatLoss.tar.gz (3.6 KB, 50 views)
Mehdi04 likes this.
manderson010 is offline   Reply With Quote

Old   July 24, 2012, 09:38
Default
  #2
New Member
 
Mike
Join Date: Jun 2012
Location: Wooster, OH
Posts: 5
Rep Power: 14
manderson010 is on a distinguished road
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.
manderson010 is offline   Reply With Quote

Old   July 24, 2012, 14:57
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
$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/
mturcios777 is offline   Reply With Quote

Old   August 21, 2012, 04:07
Default
  #4
New Member
 
Join Date: May 2012
Posts: 2
Rep Power: 0
samdo is on a distinguished road
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
samdo is offline   Reply With Quote

Old   December 19, 2013, 09:47
Default wallHeatFlux & wallHeatFluxIncompr: example?
  #5
New Member
 
ae-lab VUB
Join Date: Oct 2011
Posts: 17
Rep Power: 15
aevub is on a distinguished road
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!
aevub is offline   Reply With Quote

Old   March 26, 2018, 07:49
Default
  #6
New Member
 
Bingchuan
Join Date: Dec 2017
Posts: 16
Rep Power: 8
bingchuan is on a distinguished road
Have you solved this issue?
bingchuan is offline   Reply With Quote

Old   May 6, 2019, 02:18
Default
  #7
Member
 
Mondal131211's Avatar
 
Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 8
Mondal131211 is on a distinguished road
Quote:
Originally Posted by manderson010 View Post
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
Mondal131211 is offline   Reply With Quote

Reply

Tags
buoyantsimplefoam, heat flux, wallheatflux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to work with constant pressure? Martin Siemens 2 February 25, 2009 13:23
Getting FoamX to work shaun OpenFOAM Installation 12 March 23, 2007 08:55
work related to brake study of a vehical aero Siemens 3 November 23, 2006 07:43
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 08:25.