CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   wall tangential temperature gradient (https://www.cfd-online.com/Forums/openfoam-solving/117394-wall-tangential-temperature-gradient.html)

apatronis May 7, 2013 18:33

wall tangential temperature gradient
 
Hi all,

Does anyone know how to apply a temperature gradient along the walls of a simple channel (so wall temperature varies in the streamwise direction). I'm looking at using rhoCentralFoam to simulate a surface temperature gradient driven gas flow. Can I manage this with groovyBC?

Thanks

fredo490 May 8, 2013 03:53

What you want is a boundary condition with a variable value depending of the position ?

I don't know if OF has a derived boundary able to do this. Usually people use the "swak4foam" library to perform this kind of special boundary. You can use the groovyBC, google will help you.



The official website is here : http://openfoamwiki.net/index.php/Contrib/swak4Foam
And an example is here : http://openfoamwiki.net/index.php/Contrib_groovyBC

apatronis May 8, 2013 07:23

Thanks Frédéric.


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