|
[Sponsors] |
February 10, 2022, 09:58 |
UDF for particle collision
|
#1 |
New Member
Yassin ALkassar
Join Date: Jan 2017
Posts: 11
Rep Power: 9 |
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. Last edited by Yassin; February 10, 2022 at 12:40. |
|
|
|
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 |