CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Help-UDF (https://www.cfd-online.com/Forums/fluent/30942-help-udf.html)

ravi February 13, 2003 19:19

Help-UDF
 
Hi, Sorry to be a pain in the neck..but i need help to set my inlet boundary condition as function of velocity profile. Basically my model has a depth of 30mm and i need to set the inlet condition as a UDF function in C prog. The velocity at 4 different points are..

depth 24mm - 0.23m/s depth 18mm - 0.28m/s depth 12mm - 0.33m/s depth 6mm - 0.38m/s

Can someone pls draft me the C prog for this function, i know its only a few lines but i am really bad at C prog. Pls..thanking you in advance, i really appreciate it

prasanth February 14, 2003 06:33

Re: Help-UDF
 
hello ravi, the UDF will not be in the C language syntax. It is having separate syntax. U can write ur own UDF program by following the example given in fluent help. I mean the way to write a UDF. ask me if u not clear.. prasanth


All times are GMT -4. The time now is 11:10.