CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   distorted 3d velocity profile (https://www.cfd-online.com/Forums/fluent/45013-distorted-3d-velocity-profile.html)

Muhammad Shakaib June 13, 2007 01:43

distorted 3d velocity profile
 
I used following UDF for fully developed 3d profile in a pipe. The problem is that it doesn,t results in a smooth profile. When I check velocity magnitude contour at the inlet the profile is distorted (However it gives smooth paraboloid plot for x-velocity).

DEFINE_PROFILE(inlet_x_velocity, thread, position) { real x[ND_ND]; real r; face_t f;

begin_f_loop(f, thread)

{

F_CENTROID(x,f,thread);

r = sqrt(pow(x[1],2)+pow(x[2],2));

F_PROFILE(f, thread, position) = 0.019865*(1-pow (r/0.0254,2));

} end_f_loop(f, thread) }


Susan June 14, 2007 04:03

Re: distorted 3d velocity profile
 
You should check the profile at the cross section a little post of the inlet to see if the profile is still distorted or just same as what you defined.


All times are GMT -4. The time now is 04:27.