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

PARABOLIC DISTRIBUTION OF VELOCITY

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2001, 14:59
Default PARABOLIC DISTRIBUTION OF VELOCITY
  #1
pradeep sivakumar
Guest
 
Posts: n/a
how can i specify a parabolic distribution for inlet velocity for a 3-D elliptical jet with a major axis of 32mm and minor axis of 16mm. the maximum value of velocity is 165mm/sec. any help will be appreciated. thanks
  Reply With Quote

Old   June 7, 2001, 20:26
Default Re: PARABOLIC DISTRIBUTION OF VELOCITY
  #2
pradeep sivakumar
Guest
 
Posts: n/a
For the above problem i am using the code FIDAP and i need help to apply the boundary conditions for inlet velocity using the module FIPREP....
  Reply With Quote

Old   June 15, 2001, 04:01
Default Re: PARABOLIC DISTRIBUTION OF VELOCITY
  #3
Volker Pawlik
Guest
 
Posts: n/a
you have to use a udf, which defines the profile.
  Reply With Quote

Old   June 15, 2001, 11:03
Default Re: PARABOLIC DISTRIBUTION OF VELOCITY
  #4
pradeep sivakumar
Guest
 
Posts: n/a
CAN YOU TELL ME HOW TO USE AN UDF TO DEFINE THE PROFILE?
  Reply With Quote

Old   June 25, 2001, 07:38
Default Re: PARABOLIC DISTRIBUTION OF VELOCITY
  #5
Volker Pawlik
Guest
 
Posts: n/a
There are examples of udf available from your vendor.

They can tell you, how to use them. So far: if they are simple and there is no need to compile them, you just have to provide the udf-name and the path to your cc-compiler.

For examples have a look to the database for udf on cfd-online. Ask Jonas Larson (the moerator of cfd-online) where to find it.

Or try this:

/***********************************************/

/* Fully Developed laminar Inlet Condition */

/* for 2D-slit Problem with flow into y-direction */

/* velocity. Profile ref. to Blevins S41 Frame 1 Table 6.1*/

/* by V.Pawlik 18.04.2000 */

/***********************************************/

/*Remarks: printf except the warning, should be made to comments for final use, since the will be executed every iteration

ufree means u_central, the velocity on the centerline or at the end of the boundary layer !!! */

#include "udf.h"

/* coordinates of the inlet center */

/* maybe the following have to be changed

X[0]=x oder X[1]=y gegen X[2]=z */

#define xc 0.

#define yc 0.

/* here: radius means half slit with or distance from the symmetryline to the wall */

#define radius 0.0014

/*mean velocity: (Ufree=Ucenter!!) */

#define umean 0.232

/*================================================= =================*/

DEFINE_PROFILE(z_velocity, thread, position)

{

float r, x[2];

face_t f;

begin_f_loop(f, thread)

{

F_CENTROID(x,f,thread);

/* 3D: r = sqrt(pow(x[0]-xc, 2)+pow(x[1]-yc, 2)); */

/* here: r means not radius but distance from the centerline or symmetryline */ r = x[0]-xc;

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

/* ************************************************** ***** */

/* controle output

printf("x=%.6f\t r=%.6f\t

u=%.5f\n",x[0],r,2*umean*(1-pow(r/radius,2))); */

/************************************************** *******/

}

end_f_loop(f, thread)

}

/*================================================= ===============*/
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for 3d inlet parabolic velocity profile ? shahzeb irfan Fluent UDF and Scheme Programming 6 June 23, 2011 16:40
boundary with velocity distribution cfd123 FLOW-3D 3 February 17, 2010 10:44
udf parabolic velocity inlet with unsteady case Faruk Beyca FLUENT 3 November 28, 2005 15:25
problem in 3d parabolic velocity profile Lokesh FLUENT 8 August 11, 2005 05:36
How to create a parabolic velocity profile Nelson FLUENT 0 July 7, 2005 02:49


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