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

UDF for particle collision

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2022, 09:58
Default UDF for particle collision
  #1
New Member
 
Yassin ALkassar
Join Date: Jan 2017
Posts: 11
Rep Power: 9
Yassin is on a distinguished road
Hey,

I am trying to include particle-particle interaction in DPM by using UDF.

The collision model is based on preserving momentum between particles. The model is simplified by saying that the angular velocity of the particles is 0 and that the collisions are non-sliding. The velocities are then reduced to the following expressions (as mentioned in image 1).
up1,vp1,wp1: particle velocity for particle 1.
up2,vp2,wp2: particle velocity for particle 2.

The collision model is applied only for two particles that are in the same cell.


I can use macro TP_DIAM(p), TP_POS(p), and TP_VEL(p) for getting particle diameter, position, and velocity over all cells.

However, If I have two particles in the same cell, how do I differentiate between their position, velocity, and diameter.?.

Also, how do I know there are two particles in the same cell.

Any help Please.

Thanks.
Attached Images
File Type: jpg 1.jpg (36.5 KB, 21 views)

Last edited by Yassin; February 10, 2022 at 12:40.
Yassin 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
udf for one dimensional linear motion based on force maccheese Fluent UDF and Scheme Programming 2 September 1, 2019 03:18
Save output of udf in another udf! JuanJoMex FLUENT 0 February 8, 2018 13:43
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 20:32.