How can I define the magnitude and direction of the body force based on the distance and position be

bigshow4399
bigshow4399 Altair Community Member

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!

Tagged:

Best Answer

  • PrasadAvilala
    PrasadAvilala
    Altair Employee
    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

Answers

  • PrasadAvilala
    PrasadAvilala
    Altair Employee
    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

  • bigshow4399
    bigshow4399 Altair Community Member