User Tools

Site Tools


wiki:workfloweditor

This is an old revision of the document!


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:

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

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

Alternatively, you can test it with Docker. The repository is here.

wiki/workfloweditor.1561044093.txt.gz · Last modified: 2019/06/20 17:21 by stanislavsulc