|
[Sponsors] |
third-type temperature BC - outside convection boundary condition with interTempFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2016, 12:53 |
third-type temperature BC - outside convection boundary condition with interTempFoam
|
#1 |
New Member
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11 |
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. |
|
September 26, 2016, 15:39 |
|
#2 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
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.
|
|
September 27, 2016, 04:07 |
|
#3 |
New Member
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11 |
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. |
|
September 27, 2016, 04:55 |
|
#4 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
Try kappa lookup and kappaName = whatever interFoam uses. Probably something like the alphaEff field.
|
|
September 27, 2016, 06:17 |
|
#5 |
New Member
Perry Uhlig
Join Date: Oct 2015
Location: Germany
Posts: 13
Rep Power: 11 |
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. |
|
|
|
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 |