Skip to content

bepnos/OpenFOAM-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFOAM-GUI

Developed a GUI for CFD software OpenFOAM, using the package PyFoam it also enables for easy variation of the given problem with a few clicks of the mouse in the GUI. It uses containers to connect to a remote server to make the calculations allowing for low-end hardware to still succesfully use the software aswell as a website you can connect to. Code and interface is primarily written in Dutch. It currently is set to the dambreak case which is described in the picture below

openfoamfoto2

Files

The main.py file contains the Python code to change the parameters of the Dambreak case, the app.py file combines this functionality with a GUI where you can see the result in a GIF format aswell (see below). The GUI is made with tkinter, the rendering of the case and GIF-file is done with PIL and there is also usage of threads to increase performance. openfoamfoto

Some example variations are stored in the cloned-dambreak directories, these are viewable in software like ParaView. Simply open the .foam file in ParaView and choose how you want to view the case.

Lastly the web directory contains a website version of the GUI using docker containers and the Flask library.

About

GUI for CFD software OpenFOAM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages