CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Error in heatTransferCoeff

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2023, 06:57
Default Error in heatTransferCoeff
  #1
TGS
New Member
 
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 28
Rep Power: 3
TGS is on a distinguished road
Hi,


I want to find the heat transfer coefficient and to calculate that, I used the heatTransferCoeff as the function type in my control dict. However, when I run it with ChtMultiRegionFoam it gave me an error by saying that the heatTransferCoeff function is not available and only available is wallHeatTransferCoeff. However, the wallHeatTransferCoeff function is only working with the Reynolds analogy type. But I want to use the heat transfer coefficient with the fixed reference temperature. Therefore, is there anyway that I can use wallHeatTransferCoeff with fixed reference temperature ?


Many thanks in advance.


TGS

Last edited by TGS; June 21, 2023 at 10:02.
TGS is offline   Reply With Quote

Old   June 21, 2023, 19:20
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,704
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Check that you have the right version of foam. Any version that has heatTransferCoef will also not have wallHeatTransferCoef


You have to calculate it yourself. Use wallHeatFlux together with T and setFields or compile your own heatTransferCoef library (copy and paste the code and build it on your version).
LuckyTran is offline   Reply With Quote

Old   July 18, 2023, 05:24
Default
  #3
TGS
New Member
 
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 28
Rep Power: 3
TGS is on a distinguished road
Hi Tran,

Thank you very much for your advise. Could you please let me know if possible, what is the mathematical equation which is associated with wallHeatFlux equation? Is that the equation calculate the total heat flux values on the total surface ? I mean all cells in that surface?

Thanks.

TGS
TGS is offline   Reply With Quote

Old   July 18, 2023, 08:08
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,704
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I will do you one better and tell you that you can find the code for all all of them in
src/functionObjects/field/
LuckyTran is offline   Reply With Quote

Reply

Tags
chtmulitregionfoam, heat and mass transfer


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
heatTransferCoeff Openfoam usage for internalMesh and not patches huizju OpenFOAM Running, Solving & CFD 0 July 11, 2020 11:08
Post-processing with heatTransferCoeff function nusivares OpenFOAM 4 October 4, 2018 08:30


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