CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

udf boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2002, 09:10
Default udf boundary condition
  #1
stefan
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 10:18
UDF for inhomogenous Neumann boundary condition akhilesh Fluent UDF and Scheme Programming 3 December 24, 2012 11:14
Boundary Condition Types Using Scheme and UDF Nasir FLUENT 0 September 15, 2008 21:54
UDF for the boundary condition Sridhar FLUENT 3 July 13, 2001 19:18
UDF : boundary condition ID Flav FLUENT 4 June 28, 2001 09:52


All times are GMT -4. The time now is 03:15.