[lammps-users] Potential function

Dear teacher~
At present, I have obtained a potential function whose form is similar to that of the pair potential, but the equation of the total energy Utot is different from the existing pair potential. May I ask how I can use this potential function for simulation?
Your sincerely,
A user

You can tabulate its energy and force as a function of distance, put the numbers
into a file, and use pair_style table.

Steve