[lammps-users] A doubt regarding force updating for each frame


I am currently working on droplet spreading over a soft surface. I was wondering if there is a command or a way to show the effect of water bending the surface?

I have tried using the fix setforce command but I am not able to update the fx fy and fz parameters for every step. It would be really helpful if I could get some insight into this.


using fix setforce makes no sense at all. that will change the force but in no way allows to monitor the impact of the droplet.

to show/measure deformation you could use compute displace/atom.


p.s.: of course it is possible to have updated forces with fix setforce, if you use atom style variables.

Thank you very much for the input.