pyHarm logo

pyHarm

Harmonic Balance code for mechanical vibration systems with nonlinearities

7 stars 3 forks Apache License 2.0

Links

About

pyHarm Basics

pyHarm is a Harmonic Balance Method (HBM)-based solver for mechanical nonlinear system simulations, distributed under the Apache 2.0 license and published on PyPI.

pip install pyharm-os

The code is built as a Python package and is designed to support a wide range of studies in nonlinear dynamic simulations. Its main feature is forced response frequency analysis using a harmonic balance solver enhanced with continuation methods. The codebase welcomes external contributions through the merge request process.

pyHarm Main Features

The philosophy behind the code is to treat the mechanical system as an assembly of elementary elements/connectors, so their contributions to the residual and Jacobian can be evaluated independently. It includes state-of-the-art contact and friction models, including coupled contact/friction models, to solve challenging configurations, including industrial use cases.

The code extensively uses the factory design pattern in its subpackages to provide abstraction and flexibility when developing new components. These components can either be included directly in the package, loaded dynamically in the kernel using the plugin system, or built as independent extension projects that can be loaded when pyHarm is initialized in the kernel.

Learn About pyHarm

Documentation is available on Read the Docs: documentation link

A set of tutorials, in the form of Jupyter notebooks, is available directly in the source code to help users learn more about both the harmonic balance simulation method and the package itself.

Tags


Related Projects

EMerge logo

EMerge

208
FESTIM logo

FESTIM

125
PyBuildingEnergy logo

PyBuildingEnergy

48
QuaTorch logo

QuaTorch

12
Archimedes logo

Archimedes

159
AutoEmulate logo

AutoEmulate

114
PySimHub

Community hub for Python simulation and numerics tools.

© 2026 PySimHub. MIT License.

Data updated Unknown