[lammps-users] Setting random elastic constant

Hello Everyone,

I kindly ask you if there is the possibility to set a random elastic constant in pair style interaction. In practice, if I have a set of grains, I’d like to have different type of elastic constant between grains. I now that there is the possibility to define different particle type and solve the problem, but is there a way to avoid multiple type definition?

Thank you in advance and best regards

Giuseppe Petrillo

The way to avoid this would be to write a custom pair style (and possibly a custom atom style unless you try to store the per particle elastic constant with a custom fix property/atom parameter)