|
[Sponsors] |
inflow velocity distribution is given by the Poiseuille flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 13, 2020, 00:53 |
inflow velocity distribution is given by the Poiseuille flow
|
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
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 |
|
June 14, 2020, 13:05 |
|
#2 | |
Member
mCiFlDk
Join Date: Feb 2020
Posts: 60
Rep Power: 6 |
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 |
|
|
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 10:48 |
3D Velocity profile for turbulent flow | Kirill | Fluent UDF and Scheme Programming | 3 | July 17, 2014 09:42 |
Steady pipe flow mean velocity higher than inlet velocity | anita | OpenFOAM Running, Solving & CFD | 7 | September 25, 2012 06:35 |
Outlet BC for disturbed Poiseuille flow | murx | CFX | 10 | February 22, 2012 14:55 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |