|
[Sponsors] |
June 21, 2023, 07:57 |
Error in heatTransferCoeff
|
#1 |
New Member
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 29
Rep Power: 3 |
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 11:02. |
|
June 21, 2023, 20:20 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
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). |
|
July 18, 2023, 06:24 |
|
#3 |
New Member
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 29
Rep Power: 3 |
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 |
|
July 18, 2023, 09:08 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
I will do you one better and tell you that you can find the code for all all of them in
src/functionObjects/field/ |
|
Tags |
chtmulitregionfoam, heat and mass transfer |
|
|
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 12:08 |
Post-processing with heatTransferCoeff function | nusivares | OpenFOAM | 4 | October 4, 2018 09:30 |