pair table with a fix wall region

Hello lammps users, there any way to implement in fix wall region or fix
wall, read a file with distance energy and force like pair table to use
with potential between wall-particles

Thanks

Samuel

Hello lammps users, there any way to implement in fix wall region or fix
wall, read a file with distance energy and force like pair table to use
with potential between wall-particles

if you can express the force you want with a reasonably simple
formula, you could try using fix addforce applied to atom style
variables for x, y, and/or z component of the force.

the other approach would be to implement a new fix style, call it
"gridforce" that would read a suitable potential energy grid from a
file and then determines the force through spline interpolation and
using the derivative of the spline function to get the force. or also
read in a force grid and interpolate.

axel.