/parabem

2d and 3d panelmethod to compute potential flow

Primary LanguageC++GNU General Public License v3.0GPL-3.0

parabem

Build Status

result

parabem is a python module that provides methods to compute the potential flow over 2D and 3D objects with boundary-elements (panel-method).

the c++ code is wrapped with pybind11 to python. This allows fast computation (eigen) with a high-level interface.

Dependencies

Install

initialize

mkdir build && cd build
cmake ..
cmake -DPYTHON_EXECUTABLE=/usr/local/bin/python3 ..

use cmake-gui to fix not found packages or wrong versions (eg. python, pybind11, ...)

build and install

if cmake doesn't complain, install the package. (the number at the end is the number of compile jobs)

sudo make install  -j2

Using the package (with python)

<<< import parabem
<<< help(parabem)

for more information look into the tutorial