CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary condition for temperature (http://www.cfd-online.com/Forums/openfoam-pre-processing/118464-boundary-condition-temperature.html)

Nico A. May 28, 2013 08:10

Boundary condition for temperature
 
Dear FOAMers,

I want to create a wall boundary with a tempeature profile along the wall. It just to be a linear function, something like:

T (x1) = T1, T (x2) = T2 -> T (x) = m*x + n

Is there a suitable BC for that available in OF 2.2.0?

Thanks in advance for any idea.

Best regards, Nico

Nico A. May 28, 2013 10:07

OK, I just solved it by mapping nonuniform values from a coarse mesh . That should work for the first time.

ngj May 28, 2013 10:12

Hi Nico,

Then I suppose that you would greatly benefit from looking into swak4Foam:

Code:

http://openfoamwiki.net/index.php/Contrib/swak4Foam
Kind regards

Niels


All times are GMT -4. The time now is 01:38.