|
[Sponsors] |
inflow velocity distribution is given by the Poiseuille flow |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 8 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
mCiFlDk
Join Date: Feb 2020
Posts: 56
Rep Power: 5 ![]() |
Quote:
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. |
||
![]() |
![]() |
![]() |
Tags |
inlet boundary, poiseuille flow |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |