Skip to content

dhruvhaldar/FOAMFlask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,329 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License Python Flask TypeScript Tailwind OpenFOAM Docker pydoc3 uv swc trame pyvista

FOAMFlask Banner

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

  1. Currently only loading and execution of OpenFOAM tutorials ($FOAM_TUTORIALS) is supported. Creating custom cases is planned.

  2. Always edit files in static/ts/ directory, never directly in static/js/. The static/js/ files are overwritten during the build process.


Features

  • 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 Geometry

License

FOAMFlask is released under the GPLv3 License.

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors