[lammps-users] How to add an exponential force to beads

Hi everyone,

I am working on coarse-grained molecular dynamics simulation. I want to add a exponential force to beads, which means the force added on bead is different under different distance to the wall. It seems that the command addforce can be used only for constant force. Can I set a variable for the exponential force and then use addforce to apply it?

Thank you!

Hui

No - fix addforce doesn't take a variable. I would probably
use or modify one of the fix wall interactions for this purpose.

Steve