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

3d velocity profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2004, 13:32
Default 3d velocity profile
  #1
zwdi
Guest
 
Posts: n/a
Hello Everyone,

Did anybody know adding 3d UDF velocity profile of Ux= 0.06*pow(10*y,0.13), Uy=Uz=0 to Fluent6.1? It is the boundary layer profile (power law). For 2d I am OK. But for 3D, things seem very complicated for me. I could not figure it out. Could somebody help me out? Thanks in advanced.

Zwdi
  Reply With Quote

Old   February 10, 2004, 11:58
Default help on 3d velocity profile
  #2
zwdi
Guest
 
Posts: n/a
Could anybody help me on this topic? Thanks a lot

Zwdi
  Reply With Quote

Old   February 10, 2004, 15:26
Default Re: 3d velocity profile
  #3
ap
Guest
 
Posts: n/a
It's just the same as in 2D. You just need to know that in the cell centroid vector, x is in position 0, y is in position 1 and z is in position 2.

The function should be the following. Hook it in FLUENT BC panel to your inlet, in the x-velocity box.


DEFINE_PROFILE(my_Ux, t, i)
{
cell_t c;
real x[ND_ND];
real y;

begin_c_loop (c,t)
{
C_CENTROID(x,c,t);
y =x[1];
F_PROFILE(c,t,i) = 0.06*pow(10*y,0.13);
}
end_c_loop (c,t)
}


Hi

ap
  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
[UDF] Relative coordinates in logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 25 July 13, 2017 04:44
Logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 0 April 23, 2009 20:09
[boundary condition] logarithmic velocity profile cfdworker FLUENT 2 April 18, 2009 00:36
Prescribed inflow velocity profile - how to? Alan Main CFD Forum 10 October 28, 2005 13:14
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 16:19.