CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   who can help to resolve the UDF problem? (https://www.cfd-online.com/Forums/fluent/49623-who-can-help-resolve-udf-problem.html)

poiu October 26, 2008 07:40

who can help to resolve the UDF problem?
 
My problem is an reactor with three-phase in it,air bubbles ,biomass granules and water. I use FLUENT to simulate the flow in the reactor.But how can i set the boundary conditions if i want to use my owe equations? Where to write them? I am a new man here in CFD. Thanks!

Thiru October 27, 2008 05:02

Re: who can help to resolve the UDF problem?
 
Hai I suggest you to go through the FLUENT's 'udf manual'. It clearly describes everything related to udf's.

FLUENT provides user-defined 'macros'. These are similar to sub-routines or functions in 'C'. One can use such macros to input own Boundary conditions, source terms, scalar equations, etc.

For ex. DEFINE_SOURCE, DEFINE INIT, DEFINE ON DEMAND, etc.

DEFINE_PROFILE(name,t,nv) macro is used for user defined Boundary Conditions (BC). After coding your BC using this macro. You can compile the same in Fluent. After the successful compilation your function will be available in BC drop-down panel.(select 'user-defined' first, then name of your udf)



All times are GMT -4. The time now is 20:47.