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

apply velocities on part of the boundary faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2011, 11:52
Default apply velocities on part of the boundary faces
  #1
New Member
 
Join Date: Oct 2011
Posts: 1
Rep Power: 0
monolake is on a distinguished road
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.
monolake is offline   Reply With Quote

Reply

Tags
boundary condition, partially filled, udf


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
Boundary Conditions for internal faces in 3D interFoam unikrsn OpenFOAM 9 September 27, 2011 12:09
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
Boundary between two adjacent fluid faces! A8anato_psofimi FLUENT 2 February 11, 2004 05:43
setting boundary and continuum in GAMBIT Hakeem FLUENT 0 August 14, 2000 15:32


All times are GMT -4. The time now is 05:45.