How to use lookup table

Hi All,
I have one question.
Although the lookup table has been implemented in LAMMPS, how to use the pair_style of “table” is still very hard to beginner.
So where can I find some examples that contain how to generate a lookup table and how to use it for the next simulation?


The easiest way to generate a suitable table file, is to use the pair_write command. but watch out when calling it multiple times, it will append to the existing file, so if you want replace entries, you have to delete the table file in between.