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

wallHeatTransferCoef in OpenFOAM6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2019, 14:59
Default wallHeatTransferCoef in OpenFOAM6
  #1
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 8
ErenC is on a distinguished road
Greetings!

I am trying to calculate nusselt number in buoyancy driven flow, I got no luck so far for runtime nusselt calculation( there are great resources in forums and chalmers but all of them are for different versions, or someone was using swak4foam which, I literally have no idea. So if anyone has knowledge on nussel calculation on OF6, I'll be glad.)


So, I gave up on run time calculation and use "#include wallHeatTransferCoef" in controlDict so I can calculate Nusselt number it on excel but wallHeatTransferCoeff gives values for all walls(it is a enclosure), so:

1) It gaves same value for all walls(and for all time steps), I doubt thats true, T is not really same and even min and max are the same! So I need to modify something but what? I couldn't find anything on user manual.

2) It is really annoying to process that data, is there any way to get that data for only one wall?

Thank you in advance,
Eren.

Last edited by ErenC; July 7, 2019 at 20:06.
ErenC is offline   Reply With Quote

Old   July 8, 2019, 11:47
Default
  #2
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 8
ErenC is on a distinguished road
I should probably add these. Last timestep calculations:
Code:
wallHeatTransferCoeff wallHeatTransferCoeff write:
    writing object wallHeatTransferCoeff
    min/max/integ(TWall) = 0.000637602, 0.000637602, 6.37602e-09
    min/max/integ(BWall) = 0.000637602, 0.000637602, 6.37602e-09
    min/max/integ(LWall) = 0.000637602, 0.000637602, 6.37602e-09
    min/max/integ(RWall) = 0.000637602, 0.000637602, 6.37602e-09
and system/wallHeatTransferCoeff:

type wallHeatTransferCoeff;
libs ("libfieldFunctionObjects.so");

rho 1.156;
Cp 3591;
Prl 6.12;
Prt 6.12;

executeControl writeTime;
writeControl writeTime;
ErenC is offline   Reply With Quote

Old   July 9, 2019, 07:45
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
You can use the 'patches' keyword to restrict the postprocessing to certain patches:

https://github.com/OpenFOAM/OpenFOAM...ransferCoeff.H
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 9, 2019, 15:41
Default
  #4
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 8
ErenC is on a distinguished road
Quote:
Originally Posted by akidess View Post
You can use the 'patches' keyword to restrict the postprocessing to certain patches:

https://github.com/OpenFOAM/OpenFOAM...ransferCoeff.H
Thank you! This will help me save a lot of time. So, any comment on why it gaves same value for all patches?
Left and Right walls are zeroGradient and high temperature BC applied from bottom, it is impossible to have same htcoeff at all patches.
ErenC 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
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 19:15
[OpenFOAM.org] Uninstall Openfoam6 kerim OpenFOAM Installation 4 May 22, 2020 00:07
[OpenFOAM.org] Offline installation of OpenFOAM6 on windows 10 m5m5kh OpenFOAM Installation 3 February 22, 2019 09:23
[OpenFOAM.org] E: can't find package openfoam6 marf OpenFOAM Installation 1 November 30, 2018 19:25
[OpenFOAM.org] Failed to install openfoam6 on Ubuntu 18.04.1 Gary OpenFOAM Installation 3 October 20, 2018 15:19


All times are GMT -4. The time now is 00:33.