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

 March 23, 2007, 11:36 i want your help please #1 sihat Guest   Posts: n/a would you please send me a source.c code of UDF for 3D velocity inlet to cylinderical geometry really iam spent long time but i failed to write correct one thanks alot in avance sihat e mail sihatt2002@yahoo.com

 March 24, 2007, 13:16 Re: i want your help please #2 Rizwan Guest   Posts: n/a wat is ur flow direction and inlet condition? normal to surface or only z velocity or what? and what type of boundary profile you expect at inlet? Regrads Rizwan

 March 24, 2007, 19:05 Re: i want your help please #3 sihat Guest   Posts: n/a thanks alot for your reply Mr. Rodwam, the flow direction is in the x-direction and the inlet is parabolic inlet velocity and here i have to use parabolic velocity equation to write the code and i try this alot but i fail to write correct code ,in fluent there is an example for parabolic inlet velocity for 2D flow but for me iwant this for 3D so i need your help thanks again sihat

 March 24, 2007, 21:17 Re: i want your help please #4 Rizwan Guest   Posts: n/a send me the code u have wrote. il complete it. Regards Rizwan

 March 25, 2007, 22:43 Re: i want your help please #6 Rizwan Guest   Posts: n/a what is the size of ur pipe, diameter and max velocity?

 March 26, 2007, 04:13 Re: i want your help please #7 sihat Guest   Posts: n/a 0.55-.0.55*pow(z+Y,20)/pow(0.05,20)*0.55; 0.55 = max inlet velocity the flow is in the x-direction y-direction =the radial direction z-direction =the angular direction annd this is the profile witen in the fluent manual 0.55-.0.55*pow(z+Y,20)/pow(0.05,20)*0.55; so please help to write correct inlet parabolic velocity for 3D cylinderical geometry sihat

 March 26, 2007, 22:31 Re: i want your help please #9 sihat Guest   Posts: n/a thanks alot for your help but i have alittle bead confusion because i try so many but it give massage you have prase error in line 1 my question can you Mr Bogdan give me the typically what i must write to have corrct code if my flow is in x-ditection of 3D cylinder radius=0.55 max velocity=3.2m/s thanks alot sihat

 March 27, 2007, 02:43 Re: i want your help please #10 Bogdan Guest   Posts: n/a so a minimum file should be like this: #include "udf.h" #define U0 3.2 #define RP 0.55 #define FLOW_DIRECTION 1 /*for x direction*/ then the function previous posted. Hope this helps, Bogdan

 April 1, 2007, 03:34 Re: i want your help please #11 sihat Guest   Posts: n/a i want u please to help me how to write this function correctely to complet the code to be interpreted in fluent because i try so many times and it give massage error prase lin 23 in this function line that means it is not written correctely. so please help if u have experience. the function is: V = 0.55[(1-(z+y)/(0.6)]^20 thanks alot in advance sihat

 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

All times are GMT -4. The time now is 10:06.