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

Get the Particles ID

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By souria

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 3, 2014, 09:30
Default Get the Particles ID
  #1
Member
 
souria
Join Date: Mar 2013
Location: Nancy
Posts: 66
Rep Power: 13
souria is on a distinguished road
Hey every one,

I'm using DPM for particles tracking. So, I write UDF that let me track velocity (U,V,W) and positions of every particle that touch the bottom. But, Now I want to have the ID of these particles ! I don't know which symbol to use for such stuff :
Herein is the line :

fprintf (f2, "%f %f %f %f %f %f %e \n",x,y,z,velpu,velpv,velpw,P_INJ_ID(P_INJECTION(p )));

So it gave me the x,y,z,u,v,w but it gave me 0 for the ID !!!

I suppose P_INJ_ID(P_Injection(p) isn't the right one ???


Help please

Thanks
souria is offline   Reply With Quote

 


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 determine the number of particles injected. welch FLUENT 2 January 18, 2024 04:08
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 12 November 25, 2020 19:27
trying to simulate two-phase jet flow with particles in surface injection ajkratos FLUENT 5 March 3, 2015 21:33
Conditional Release of DPM particles - UDF nvschandra Fluent UDF and Scheme Programming 0 December 10, 2013 11:02
particles model ati_ros61 FLOW-3D 3 December 6, 2009 16:03


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