Skip to content

Latest commit

 

History

History
96 lines (53 loc) · 2.62 KB

installation-and-setup-Linux.md

File metadata and controls

96 lines (53 loc) · 2.62 KB

💻 Linux Installation and Setup

Follow the below instructions to get set up with the Chrono Preprocessor. These instructions were written with Linux users in mind.

Please note the versions of each piece of software. Newer or alternate versions may work, but have not been tested and verified for compatibility.

Step 1: Install FreeCAD

Install the latest version of FreeCAD. The download is available for free. Open a terminal. Run the following commands step by step.

  • apt-get -y update
  • apt-get -y install software-properties-common
  • add-apt-repository ppa:freecad-maintainers/freecad-stable
  • apt-get -y update
  • apt-get -y install mesa-utils libglew-dev freeglut3-dev libgl1-mesa-dri freeca
Step 2: Find FreeCad User Workbench directory
  • Open FreeCAD.
  • To find FreeCad User Workbench directory, run following command in FreeCad python panel:
    “App.getUserAppDataDir()”
Step 3: Clone ChronoConcrete Workbench from GitHub to `Mod' in the FreeCad user application data directory.
Step 4: Check "tetgen" Installation

Verify that tetgen is installed properly in FreeCAD.

  • Go to " ~/.local/share/FreeCAD/Mod/chronoConcrete/freecad/chronoWorkbench/tetgen"

  • Run on a terminal > ./tetgen

  • Check if there is a warning such as > bash: ./tetgen: Permission denied

  • Run the following command -> "chmod -R 777 *" to give all permission.

  • Run again on a terminal > ./tetgen

  • Add tetgen path in the bash script. Open the file bashrc and put the following line and save.

export PATH=$PATH:~/.local/share/FreeCAD/Mod/chronoConcrete/freecad/chronoWorkbench/tetgen

Run the command on a terminal > "source ~/.bashrc"

Step 5: "gmsh" Installation
  • Download gmsh from the website

[https://gmsh.info/bin/Linux/ ]

You can select version 4.4.1.

  • Open a terminal and go > ~/gmsh-4.4.1-Linux64/bin

  • Check by runnung on terminal > ./gmsh

  • Add gmsh path in the bash script. Open the file bashrc and put the following line and save.

export PATH=$PATH:~/gmsh-4.4.1-Linux64/bin

Run the command on a terminal > "source ~/.bashrc"