How to set boundary condition on certain material particle, to make them only have degree of freedom on one direction?

QinHe_321
QinHe_321 Altair Community Member
edited October 27 in Community Q&A

How to set boundary condition on certain material particle, to make them only have degree of freedom on one direction?

I found in API that velocity of particle are in magnitude, without direction. 

Or is it possible to define new parameters for particle class without changing system header file?

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi Qin,

    In the EDEM API you can only return the Force and Torque on a particle. Typically this is in format

    results.force = value; where this is a vector. However you can also write it as:

    results.force.x = value; where this is just the X component of the vector (double). There is more information in the YouTube series:

    If you don't return a force, or return 0's for specific components this will be passed to the particle, so always returning 0 for the x component of the force will only allow it to move in the Y or Z axis.

    Slightly different but you could also consider the Rigid Link condition:

    https://help.altair.com/edem/topics/creator_tree_geometries/rigid_link_condition_t.htm?

    Regards

    Stephen