|
[Sponsors] |
October 22, 2020, 15:17 |
Fluent UDF particle wall distance
|
#1 |
Member
L.A.Isanka
Join Date: Jul 2020
Posts: 55
Rep Power: 6 |
Hello!
I am working on a problem where I need to calculate the particle wall distance from each particle position. Can anyone please tell me how to find the distance from the particle position to the wall boundary? Is there a specific macro I can use for that? Thank you! |
|
October 23, 2020, 05:06 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I don't know any specific macros or approaches for that, but what you can do is:
1. make a loop over particles 2. get coordinate of each particle 3. calculate the distance to the wall (cause you know coordinates of wall) hope this simple approach will work for you
__________________
best regards ****************************** press LIKE if this message was helpful |
|
November 20, 2020, 12:34 |
|
#3 |
Member
L.A.Isanka
Join Date: Jul 2020
Posts: 55
Rep Power: 6 |
Thank you for your reply.
do you know how to get the minimum distance from particle to boundary wall? I want to get particle wall distance inside a define_bodyforce macro, to calculate the body force. Is there a direct command other than finding the minimum distance via coordinates? Thank you! |
|
Tags |
dpm bodyforce, dpm boundary condition, fluent udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent DPM UDF - Particle wall distance | Achini | Main CFD Forum | 0 | October 19, 2020 01:08 |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
Ansys Fluent UDF, Wall Average Temperature Depend On Inlet Velocity | ozgeozge | Fluent UDF and Scheme Programming | 1 | April 15, 2019 02:31 |
UDF Wall functions in Fluent | syler3321 | Fluent UDF and Scheme Programming | 2 | September 20, 2014 13:37 |
UDF for wall slipping | HFLUENT | Fluent UDF and Scheme Programming | 0 | April 27, 2011 13:03 |