how set up walls contacting polymer

Hi LAMMPS users:

I have a polymer confined by two fcc walls. I want to keep their fcc configurations during MD so I tried the fix spring/self to bond wall beads to their lattice sites. But the problem is this will keep the walls staying at their original locations rather than adjusting positions according to polymer/wall interactions (LJ potential). So what would be a better setting to fulfill both requirements? Thanks.

Shaorui

Hi LAMMPS users:

I have a polymer confined by two fcc walls. I want to keep their fcc
configurations during MD so I tried the fix spring/self to bond wall beads
to their lattice sites. But the problem is this will keep the walls staying
at their original locations rather than adjusting positions according to
polymer/wall interactions (LJ potential). So what would be a better setting
to fulfill both requirements? Thanks.

how about using fix aveforce?

axel.