Skip to main content

A Python package for semi-analytical hydrodynamics modeling including matched eigenfunction expansion method

Project description

OpenFLASH ⚡️

Open-source Flexible Library for Analytical and Semi-analytical Hydrodynamics

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Unit Tests codecov GitHub

DOI GitHub Release PyPI - Version Conda Version

About The OpenFLASH Project

The OpenFLASH project is a Python package designed for solving hydrodynamic boundary value problems using eigenfunction expansion methods. It provides a modular framework for defining complex geometries, setting up multi-domain problems, performing numerical computations, and analyzing results, particularly for linear potential flow hydrodynamics. It can be significantly faster than Boundary Element Method calculations although is restricted to certain geometries (currently axisymmetric compound cylinders).

When referencing this work, please reference our citation.cff.

This project is licensed under the MIT License. See the LICENSE file for details.

Installation

Three common installation options are shown below. For more details, see the installation section of the docs.

Option 1: via pypi (recommended for users who manage environments with venv or similar)

pip install open-flash

Option 2: via conda (recommended for users who manage environments with conda)

conda create -n openflash-env sea-lab::open-flash
conda activate openflash-env

Option 3: via git (recommended for developers)

Note - if you are a developer outside of the SEA Lab, please create a fork and clone your fork.

  1. Clone the repository:
git clone https://github.com/symbiotic-engineering/OpenFLASH.git
cd OpenFLASH
  1. Install the package:
pip install -e .
  1. Install dependencies:
pip install -e .[dev]

Usage

Please see our documentation and tutorial notebook. The documentation provides detailed instructions and API reference for the different modules and classes within the openflash package.

If you prefer not to utilize the package programatically, the model can also be run with an interactive web app (the site may take several seconds to load).

Theory

Please see our equations documentation and references for mathematical background and derivations as well as validation information.

MATLAB

We also have a MATLAB code version, although the Python package is intended as primary for future development. MATLAB only supports bodies consisting of 2 concentric cylinders, rather than the arbitrary N concentric cylinders in the Python package.

See matlab/src/run_MEEM.m for the symbolic and numeric code, see matlab/test/ for some scripts to get results, and matlab/dev for various matlab experiments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_flash-1.0.21.tar.gz (17.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_flash-1.0.21-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file open_flash-1.0.21.tar.gz.

File metadata

  • Download URL: open_flash-1.0.21.tar.gz
  • Upload date:
  • Size: 17.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_flash-1.0.21.tar.gz
Algorithm Hash digest
SHA256 931fd71a3cdf33f0fcf04c27153fd5da3c8afb10b8e1423217e79883c0b12dad
MD5 8efd07deadc49331343c8c98361fba97
BLAKE2b-256 698ec35ec759d36d6081a5e6008e25de00628f35b8c77857583bc613cafcdb7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_flash-1.0.21.tar.gz:

Publisher: publish-package.yml on symbiotic-engineering/OpenFLASH

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_flash-1.0.21-py3-none-any.whl.

File metadata

  • Download URL: open_flash-1.0.21-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_flash-1.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 13a8dfc8e9fe8e8331fd12faa7cfc3609d8feaa61d434fb9e0ffe09cb8c28236
MD5 7ae6e0d59bf00a1671b7f9dd81fad4c6
BLAKE2b-256 06a2ff7b1e92f2df615a3ca96e61a22aac99ca27afeb9ec8b88bedb205257b72

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_flash-1.0.21-py3-none-any.whl:

Publisher: publish-package.yml on symbiotic-engineering/OpenFLASH

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page