Skip to main content

Configuration-based Multi-objective Bayesian Optimization on OpenFOAM cases with Ax-platform

Project description

Multi Objective Optimization on OpenFOAM cases

If you're using this piece of software, please care enough to cite it in your publications

Relying on ax-platform to experiment around 0-code parameter variation and multi-objective optimization of OpenFOAM cases.

Documentation

Please consult the documentation page for the specifics although you can see what configuration we support by browsing:

uvx foamBO --docs

How do I try this out?

Some examples, which range from simple and moderate levels of complexity, are provided for reference.

Strictly speaking, you don't need an OpenFOAM installation unless you are running a CFD case. You can always use your own code to evaluate the trials; but parameters must be passed through an OpenFOAM-like dictionary (See single-objective opt. example for inspiration.

# Install the package
pip install foambo
# Clone the repo to get the examples
git clone https://github.com/FoamScience/OpenFOAM-Multi-Objective-Optimization foamBO
cd foamBO/examples/single-objective
foamBO --config SOM.yaml

Contribution is welcome!

By either filling issues or opening pull requests, you can contribute to the development of this project, which I would appreciate.

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

foambo-1.0.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

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

foambo-1.0.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file foambo-1.0.0.tar.gz.

File metadata

  • Download URL: foambo-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for foambo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2709ef950eb0175a77984cd7392b48ae6c38123292cb8650baa2fe95f86734d3
MD5 c714f3a2900849d170bc26a82f91e786
BLAKE2b-256 5e3e6bdb758b0352261032fb22f64e66d89b391b4947d5436aa1ef39a9d657bb

See more details on using hashes here.

File details

Details for the file foambo-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: foambo-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.18

File hashes

Hashes for foambo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c77b024bdb1f317e0828debdba96a41031e3fe5f74c044dd73af4b6e955d9e89
MD5 1b6f1db0372b1befc4ea4a2b190ec339
BLAKE2b-256 4405ad061b90e5e1cf7eadbb76226328709e9f32bc2ba2c6c56f6b0867092825

See more details on using hashes here.

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