CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   How at add multiple udf in fluent? (

Amir1 April 12, 2013 18:13

How at add multiple udf in fluent?
Hey guys,

I have been trying to add multiple udf in FLUENT but I couln,t do it.
Can you please help me out?

I have my xvelocity and y velocity which are functon of y. I was able to write only fir one of them.
here is my code for x velocity. I would like to have amost the same profile for y velocity.

#include "udf.h"

face_t f;
real y;
real x[ND_ND];
F_PROFILE(f,t,i)=(0.707/0.141 )*sqrt(y-0.035);

cric92 April 14, 2013 06:00

If you are writing them separately then try to write both of the them in one file, use different names for both functions

All times are GMT -4. The time now is 12:38.