If you’re working with Discrete Element Method (DEM) simulations, LIGGGHTS is one of the most powerful open-source tools available. Installing LIGGGHTS and all its dependencies can be tedious, especially on Ubuntu, but we’ve made it simple for you with a ready-to-run installation script.

One-Click Installation for LIGGGHTS

We’ve prepared a shell script that installs LIGGGHTS on Ubuntu, including all required libraries and dependencies. This is perfect for engineers and researchers who want to get started with DEM simulations quickly.

Steps to Install

  1. Download the script:
    Save the file as ubuntu-liggghts-compile.sh. from the bottom of this page
  2. Make it executable:
chmod 777 ubuntu-liggghts-compile.sh
  1. Run the script:
./ubuntu-liggghts-compile.sh

The script will automatically:

  • Update your system packages
  • Install essential development tools (git, g++, cmake)
  • Install all required libraries for LIGGGHTS, including VTK, HDF5, Boost, Qt5, and more
  • Clone the LIGGGHTS repository from our GitHub fork
  • Configure and compile LIGGGHTS automatically
  • Set up environment variables for seamless execution

Once the script finishes, your system will reboot, and LIGGGHTS will be ready to run.

Quick Start After Installation

After rebooting, you can start LIGGGHTS with:

lmp380

Now you can start running DEM simulations directly on your Ubuntu machine.

Why Use LIGGGHTS for DEM?

LIGGGHTS is widely used in research and engineering for particle-based simulations. It supports:

  • Bulk material handling
  • Granular flow simulations
  • Particle-particle interactions
  • Coupling with CFD tools

Using this script, you avoid hours of manual setup and can focus on your DEM projects.


Download the Script

You can get the ready-to-run LIGGGHTS installation script here:

Download LIGGGHTS Installation Script