CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

udf for 3D laminar fully developed flow

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2006, 21:45
Default udf for 3D laminar fully developed flow
Posts: n/a

iam doing my project with titled flow between two stationary plates in the horizontal position.

there is an inlet from the top in the center of the top plate with hole diameter=20mm.

there is a gap of 20mm between two plates and the output is in the radially outward direction.

my inlet direction is perpendicular to the plate that is,in the z-direction.

i need to create a fully developed flow at the inlet.

can you please help me in getting the udf(user defined function) for the fully developed flow at the inlet in 3-dimensional. my z-axis is perpendicular to the x and y-axis.

i got a udf for 3D and iam attaching it below. please look at it and comment on it,whether i will get a laminar fully developed flow profile in the negative z-axis. thanks a lot in advance.

with regards,




DEFINE_PROFILE(inletvelocity, thread, position) { real x[ND_ND]; /* this will hold the position vector */ real z; face_t f;

begin_f_loop(f, thread)



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

F_PROFILE(f,thread,position) = 0.04*(1-((z/0.01)*(z/0.01)));

} end_f_loop(f, thread) }
  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Udf for a fully developed velocity profile atinlet philip meppen Fluent UDF and Scheme Programming 10 November 3, 2015 15:56
Triangular mesh - fully developed flow between parallel plate Amir_Ghasemi Main CFD Forum 3 November 28, 2010 04:52
Fully developed flow Usman FLUENT 1 December 4, 2007 01:18
Outlet Boudary Condition for Fully Developed Flow Saad Main CFD Forum 5 November 19, 2004 13:22
fully developed flow in diffusor Fabian CFX 1 September 19, 2001 18:13

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