CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   udf as Boundary condition (

anup May 23, 2007 06:14

udf as Boundary condition
hii have u ever implemented a udf as a boundary condition ?? cos i hv know temp at certain positions of my wall and i want to put them as a boundary condition , so in other words its like :

x,y = 370,0 temp = 600 C x,y = 370,50 temp = 650 C . . . n so on

i m not able to write the C code .. i hv no idea what will be the inputs and how the fluent will understand the output .... can u please help me .. i thhink its a very short code ...

plzz i m stuck badly .. help

Neil May 23, 2007 08:15

Re: udf as Boundary condition
If you don't know how to write the code why not just split the wall into smaller sections in the geometry so you can define the temperature for each small section individually. You may end up with alot of small sections but its a work around solution to save having to figure out how to program a UDF

Prasad Dudhgaonkar May 23, 2007 11:51

Re: udf as Boundary condition
You can create a text file (.PROF) and read it (File-Read-Profile). This profile file needs certain format. You can find it in documentation. For ready reference I am giving a specimen for two data points referred by you. x, y in meters and temp in K.

((airinlet point 2) (x 370 370 ) (y 0 50 ) (temp 873 923 ) )

All times are GMT -4. The time now is 15:33.