🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

What's the criteria for positive and negative of force in API

User: "Raheem Sterling_22160"
Altair Community Member
Updated by Raheem Sterling_22160

Hi

I know the contact.force act on the contact point of particles, and then act on the element1 and element2 is opposite.

In HM model, I saw the equation is image, but in the code, F_n = unitCPVect * -factor, and the F_t is as same as the equation.

For F_n, does it because the unitCPVect = contact.contactPoint - element1.position, and this direction is "-" in the EDEM?

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Renan"
    Altair Employee
    Updated by Renan

    Hi Raheem,

    The equation you posted is used to calculate the magnitude of the normal force. Since forces are a vector quantity we also have to specify their direction and since the forces on the Hertz-Mindlin model are repulsive, they have to point in the direction such that the particles are separating, so the "-" sign in the equation is there just to make sure that the forces are actually repulsive.

    Best regards,

    Renan