Starting LIGGGHTS

Submitted by mehran on Tue, 06/09/2015 - 06:58

Hello! everyone. I have just started looking into LIGGGHTS for DEM simulation for my project.
Can anyone please help me with some resources to start with? I am kind of stuck. I'm not sure whether the software is installed or not. This is my first experience with a linux operating system. I was looking at the tutorials. But I could not understand how to run them. Where to write the code? How to begin with?

Any kind of help would be greatly appreciated.

aaigner's picture

aaigner | Tue, 06/09/2015 - 15:25

Hi Mehran,

as Omid said.. it is all about documentation and examples. But let me give you some more details...

Since it is your first linux system, you need some basic linux terminal commands. The most important for you are cd, ls (for navigation) and cp, mv, rm (for copy, move/rename, and delete files). Most linux terminals allow for auto-complete with TAB .. very useful!

During the installation of LIGGGHTS you will use another command, namly ln, to generate a symbolic link to the executable of your LIGGGHTS. You can find this executable, lmp_*, after the compilation in the src-directory. (The exact name depends on the used make command, e.g. make -j fedora --> lmp_fedora)

Finally you should run your first example in the terminal (I should provide this link first). Go to an example directory (use cd) , for instance LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/chute_wear, and run the simulation with
liggghts -in in.chute_wear

Afterwards have a look inside of the file in.chute_wear and check the documentation for commands you are interested in.

Bests,
Andreas