CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Positiondependant boundary conditions (http://www.cfd-online.com/Forums/openfoam-solving/58175-positiondependant-boundary-conditions.html)

maria October 10, 2008 09:46

Hi all, I'm new to OpenFoam
 
Hi all,

I'm new to OpenFoam and i would really appreciate some guidelines and help in setting up my model:

I'm beginning by a simple steady thermal model (use Laplacianfoam solver), in which in one of the boundary faces i need to set a heat flux dependent on position at the face as, let's say, a gaussian type:
-K (grad T) = P*exp(-(x^2 +y^2))

Any hint of how to proceed? Or someone with similar problem?

xiao December 22, 2008 17:01

Search the post with title "Pa
 
Search the post with title "Parabolic inlet velocity profile", start from there, and change the code of the boundary conditions to suit your needs. Should not be too difficult. There is no existing solution in Foam currently, at least as I know of.


All times are GMT -4. The time now is 23:42.