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.2.0.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

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

foambo-1.2.0-py3-none-any.whl (86.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: foambo-1.2.0.tar.gz
  • Upload date:
  • Size: 92.9 kB
  • 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.2.0.tar.gz
Algorithm Hash digest
SHA256 17b5b469b79b545e8d2d96547a5f2614c72ed6b163fbdc565b4d344a69418a45
MD5 2768a68c80ca9f40a3d30998a0c79ab6
BLAKE2b-256 f3423f77f1305ac13ffeeff8a89dcc62f10040b8d7c3b4aadb5a5e16c559732d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: foambo-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 86.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b19ee99e492a86156fa0f636b3316a0c4e918928109e8ad2387de07fa034358b
MD5 35d5b854f326c30b01c425cba5c55760
BLAKE2b-256 edede697e3ce465323f79b6634fa029b7eb561625d4461d646bf3e3afdd6dd19

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