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

Variable velcity at inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2003, 12:18
Default Variable velcity at inlet
  #1
John
Guest
 
Posts: n/a
Hi:

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, 12:34
Default Re: Variable velcity at inlet
  #2
mateus
Guest
 
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)

{

F_CENTROID(x,f,thread);

y = x[1];

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

} end_f_loop(f, thread) }

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


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