Ball mill simulation

Submitted by Sapsan on Fri, 01/13/2012 - 11:06

Hello everyone!

I am new to this site and forum.
Therefore I want shortly introduce myself:

I am a student from Düsseldorf, Germany
working on my master thesis now.

My job is to simulate a ball mill for grinding processes.
It is similar to the one you have on this site.
A rotating cylinder with steel balls in it should be simulated.

I am new to LAMMPS and LIGGGHTS.
Moreover, I never used Linux, nor have I used or programmed in C++.

What is a best/efficient way to start?

Should I at first get familiar with LAMMPS/LAMMPS manual
or something else?

I suppose, the right way to use LAMMPS/LIGGGHTS is on a Linux machine, right?

Thank You!

Regards,

Eugen

moritzhoefert | Sat, 01/14/2012 - 11:39

Hi Eugen,

using linux is a good idea since most people here use it and there are tutorials and howtos about almost everything that might be interesting to you in the internet e.g. c++, bash, paraview,....

You should start with compiling liggghts. Run the example scripts and visualize the results. This will help you to develop a workflow. Then choose an example that is close to what you want to do in your thesis and modify the liggghts script successively. Modify/add one line at a time and check if the script still runs.

Make extensive use of the documentation and do not hesitate to look at the code. Considering the fact that liggghts is not proprietary, it is very well documented.

Best,
Moritz

Sapsan | Sat, 01/14/2012 - 13:58

Hi Moritz and everyone,

thanks for the response!

Will reading the LAMMPS manual at first be helpful?
Or can I directly start with LIGGGHTS documentation.

Can you please tell what is the role of C++ in the process of simulating
with LIGGGHTS (maybe it's a stupid question)?

Should the input script be programmed with C++?
I simply do not understand the connection between these two programs yet.

Thank you.

Best Regards,
Eugen

Philippe's picture

Philippe | Mon, 01/16/2012 - 13:43

Hello Eugen,

Will reading the LAMMPS manual at first be helpful?
Or can I directly start with LIGGGHTS documentation.

in fact the LIGGGHTS manual also contains a big part of the LAMMPS documentation, therefore you can start with the LIGGGHTS manual right away.


Can you please tell what is the role of C++ in the process of simulating
with LIGGGHTS (maybe it's a stupid question)?

LIGGGHTS (as LAMMPS) is written in C++ - but if the features of LIGGGHTS are sufficient for your planned work, you will not need knowledge of C++.


Should the input script be programmed with C++?
I simply do not understand the connection between these two programs yet.

The input scripts have their own syntax which is documented in great detail in the manual. To get started with it, I would recommend that you take an example input script from your installation folder /path/to/liggghts/examples/LIGGGHTS/ and look up the meanings of the various commands in the manual.

Hope this was helpful,
regards
Philippe

Sapsan | Mon, 01/16/2012 - 13:50

First of all, I would like to thank for the responses.

They were helpful.

I think I simply have to get started and
when further questions arise I will post them here.

Thanks again!

Regards,
Eugen

richti83's picture

richti83 | Sun, 01/15/2012 - 21:14

Hello Eugen,

Welcome to LIGGGHTS.
I've made a ball-mill some month ago, I will explain you the needed steps:

1st: yes Linux is required, you can use a virtual machine for testing (no good performance) or use a UBUNTU USB Bootstick (better way)
http://www.ubuntu.com/download/ubuntu/download (use version 10.04LTS), step2 "USB"->"Show me how"

2nd: Download liggghts tarbal from the DL section
3rd: rename and unzip the file (give it a .tar.gz ending)
4th: open a terminal (Start->Zubehör->Terminal)
5th: install mpich2 by typing "sudo apt-get install mpich2"
6th: cd to liggghts/src/ dir and type "make fedora", you should get a lmp_fedora executable.
Now you can have a look into the Example/LIGGGHTS/moving_mesh/ folder. You will find a in.lmp file.
Copy the lmp_fedora from src-dir to moving_mesh folder.
You can now type "mpd &" to start the mpich2 task-manager
Than type "mpirun -np ANZAHL_CORES lmp_fedora < in.lmp" to start liggghts.

If you have your mill as CAD File, export it as STL File and simply change the line in in.lmp where the STL-File is imported.

Best wishes,
Christian, from Magdeburg

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact