How to set boundary condition on certain material particle, to make them only have degree of freedom on one direction?
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?
Answers
-
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:
Regards
Stephen
0