You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a python wrapper for HAMS, a boundary element method for hydrodynamic analysis of submerged structures.
There is cylinder test case that demonstrates usage and outputs in test/test_cylinder.py.
Prerequisites
pyHAMS requires a Fortran compiler and OpenBLAS / MKL / LAPACK. We strongly recommend the Miniforge distribution of conda to satisfy package dependencies, as the traditional Anaconda distribution can be slow and struggle with mapping out dependencies.
Install (as a library)
To install pyHAMS as a library that can be used by WEIS or RAFT in the backend, conda is your best option:
$ conda install pyHAMS
Install (from source)
If you would like to build the project locally from source for easier access to the underlying methods and tests, we still recommend using conda to satisfy dependencies.
If developer/editable mode, replace the final step with:
$ pip install --no-build-isolation -e .
The --no-build-isolation option is important per Meson guidelines. Note that this package uses mesonpy for an installation backend, so there is no setup.py file.