LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] how to apply purely repulsive potential?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] how to apply purely repulsive potential?


From: Anders Hafreager <andershaf@...24...>
Date: Sat, 14 Apr 2018 11:28:00 +0200

You can either use pair_style table to specify the forces and energies for any R within the cutoff in a file, or use pair_style python (slower) where you can provide a Python function that returns what you need.

http://lammps.sandia.gov/doc/pair_table.html
http://lammps.sandia.gov/doc/pair_python.html

Anders

On Sat, Apr 14, 2018 at 10:44 AM, soroosh mo <sorooshmhm@...24...> wrote:
Dear all
how can i describe repulsive potential between two atom with specific formula (k(R − r)3, r < R,) for scratch and indentation simulation ?
is there special command for this kind of potential?
Regards and thanks in advance.
soroosh

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...6297....sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lammps-users