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

third-type temperature BC - outside convection boundary condition with interTempFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2016, 12:53
Default third-type temperature BC - outside convection boundary condition with interTempFoam
  #1
Pay
New Member
 
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11
Pay is on a distinguished road
Hello Foamers,

who knows a good way to apply the temperature-BC for (natural) convection at the outside of a boundary?
It is known that for first-type (dirichlet) and second-type (neumann) BC there are fixedValue and fixedGradient BC in vanilla openFOAM. However there is no third-type BC available to my knowledge, which I want to apply using the outside temperature (e.g. "T_sur") and a heat transfer coefficient (e.g. "h_sur").
What makes it difficult is, that I am investigating a non-isothermal two phase flow. For that I use the self-compiled solver interTempFoam (its "making off" has been covered in my other thread).
Also the BC is required to take into account that the fluid properties at the boundary are not constant due to the presence of two different phases (air or water).

First I was thinking about the BC "externalWallHeatFluxTemperature". Though I got to the conclusion that this BC is specifically applicable with the solvers chtMultiRegionFoam and chtMultiRegionSimpleFoam.
Pay is offline   Reply With Quote

Old   September 26, 2016, 15:39
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
You already found the best boundary condition to use. I am not sure if you need to modify it to use with your solver, but from my point of view that can be easily achieved. You could of course program your own boundary condition from scratch with ease. Simply use a fixedValue boundary condition. And use deltaCoeffs to add the gradient part by approximating it with the value of the next cell. This is in fact how all robin type boundaries within openfoam work.
Bloerb is offline   Reply With Quote

Old   September 27, 2016, 04:07
Default
  #3
Pay
New Member
 
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11
Pay is on a distinguished road
thanks for your quick reply

I already tried to apply "externalWallHeatFluxTemperature". It was not working because I wasn't able to supply the value of kappa properly, which I tried in several ways. My guess was that the BC looks up kappa in a way that is only compatible with the folder structure of a multiRegion case (see tutorial multiRegionHeater in OF 2.3), which I can't imitate due to my case being an interFoam case.

I wanted to evade programming a BC because I have never done it and timewise I am strongly limited, so that I won't be able to work into that.
Pay is offline   Reply With Quote

Old   September 27, 2016, 04:55
Default
  #4
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
Try kappa lookup and kappaName = whatever interFoam uses. Probably something like the alphaEff field.
Bloerb is offline   Reply With Quote

Old   September 27, 2016, 06:17
Default
  #5
Pay
New Member
 
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11
Pay is on a distinguished road
I tried everyone of the 4 possible keywords in conjunction with supplying kappa as an additional entry in transportProperties as well as an added thermophysicalProperties file taken from a working multiRegionFoam case. Also supplying the files thermophysicalProperties.air and thermophysicalProperties.water didn't lead to the solver finding kappa in any event.
That's why I think, that the "externalWallHeatFluxTemperature" BC only works with the multiRegionFoam solver group.
Pay 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Boundary Conditions MtnRunBeachBum OpenFOAM Pre-Processing 1 April 30, 2015 17:33


All times are GMT -4. The time now is 23:54.