CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Boundary conditons (http://www.cfd-online.com/Forums/fluent/92049-boundary-conditons.html)

ravisalgar August 31, 2011 13:03

Boundary conditons
 
Hi everyone..

Can we give our own Boundary Conditions in FLUENT other than the boundary conditions that it contains by default.

stuart23 August 31, 2011 13:42

You should be able to define the BC you need in the options. Otherwise you may need to program a User Defined Function to do whatever it is you want.

Stu

ravisalgar August 31, 2011 13:59

Quote:

Originally Posted by stuart23 (Post 322420)
You should be able to define the BC you need in the options. Otherwise you may need to program a User Defined Function to do whatever it is you want.

Stu

oh thank u stu,u mean 2 say that i need to write a program for defining my own boundary conditions right..

jlefevre76 August 31, 2011 17:38

Yeah, UDF's are made in C, so you'll need to read up on user defined functions in general. You'll probably want to use DEFINE_PROFILE, and there are some nice examples that make use of that command if you read the user defined function guide. You could easily modify their code to make the BC you want (most likely), but it is going to take a few hours of reading the udf manual to understand it.

http://www.hipecc.wichita.edu/pdfs/fludf.pdf
(courtesy of Wichita State University, but syntax may have changed a bit if you're not using Fluent 6. Read section 8.2 for an example of a UDF boundary condition.)

jlefevre76 August 31, 2011 17:41

Above link didn't work for me, try http://my.fit.edu/itresources/manual...df/udf/pdf.htm

ravisalgar September 1, 2011 09:02

thank u i will go through the link...


All times are GMT -4. The time now is 00:26.