|
[Sponsors] |
Velocity of Fluid @ different positions of Particle in DPM using UDF |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Prashant
Join Date: Mar 2009
Location: texas
Posts: 6
Rep Power: 17 ![]() |
Hello,
I am trying to develop an UDF to find the velocity of Fluid at the different positions of particle in DPM. Finally I am interested in getting relative velocity of particle with respect to the fluid. I am novice in the area of UDF, so please suggest me some macros which can be used for this. ![]() Thank you very much. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Prashant
Join Date: Mar 2009
Location: texas
Posts: 6
Rep Power: 17 ![]() |
/* Following UDF gives relative velocity I am looking for */
#include"udf.h" real R_vel; DEFINE_DPM_SCALAR_UPDATE(relative_vel,c,t,initiali ze,p) { real R_vx, R_vy, P_vel, F_vel; /* Relative Velocity */ R_vx = C_U(c, t) - (P_VEL(p)[0]); R_vy = C_V(c, t) - (P_VEL(p)[1]); R_vel = sqrt( R_vx*R_v+x + R_vy*R_vy ); Message("Relative Velocity in X = %10f m/s and Y = %10f m/s\n",R_vx, R_vx); Message("Relative Velocity= %10f m/s\n\n",R_vel); } |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gas phase velocity in DPM Drag UDF | Hanz | Fluent UDF and Scheme Programming | 0 | June 2, 2009 14:08 |
UDF for particle injection in DPM model | sohail | FLUENT | 0 | July 22, 2008 10:12 |
UDF for particle injection in DPM model | sohail | FLUENT | 0 | April 30, 2008 17:27 |
particle tracking | mike | CFX | 3 | April 17, 2006 00:05 |
particle velocity and velocity profile | HGG | FLUENT | 2 | June 10, 2001 16:32 |