CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Variable velcity at inlet

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

LinkBack Thread Tools Display Modes
Old   April 7, 2003, 11:18
Default Variable velcity at inlet
Posts: n/a

I met a problem in calculating the airflow pass the building. The inlet velocity varies with the height from the groud. It is not a constant. How can I cope with this problem?

Thanks John
  Reply With Quote

Old   April 7, 2003, 11:34
Default Re: Variable velcity at inlet
Posts: n/a
Hi! You can find a good example with explanations in Fluent UDF domentation. You should write UDF which looks something like this (with other velocity function):

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)



y = x[1];

F_PROFILE(f, thread, position) = 20. - y*y/(.0745*.0745)*20.;

} end_f_loop(f, thread) }

  Reply With Quote


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
Pulsating flow with non-reflective inlet boundary cc1000 CFX 6 April 27, 2009 08:10
variable pressure at inlet boundary Stephanie Siemens 3 August 23, 2008 06:04
Problems with Inlet species San24 Siemens 1 May 7, 2008 06:29
How to extract Cp values at inlet tangd OpenFOAM Running, Solving & CFD 8 August 14, 2006 03:17
transitional inlet boundary condition kamp CFX 1 June 21, 2006 11:08

All times are GMT -4. The time now is 02:55.