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.3.0.tar.gz (1.0 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.3.0-py3-none-any.whl (246.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: foambo-1.3.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for foambo-1.3.0.tar.gz
Algorithm Hash digest
SHA256 bddb61e5e5301a5732a06f3e4f0e913bf6a66a6d20f050a63cfa54ec8fa8bc3e
MD5 31dc3428ad19a900382487ae57a2f58f
BLAKE2b-256 bbb4377fe41057699278b58cc67662d244d6963dddbcc44cbcb0fb4111b91069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: foambo-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 246.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for foambo-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 893c3cd6544150d3d19b6fa3b61aec0d065cca00b06230dd084cc79e482d8044
MD5 f8f4393389f90ff48fbd82bd214c6fc2
BLAKE2b-256 c9680b517aa5d35ee0cfff4a6e4b9f8ca94f4dbb71d61834e5c5090edf349d65

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