|
[Sponsors] |
July 29, 2013, 11:43 |
same velocity in inlets
|
#1 |
Member
rayan
Join Date: Jun 2013
Posts: 65
Rep Power: 12 |
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) |
|
|
|
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 |