How can I define the magnitude and direction of the body force based on the distance and position be
How can I retrieve all neighboring particles' information in the particle body force API?
I want to calculate the corresponding body force based on the distance between particles and their positions.
It's similar to the contact model, where bonds are generated or broken depending on the distance between two particles. However, in my model, I want to determine the magnitude and direction of the body force based on the distance and position between two particles.
🤨🤨🤨
Please, expert, help me out!
Best Answer
-
Hi,
If the distance between particles is very small/close enough then you can use the Contact Model to save a custom property on the particle (custom property can be a vector) and then you can perform additional functionalities such as addition or subtraction of body force. Hence, you need both a Contact Model and a Particle Body Force model to be defined in physics models.
Thanks,
Prasad A
1
Answers
-
Hi,
If the distance between particles is very small/close enough then you can use the Contact Model to save a custom property on the particle (custom property can be a vector) and then you can perform additional functionalities such as addition or subtraction of body force. Hence, you need both a Contact Model and a Particle Body Force model to be defined in physics models.
Thanks,
Prasad A
1 -
Thank you very much for your reply.
0