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.
Metadata
Release files for foambo 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| foambo-1.3.0.tar.gz | 1.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| foambo-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / foambo-1.3.0.tar.gz
| Download URL | foambo-1.3.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bddb61e5e5301a5732a06f3e4f0e913bf6a66a6d20f050a63cfa54ec8fa8bc3e
|
|
BLAKE2b-256 checksum How to use checksums |
bbb4377fe41057699278b58cc67662d244d6963dddbcc44cbcb0fb4111b91069
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / foambo-1.3.0-py3-none-any.whl
| Download URL | foambo-1.3.0-py3-none-any.whl |
|---|---|
| Size | 246.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
893c3cd6544150d3d19b6fa3b61aec0d065cca00b06230dd084cc79e482d8044
|
|
BLAKE2b-256 checksum How to use checksums |
c9680b517aa5d35ee0cfff4a6e4b9f8ca94f4dbb71d61834e5c5090edf349d65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|