Hi,
I encountered an error when doing a simulation based on a modified code of LIGGGHTS which says: Length not sufficient for variable cohesionEnergyDensity. May anybody tell me what problem may it because and in which src document may I find it?
Thanks!
Jerry Wang
JF | Sun, 07/03/2011 - 15:43
Hi Jerry, I think that the
Hi Jerry,
I think that the problem is that you define more than one type of particle. For example, if you have two types of particles, you need to inform LIGGGHTS about the contact properties for all contacts possible such as: Sphere1-Sphere1, Sphere1-Sphere2, Sphere2-Sphere2. Sphere2-Sphere1.
Bellow, you can read an example for 4 types of particles:
fix m1 all property/global youngsModulus peratomtype 25.e3 25.e3 25.e3 25.e3
fix m2 all property/global poissonsRatio peratomtype 0.55 0.55 0.55 0.55
fix m3 all property/global coefficientRestitution peratomtypepair 4 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7
fix m4 all property/global coefficientFriction peratomtypepair 4 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2
fix m5 all property/global characteristicVelocity scalar 2.
fix m6 all property/global cohesionEnergyDensity peratomtypepair 4 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500
Regards
JF