CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Temperature dependant mixed Boundary condition (

argonaut October 28, 2010 11:56

Temperature dependant mixed Boundary condition

I have a solid body, and I calculate temperature in it by laplacianFoam. One of its patches has boundary condition like this:

dT/dn + alpha(T) * (T-Tenv) = 0

where alpha(T) is non-linear function taking temperature on the surface as argument, but Tenv is a constant (temperature of environment)

By what means I can set such boundary condition in OpenFoam. I have found some threads about making my own BC already, but still I could not understand where I should start. Maybe there is a similar BC shipped with OpenFOAM, but I don't know. alpha(T) incorporates heat convection and heat radiation (and divided by conductivity of the material)


nimasam October 28, 2010 14:47

hi friend
are you familiar with groovyBC ? if not, search it in openFoam wiki
ur boundary condition is a combination fixedValue and fixedGradient and you can use this utility

argonaut February 15, 2011 12:02

Thanks for your advice, I have started to get into it. Although, it is not so easy to implement Robin boundary conditions as I expected. See, e.g. this post

All times are GMT -4. The time now is 07:50.