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

[UDF]a boundery condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2009, 04:38
Default [UDF]a boundery condition
  #1
New Member
 
Eric
Join Date: Apr 2009
Posts: 23
Rep Power: 17
duaiduaihu is on a distinguished road
the boundary condition is dT/dn=f(t) .
I think we should use DEFINE_PROFILE to difine the boundary condition,
#include "udf.h"
DEFINE_PROFILE(currentdensity,thread,position)
{
begin_f_loop(f,thread)
{
a=f(t)/////suppose we have known f(t);
F_PROFILE(f,thread,position)=a;
}
end_f_loop(f,thread)
}
i think the one with red color defines T=f(t), not dT/dn=f(t);
how to modify F_PROFILE(f,thread,position)=a; to define dT/dn=f(t);

thank every dear friends!
duaiduaihu is offline   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
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
kiva boundery condition ali Main CFD Forum 0 February 4, 2007 01:45
how to set the boundery condition ? Yun Heming Main CFD Forum 1 June 29, 2005 09:08
The Boundary Condition about the Flat Plate boing Main CFD Forum 1 January 6, 2002 16:53


All times are GMT -4. The time now is 18:59.