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

swirl velocity on the face off the wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2020, 05:32
Default swirl velocity on the face off the wall
  #1
New Member
 
Join Date: Oct 2020
Posts: 1
Rep Power: 0
heaven1 is on a distinguished road
Hi all,

I'm working on an axisymmetric model with swirl. I want to extract the velocities on the wall to calculate a partial slip shear stress. I'm using the UDF as shown below to extract the velocities on the wall, and this works when there is full stick at the walls. However when I change the boundary condition on the walls to a shear stress condition the F_W function returns the last result it found which is not correct if I compare them to the velocity plots of fluent.

The F_U and F_V function do give me the correct velocities.

Can I not use the F_W function with axisymmetric models with swirl or could this be a bug from fluent itself?

Code:
DEFINE_ON_DEMAND(vel_sub_face)
{
  int ID = ID_sub; // Plate ID
  Domain *d = Get_Domain(1); // Fluid ID
  Thread *t = Lookup_Thread(d,ID);
  face_t f;

  real fc[ND_ND];

  begin_f_loop(f,t)
  {
    F_CENTROID(fc,f,t);
    Message("y=%e \tvx=%e \t vy=%e \t vz=%e \n",fc[1],F_U(f,t),F_V(f,t),F_W(f,t));
  }
  end_f_loop(f,t)
  Message("velocity substrate on the face\n");
}


I’m using FLUENT 2019 R3 btw.
heaven1 is offline   Reply With Quote

Reply


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Velocity on a wall is not equal to 0 by LES starz FLUENT 6 February 23, 2020 15:37
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 07:02.