You can find an extensive hands-on tutorial, courtesy of the ALCF PythonFOAM workshop, here: https://www.youtube.com/watch?v=-Sa2OEssru8 PODFoam/: A pimpleFoam solver ...
YAPSS is a Python package for numerically solving optimal control problems using pseudospectral methods. Features include: Create and activate a virtual environment, and install YAPSS: $ conda create ...