# Paraboloid Velocity profile

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 4, 2003, 13:48 Paraboloid Velocity profile #1 Ronak Shah Guest   Posts: n/a Hi, I have to put a velocity profile (fully developed) at the inlet of a 3D case. The profile is like a paraboloid centered at middle of the pipe I know that there is an example in the UDF chapter on FLuent doc but there's no 3D case example (definition of a parabolic profile at inlet): ----------------------------- #include "udf.h" DEFINE_PROFILE(inlet_x_velocity, thread, position) { real x[ND_ND]; /* this will hold the position vector */ real y; face_t f; begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[1]; F_PROFILE(f, thread, position) = 20. - y*y/(.0745*.0745)*20.; } end_f_loop(f, thread) } ---------------------------- I don't know how to change that in 3D with the center of the inlet NOT being at the orgin. ( i know there is a thread about this but my case has a slight difference that the inlet pipe is not centered at the orgin. . Someone could help me? Ronak Shah

 June 4, 2003, 17:51 Re: Paraboloid Velocity profile #2 ap Guest   Posts: n/a You can do two things: 1. Translate/rotate your domain so that the center of your inlet is the origin of axis system and the z axis has its positive direction going inside your inlet. This way you can use the paraboloid I wrote in the thread you make reference to. This should be the easiest way, but you have to pay attention when you specify gravity components, because if you translate/rotate the domain, gravity might not be aligned with one axis. 2. Look for a Math book about rotations and translations, find equations for these transformations and apply the right translation/rotation to the equation of the paraboloid. Then you have to change the UDF code to use the equation you obtained. Hi ap

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Zaqie Fluent UDF and Scheme Programming 9 June 25, 2016 19:08 Ozgur_ FLUENT 5 August 25, 2015 04:58 Absy Main CFD Forum 0 April 6, 2010 03:01 Alan Main CFD Forum 10 October 28, 2005 12:14 Abhi Main CFD Forum 12 July 8, 2002 09:11

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

 Contact Us - CFD Online - Privacy Statement - Top