CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Temperature dependant mixed Boundary condition (https://www.cfd-online.com/Forums/openfoam-pre-processing/81504-temperature-dependant-mixed-boundary-condition.html)

argonaut October 28, 2010 12:56

Temperature dependant mixed Boundary condition
 
Hello,

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)

Raimonds

nimasam October 28, 2010 15: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 16:52.