FOAMFlask is an attempt to make a yet another lightweight web-based GUI for managing and running OpenFOAM tutorials and simulations. It allows users to easily select a tutorial, set a case directory, and execute OpenFOAM commands directly from a browser. Since this is targeted for beginners, the documentation has been kept as extensive as possible. FOAMFlask works on Windows, Linux and MacOS.
Important
-
Currently only loading and execution of OpenFOAM tutorials ($FOAM_TUTORIALS) is supported. Creating custom cases is planned. -
Always edit files in
static/ts/directory, never directly instatic/js/. Thestatic/js/files are overwritten during the build process.
- Web interface for OpenFOAM case management.
- Persistently store the CASE_ROOT across sessions.
- Load and copy tutorials from the OpenFOAM tutorials directory.
- Run common OpenFOAM commands (
blockMesh,simpleFoam,pimpleFoam) with live output. - Color-coded console output for stdout, stderr, info, and tutorial messages.
- Fully compatible with OpenFOAM 2506 (adjustable for other versions).
- Security-hardened command execution with input validation and injection protection.
Screenshot (More Screenshots)
FOAMFlask is released under the GPLv3 License.