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

inflow velocity distribution is given by the Poiseuille flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2020, 23:53
Default inflow velocity distribution is given by the Poiseuille flow
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Hi all,

I am trying to reproduce results in literature. For inlet velocity boundary condition setting, the author says "The inflow velocity distribution is given by the poiseuille flow"

I know poiseuille flow is a parabolic velocity distribution from central to wall. I am wondering how can I set the parameters of this parabolic distribution if I know the central velocity of inflow?

Best regards

Weiqiang
Weiqiang Liu is offline   Reply With Quote

Old   June 14, 2020, 12:05
Default
  #2
Member
 
mCiFlDk's Avatar
 
mCiFlDk
Join Date: Feb 2020
Posts: 56
Rep Power: 6
mCiFlDk is on a distinguished road
Quote:
Originally Posted by Weiqiang Liu View Post
Hi all,

I am trying to reproduce results in literature. For inlet velocity boundary condition setting, the author says "The inflow velocity distribution is given by the poiseuille flow"

I know poiseuille flow is a parabolic velocity distribution from central to wall. I am wondering how can I set the parameters of this parabolic distribution if I know the central velocity of inflow?

Best regards

Weiqiang
Hi weiqiang,


To make that, you've to use a User Defined Function, more specifically a DEFINE_PROFILE one. Luckily, ANSYS has a very similar function in its manual to imitate this problem you're trying to simulate.


Code:
/***********************************************************************
vprofile.c
UDF for specifying steady-state velocity profile boundary condition
************************************************************************/

#include "udf.h"

DEFINE_PROFILE(inlet_x_velocity, thread, position)
{
  real x[ND_ND]; /* this will hold the position vector */
  real y, h;
  face_t f;

  h = 0.016; /* inlet height in m */

  begin_f_loop(f,thread)
  {
    F_CENTROID(x, f, thread);
    y = 2.*(x[1]-0.5*h)/h; /* non-dimensional y coordinate */
    F_PROFILE(f, thread, position) = 0.1*(1.0-y*y);
  }
  end_f_loop(f, thread)
}

Code got from: https://www.afs.enea.it/project/nept...df/node243.htm


If you look a bit deeper in the manual, this will not be very complicated since the function is that and you only have to modify the parameters for your specific case.


Regards.
mCiFlDk is offline   Reply With Quote

Reply

Tags
inlet boundary, poiseuille flow


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
velocity and cell coordinates on Threshold plane- Inflow Plane of virtual Disk surajp92 STAR-CCM+ 2 June 21, 2017 09:48
3D Velocity profile for turbulent flow Kirill Fluent UDF and Scheme Programming 3 July 17, 2014 08:42
Steady pipe flow mean velocity higher than inlet velocity anita OpenFOAM Running, Solving & CFD 7 September 25, 2012 05:35
Outlet BC for disturbed Poiseuille flow murx CFX 10 February 22, 2012 13:55
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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