Professional Documents
Culture Documents
Installation (macbook)
First of all, we have to install homebrew with the help of terminator. We have to go this address
https://lammps.sandia.gov/download.html
After installing Homebrew, we can install LAMMPS on your system with the following commands:
in the terminator.
https://lammps.sandia.gov/download.html
First of all, we do run shear example in lammps with the help of terminator and then the dump file we got during the
running process open the dump file in the ovito app. To run the shear ex. in the terminator we have to copy a file
which is ex. of shear file then paste into desktop. Then we have to open in.shear file and we do edit the in.shear file
which is opened with TextEdit or notepad whatever.
ankonsaha$ cd /Users/ankonsaha/Downloads/lammps-3Mar20/examples/shear
ankonsaha$ lmp_serial<in.shear
ankonsaha$ cd location
Installation (windows)
We have to download by googling lammps download then we go to the pre-built windows and download 64bit stable
lammps not the mpi. We have to install the lammps and other processes which is directed by pc all we have to do
giving the permission. Now we have to download ubuntu terminal from the app store and then we have to install
lammps in ubuntu by writing some command which is provided by lammps manual located into doc in examples of
lammps and the page no is 15.
We have to provide the user name and a password while installing ubuntu after that we do command in ubuntu for
installing lammps.
After that
$ cd /mnt/c/Users/ASUS/Desktop/Example/crack
$ ls
$ cd /mnt/location (where we paste the copied example like crack, shear in the avobe we copied crack example and
did paste in a file of the desktop called Example)
$ ls
Heads up we have to space between cd and a slash and write mnt and also ls
$ lammps –in file name (like in.crack, in.shear)
Before that we have to open the in.crack file by notepad and then we have to remove the # from the dump command
then we have to save by pressing cntrl + s. After running the in.crack file in ubuntu we will get the dump file and we
have to open in ovito.