CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Velocity profile

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mani1455

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2014, 02:52
Default Velocity profile
  #1
Member
 
Ahmet
Join Date: Mar 2011
Location: Ankara/ Turkey
Posts: 37
Rep Power: 15
a_cucen is on a distinguished road
Hi everybody,

I'm trying to simulate parabolic velocity profile at inlet. I have search the web and could not find any solution to this problem.

Could you help me please?

Thanks in advance
a_cucen is offline   Reply With Quote

Old   April 16, 2014, 05:40
Default velocity profile
  #2
New Member
 
Join Date: May 2012
Posts: 7
Rep Power: 13
mani1455 is on a distinguished road
Hi...
u have to write the following UDF for it... and interpret it.
the F_PROFILE is the macro for the velcoity profile and the equation infront of it is the profile.

#include "udf.h"
DEFINE_PROFILE(inlet_x_velocity, thread, nv)
{
float x[2]; /* this will hold the position
vector*/
float y;
face_t f;
begin_f_loop(f, thread)
{
F_CENTROID(x,f,thread);
y = x[1];
F_PROFILE(f, thread, nv) =20.*(1.- y*y/(.0745*.0745));
}
end_f_loop(f, thread)
}
mkamalhilmi likes this.
mani1455 is offline   Reply With Quote

Reply


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] Relative coordinates in logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 25 July 13, 2017 03:44
[swak4Foam] Inlet velocity profile for turbulent pipe flow using swak4Foam zordiack OpenFOAM Community Contributions 5 February 23, 2016 01:52
Logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 0 April 23, 2009 19:09
[boundary condition] logarithmic velocity profile cfdworker FLUENT 2 April 17, 2009 23:36
Prescribed inflow velocity profile - how to? Alan Main CFD Forum 10 October 28, 2005 12:14


All times are GMT -4. The time now is 09:45.