CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Fixed Temperature vs. fixed heat flux | buoyantCavity case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2023, 05:52
Default Fixed Temperature vs. fixed heat flux | buoyantCavity case
  #1
Member
 
Zeinab
Join Date: Feb 2023
Posts: 32
Rep Power: 3
Zena27 is on a distinguished road
Hi foamers,

I am working with buoyantSimpleFoam on the buoyant cavity case. I worked out the tutorial with cold and hot walls with temp diff = 19.6 Celsius. Currently,

I want to replicate the same case but with fixedGradient BC, i.e., heatFlux in and heat flux out instead of hot and cold walls. Any idea about how should be the value of the gradient to impose?

I tried calculating the average gradient on the hot and cold walls from buoyantCavity case, but it wasn't representative at all.

Thank you!

Regards,
Zena
Zena27 is offline   Reply With Quote

Old   February 22, 2023, 08:23
Default
  #2
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
Hi, i recently started using the same solver and tried the fixedGradient as well as the externalWallheatfluxTemperature BC. The later has the advantage that you choose between flux and power.
Both work fine.
If you use the fixedGradient you can get the desired heat flux [w/m^2] by dividing the desired heat flux by the thermal conductivity of the material. For example i wanted to have a heat flux of 1000 w/m^2 so i divided 1000 by 0,607 the thermal conductivity of water at initial temperature and got 1647,44. That value was the fixed gradient.

Hope this helps
Hr_kules is offline   Reply With Quote

Old   February 22, 2023, 09:15
Default
  #3
Member
 
Zeinab
Join Date: Feb 2023
Posts: 32
Rep Power: 3
Zena27 is on a distinguished road
Hello,
I got what you say but I still have a question.

How to replicate the fixedTemperature case entirely with heatflux / fixedGradient BCs ?

In other words how to choose the heat flux in/out value?

I tried getting the temperature gradient on the hot and cold walls using OpenFOAM (grad) functionObject, and then took the weighted average of the gradient on each wall using paraview. When I used this gradient as BC in the fixedGradient case, it didn't give the same result.

Thank you
Zena27 is offline   Reply With Quote

Old   February 22, 2023, 09:18
Default
  #4
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
Have you tried wallHeatFlux functionobject? it usually just prints out the heat flux, you can "measure" it and then use it again in a externalWallHeatFluxTemperature BC and check if is the same.
Hr_kules is offline   Reply With Quote

Old   February 22, 2023, 10:16
Default
  #5
Member
 
Zeinab
Join Date: Feb 2023
Posts: 32
Rep Power: 3
Zena27 is on a distinguished road
Hi,
I have just tried the walHeatFlux functionObject along with the externalWallHeatFluxTemperature.

The results of the fixedGradient case and the externalWallFlux case matched but they didn't match with the original buoyantCavity case of fixedTemperature BC.

Is this originally a reasonable comparison?
Zena27 is offline   Reply With Quote

Reply


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
strange extreme low radiation heat flux on fixed Temperature surface fxzf OpenFOAM Running, Solving & CFD 0 March 7, 2018 17:09
Wall Heat Flux & Temperature Greg Perkins FLUENT 10 November 20, 2015 10:32
Non-constant heat flux (as a function of wall temperature)) Laplace CFX 1 February 23, 2014 17:56
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
UDF for heat convection coefficient with fixed surface temperature Boo85 Fluent UDF and Scheme Programming 2 July 10, 2012 19:43


All times are GMT -4. The time now is 21:11.