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

same velocity in inlets

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 29, 2013, 11:43
Default same velocity in inlets
  #1
Member
 
rayan
Join Date: Jun 2013
Posts: 65
Rep Power: 12
rayan24 is on a distinguished road
I want to impose by UDF a same velocity profile in 3 inlets, but i don't get same velocity in the 3 inlets apparently i impose my profile in function of the distance r!!

how can i impose my velocity profile in the "surface" of inlet to get samevelocity please??

my udf is :

HTML Code:
#include "udf.h"
DEFINE_PROFILE(w_velocity_inlet,t,i)
{
real x[ND_ND]=3; /* this will hold the position vector */
real r;
face_t f;
begin_f_loop(f,t)
{
F_CENTROID(x,f,t);
r = x[0];
F_PROFILE(f,t,i) = -((0.0431*pow(r,3))-(0.3857*pow(r,2))+(0.3129*r)+8.8045);
}
end_f_loop(f,t)
thanks
rayan24 is offline   Reply With Quote

 


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
WSS and normal velocity gradient for the slanted pipe wanna88 FLUENT 2 October 1, 2012 22:34
Problem with time average tangential velocity in swirl flow. lakhi FLUENT 5 July 18, 2012 16:28
how to compute relative velocity from absolute? spk Main CFD Forum 3 July 9, 2010 08:42
Is it possible to have multiple velocity inlets in your model boundarylayer FLUENT 0 June 5, 2010 02:29
Multiple Inlets Charlie V FLUENT 0 May 28, 2001 02:29


All times are GMT -4. The time now is 11:32.