Skip to content
mu2mechPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

mu2mech

mu2mech is a multiscale phase field modeling software designed for Linux-based systems. This README provides instructions for installing and running the software.

Required Libraries and Modules

Python Modules

  • numpy
  • pyside2
  • pyvista
  • pyvistaqt
  • matplotlib
  • ffmpeg-python
  • pyyaml

Other Libraries

  • ffmpeg

Installation Instructions

Follow the steps below to install and run mu2mech on your Ubuntu system:

  1. Download files
  • Download or clone the repository

    Click Code->Download ZIP

    Or

    In terminal type command

    git clone https://github.com/mu2mech/mu2mech
    
  1. Install python and pip package manager

    sudo apt install python3
    sudo apt install python3-pip
    
  2. Create and activate a Python environment:

    • Open a terminal and execute the following commands:
      python3 -m venv ~/mu2mech-env
      source ~/mu2mech-env/bin/activate
  3. Install packages:

    • Install Python packages:
      pip install -r requirements.txt
    • Install the ffmpeg library:
      sudo apt install ffmpeg
  4. Run the program:

    • Activate environment if not activated
      source ~/mu2mech-env/bin/activate
    • Execute the following command:
      python3 mu2mech.py

Troubleshooting

If you encounter any errors during the installation or execution of mu2mech, refer to the following solutions:

  • ImportError: libOpenGL.so.0: cannot open shared object file: No such file or directory

    • Resolve this issue by installing the libopengl0 package:
      sudo apt install libopengl0 -y
  • qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

    • Reinstall the libxcb-xinerama0 package to fix this problem:
      sudo apt-get install --reinstall libxcb-xinerama0

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages