|
[Sponsors] |
February 9, 2004, 13:32 |
3d velocity profile
|
#1 |
Guest
Posts: n/a
|
Hello Everyone,
Did anybody know adding 3d UDF velocity profile of Ux= 0.06*pow(10*y,0.13), Uy=Uz=0 to Fluent6.1? It is the boundary layer profile (power law). For 2d I am OK. But for 3D, things seem very complicated for me. I could not figure it out. Could somebody help me out? Thanks in advanced. Zwdi |
|
February 10, 2004, 11:58 |
help on 3d velocity profile
|
#2 |
Guest
Posts: n/a
|
Could anybody help me on this topic? Thanks a lot
Zwdi |
|
February 10, 2004, 15:26 |
Re: 3d velocity profile
|
#3 |
Guest
Posts: n/a
|
It's just the same as in 2D. You just need to know that in the cell centroid vector, x is in position 0, y is in position 1 and z is in position 2.
The function should be the following. Hook it in FLUENT BC panel to your inlet, in the x-velocity box. DEFINE_PROFILE(my_Ux, t, i) { cell_t c; real x[ND_ND]; real y; begin_c_loop (c,t) { C_CENTROID(x,c,t); y =x[1]; F_PROFILE(c,t,i) = 0.06*pow(10*y,0.13); } end_c_loop (c,t) } Hi ap |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[UDF] Relative coordinates in logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 25 | July 13, 2017 04:44 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |
[boundary condition] logarithmic velocity profile | cfdworker | FLUENT | 2 | April 18, 2009 00:36 |
Prescribed inflow velocity profile - how to? | Alan | Main CFD Forum | 10 | October 28, 2005 13:14 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |