|
[Sponsors] |
apply velocities on part of the boundary faces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 5, 2011, 12:52 |
apply velocities on part of the boundary faces
|
#1 |
New Member
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
Hi,
I want to apply a velocity boundary condition at the inlet of a 3D geometry by using UDF. There are 17478 faces on the inlet boundary. I don’t want to go over all faces by face loop. Instead, I only applied velocities specifically to 3520 faces and ask Fluent to interpolate for the rest faces. The problem is, the velocities shown in the Velocity Contour dialog box after iteration are different from what I applied to the boundary. What is wrong with it? The corresponding UDF is as follows: begin_f_loop(f,t) { for (j=0;j<3520;j++) { if(f==point_list[j].f) { F_PROFILE(f, t, index) = uvel[j][1]; } } } end_f_loop(f,t) Here, point_list[j] is the array that stores the index number of 3520 faces. Uvel[j][1] is the velocity that I want to apply. Thanks a lot. |
|
Tags |
boundary condition, partially filled, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary Conditions for internal faces in 3D interFoam | unikrsn | OpenFOAM | 9 | September 27, 2011 13:09 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 7, 2008 00:17 |
Boundary between two adjacent fluid faces! | A8anato_psofimi | FLUENT | 2 | February 11, 2004 06:43 |
setting boundary and continuum in GAMBIT | Hakeem | FLUENT | 0 | August 14, 2000 16:32 |