Spatially varying wall temperature
I need to run a channel flow simulation where the wall temperature varies along the length of the channel. I suppose I could chop up the wall into short segments and impose different temperature on each segment, although that doesn't seem every satisfactory. Anyone have an easier solution? What would be nice is to be able to provide a spline or other fit to the whole wall without changing the mesh.
|
There seems to be the possibility of reading data from a file for the fixedValue BC
Code:
inlet But i've never tried it. |
AFAIK uniformFixedValue deals with variation over time, not spatial variation? I think groovyBC would be good for what you are trying do do. More specifically the pos().x, pos().y and pos().z functions.
http://openfoamwiki.net/index.php/Contrib/groovyBC |
All times are GMT -4. The time now is 13:41. |