Using twoatom types

Submitted by shademani on Tue, 11/26/2019 - 21:11

Dear CFDEM users,
I need to define two atm types, however, I faced an error.
ERROR: Fix property/global (id m1): Fix property/global: Length not correct for variable youngsModulus, length should be equal to 1 (= number of atom types) (/build/liggghts-QCz4in/liggghts-3.3.1+repack1/src/fix_property_global.cpp:244)
Here is the material properties definition:
Material properties required for granular pair styles
fix m1 all property/global youngsModulus peratomtype 5.e6 5.e6
fix m2 all property/global poissonsRatio peratomtype 0.45 0.45
fix m3 all property/global coefficientRestitution peratomtypepair 2 0.3 0.3 0.3 0.3
fix m4 all property/global coefficientFriction peratomtypepair 2 0.5 0.5 0.5 0.5
Any advice will appreciate/
Shademani

bernardnov | Mon, 05/18/2020 - 22:34

Hi, can you share your solution to this error? I also get the same error and find no luck on solving this. Thank you!