Access the stiffness value

Noel682's picture
Submitted by Noel682 on Tue, 10/27/2015 - 08:57

Hello everyone,

For my thesis it was asked me to obtain the timestep of each simulation calculating it from the contact time (tc = pi / omega), for which I need stiffness and viscosity.

If I am using a pair style "hooke" and my inputs are Young, Poisson, Restitution , Friction and Characteristic Impact Velocity, is there a way to access the variables "k_n" and "gamma_n", when Liggghts has calculated it?

Thanks

Greetings,
Luca

ckloss's picture

ckloss | Thu, 12/10/2015 - 22:23

Hi Luca,

the easiest way would be some "printf" statements in the contact model - there is no "standard" way to get it

Best wishes
Christoph