hxaxtma / mbdyn-adapter

**experimental** preCICE-adapter for the open source multibody dynamics analysis solver MBDyn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

preCICE adapter for MBDyn

Installation

No installation configured, instead include folder in PYTHONPATH

export PYTHONPATH=$PYTHONPATH:<path-to-adapter>

Dependencies:

  • MBDyn with Python interface, develop branch for python 3 support
  • preCICE with Python interface versio 2 or higher
  • OpenFOAM-adapter for preCICE

MBDyn installation

git clone https://public.gitlab.polimi.it/DAER/mbdyn.git
cd mbdyn
git checkout develop
CPPFLAGS=-I/usr/include/suitesparse PYTHON_VERSION=3 ./configure --enable-python=yes
make 
sudo make install

Dependencies:

  • UMFPACK (Part of libsuitesparse-dev in Ubuntu repository.)

How to use it

Add mbdyn executable path to $PATH

export PATH=$PATH:/usr/local/mbdyn/bin

Add the Python interface path to $PYTHONPATH

export PYTHONPATH=$PYTHONPATH:/usr/local/mbdyn/libexec/mbpy

Requires, see example folder:

  • pyhton script for calling adapter
  • config file and mesh file currently only support gmsh-files

Acknowledgements

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 642682 (AWESCO).

About

**experimental** preCICE-adapter for the open source multibody dynamics analysis solver MBDyn

License:GNU General Public License v3.0


Languages

Language:Python 88.0%Language:C++ 11.5%Language:GLSL 0.6%