CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Temperature gradient along wall (https://www.cfd-online.com/Forums/openfoam/90477-temperature-gradient-along-wall.html)

Radko July 11, 2011 17:03

Temperature gradient along wall
 
Hi,

What is the most straightforward way to set a temperature boundary condition for a wall, in which the temperature is a (linear) function of the distance in 1 direction? I would like to model a tube, in which the temperature is constant and gradually increases from T1 to T2 along its length.

Are groovyBC or swak4Foam needed to achieve this? If so, can someone post a simple example?

Thanks and best regards,

Radko

Bernhard July 12, 2011 02:02

GroovyBC or swak4Foam are indeed easy tools to achieve this. Examples can be found on the wiki.


All times are GMT -4. The time now is 17:53.