semvec/pypi-packages huggingface dataset:
petsctools 2025.3
Pythonic extensions for petsc4py and slepc4py
Requires Python: >=3.10

# petsctools

https://firedrakeproject.org/petsctools

## Copyright

Copyright (C) 2025 Imperial College London and others

petsctools is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

petsctools is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.

You should have received a copy of the GNU Lesser General Public License
along with petsctools. If not, see <https://www.gnu.org/licenses/>.
foambo 1.1.3
Configuration-based Multi-objective Bayesian Optimization on OpenFOAM cases with Ax-platform
Requires Python: >=3.10

# Multi Objective Optimization on OpenFOAM cases

<a href="https://zenodo.org/record/7997394"><img src="https://zenodo.org/badge/611991004.svg"></a>

> If you're using this piece of software, please care enough to [cite it](https://zenodo.org/record/7997394) in your publications

Relying on [ax-platform](https://ax.dev) to experiment around 0-code parameter variation and multi-objective optimization
of OpenFOAM cases.

## Documentation

Please consult the [documentation page](/docs) for the specifics although you can see what configuration we support by browsing:
```bash
uvx foamBO --docs
```

## How do I try this out?

Some [examples](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](examples/single-objective) for inspiration.

```bash
# 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.