|
[Sponsors] |
December 4, 2002, 10:10 |
udf boundary condition
|
#1 |
Guest
Posts: n/a
|
hello, i am trying to use a special boundary profile for the velocity, massfraction and temperatur. in the beginning i tried to read it in with a profile but this didn't work. so i am now using a udf but i get everytime the same problem (it is also the same problem which occurred with the profiles): the massflowrate is ok but the massfraction (checked with surface integrals) is too high. the next thing is that the face values (for temperature, velocity and massfraction) differ from the values which i read in. has anybody an idea where the problem could be???? then please write because i am trying to solve this problem now for a very long time.
here is the udf i am using: DEFINE_PROFILE(velocity,thread,index) { face_t f; int i; double b[84]; b[83]=1.871916e+01; . . . b[0]=1.889291e+01; i=0; begin_f_loop(f,thread) { F_PROFILE(f,thread,index)=b[i]; i++; } end_f_loop(f,thread) } Bye Stefan |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resolved: Changing boundary condition with UDF according to pressure outlet boundary | alpemre | Fluent UDF and Scheme Programming | 12 | February 24, 2014 11:18 |
UDF for inhomogenous Neumann boundary condition | akhilesh | Fluent UDF and Scheme Programming | 3 | December 24, 2012 12:14 |
Boundary Condition Types Using Scheme and UDF | Nasir | FLUENT | 0 | September 15, 2008 22:54 |
UDF for the boundary condition | Sridhar | FLUENT | 3 | July 13, 2001 20:18 |
UDF : boundary condition ID | Flav | FLUENT | 4 | June 28, 2001 10:52 |