How to Install Yaade on macOS

Yaade is an open-source package for discrete element method (DEM) simulations. In this tutorial, we will guide you through the installation process of Yaade on macOS.

Prerequisites

Before we start with the installation process, please make sure that you have the following prerequisites:

Installation Process

To install Yaade, please follow the steps below:

  1. Open the Terminal app on your macOS. You can find it in the Applications folder or use the Spotlight search.

  2. Install the Homebrew package manager by running the following command in the Terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Once Homebrew is installed, you can install the dependencies required for Yaade using the following commands:
brew install boost
brew install eigen
brew install freeglut
brew install pybind11
brew install vtk
  1. Once all dependencies are installed, you can now install Yaade. To install the stable version of Yaade, use the following command:
pip3 install yaade

If you want to install the development version of Yaade, run the following command:

pip3 install git+https://github.com/yade/trunk.git#egg=yaade
  1. After the installation is complete, you can test if Yaade is working by starting the Python interpreter and importing Yaade:
python3
>>> import yaade

If no error messages appear, Yaade is now successfully installed on your macOS.

Congratulations! You have now successfully installed Yaade on your macOS. You can now start using Yaade for your DEM simulations.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!