CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF for inlet velocity profile

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

LinkBack Thread Tools Display Modes
Old   January 15, 2013, 06:22
Default UDF for inlet velocity profile
Senior Member
Join Date: Mar 2012
Location: Spain
Posts: 270
Rep Power: 6
Bollonga is on a distinguished road
Hi guys,

I'm using a UDF for a velocity profile to define the atmospheric boundary layer in a 2D problem. I've used the attached c code as explained in the user manual, apparently it's interpreted properly but results don't show any influence on the profile, it appears to be just a uniform velocity at the inlet (see attached picture for 5s).

1) Which can be the problem? Is there something wrong in the code?

2) What will happen if I modify the ymax coord in the code so it's higher than the domains's ymax?

3) Also I would like to use a profile for the turbulence intensity (TI), but Fluent only allows me to use it for k and epsilon. Is there a way to use TI and Turbulent Length Scale (TLS) instead of applying the formulae for (TI,TLS)\Rightarrow(k,epsilon).

4) I will need to apply the same profile to a 3D case. It will be exactly the same in the x-y plane and constant in the z-direction. Can I use directly the same code? If not, what do I have to modify?

Thanks you all!
Attached Images
File Type: jpg Uprofile_keR_U10_Iu15_TLS0.001-1-5.000000.jpg (62.4 KB, 93 views)
Attached Files
File Type: c inlet_x_velocity.c (751 Bytes, 130 views)
Bollonga is offline   Reply With Quote


inclined flat plate, inlet, turbulence profile, udf, velocity profile

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 problems - velocity profile Oli Fluent UDF and Scheme Programming 4 September 30, 2013 15:39
UDF Unsteady velocity profile Rashad FLUENT 0 February 27, 2008 15:57
How to specify the Velocity profile (eqn) by UDF Anant FLUENT 1 February 27, 2008 15:54
Multi step transient UDF velocity profile problem William177 FLUENT 1 February 3, 2008 07:47
UDF problem : inlet velocity in cyl. coord. system Jongdae Kim FLUENT 0 June 15, 2004 11:21

All times are GMT -4. The time now is 13:18.