User Tools

Site Tools


wiki:workfloweditor

Workflow Editor and Code Generator

This tool is a graphical editor of a workflow structure, which can generate a Python code for the simulation. It is based on MuPIF Workflow Generator, which provides the Python class or execution code generation.

MuPIF Workflow Editor, is a graphical extension for MuPIF Workflow Generator to compose the simulation workflows, define the simulation parameters and generate the Python code easily.

How to install on Ubuntu:

apt-get install python3-pyqt5
pip install termcolor
pip install mupif
git clone https://github.com/mupif/workflowgenerator.git
git clone https://github.com/mupif/workfloweditor.git

How to install on Windows:

pip install pyqt5
pip install termcolor
pip install mupif
git clone https://github.com/mupif/workflowgenerator.git
git clone https://github.com/mupif/workfloweditor.git

On both these operating systems you need to add the paths of workflowgenerator and workfloweditor to the system variable PYTHONPATH.

Runnig the examples:

# An empty workflow
python workfloweditor/workfloweditor/examples/example01_empty/example01.py

# Thermo-Mechanical simulation
# 1) A class workflow of the thermo-mechanical simulation.
python workfloweditor/workfloweditor/examples/example02_tm_cantilever/main_class_code_generation.py
# 2) An execution workflow using the thermo-mechanical class workflow from the line above together with export to VTK.
python workfloweditor/workfloweditor/examples/example02_tm_cantilever/main_exec_code_generation.py
wiki/workfloweditor.txt · Last modified: 2019/06/24 14:39 by stanislavsulc