Skip to content

SHIPFLOW Workbench

SHIPFLOW Workbench is an editor and simulation launcher for SHIPFLOW configuration files and their results. Where SHIPFLOW Design5 builds a case graphically, Workbench works directly on the configuration file: you edit it, run SHIPFLOW on it and follow the output, all in one window. It runs on Windows and Linux. This page describes SHIPFLOW Workbench 1.00.

Available from SHIPFLOW 9.0

SHIPFLOW Workbench is included in SHIPFLOW 9.0 and later. SHIPFLOW 8.0 installations do not contain it.

What it does

  • Opens several configurations at once, each in its own tab, and highlights the active one together with its path.
  • Wraps long configuration lines on screen without changing the saved file.
  • Shows the active configuration's <configuration>_OUTPUT file in the Results pane beside the Configuration pane, refreshes it automatically and follows its last line.
  • Runs SHIPFLOW on the active configuration and records its standard output and standard error in a simulation log for each configuration. The log is saved as <configuration>.log beside the configuration, written about every five seconds and when the run finishes, and replaced on each run. Stopping a simulation ends the complete process tree that the run started. Only one simulation can run from Workbench at a time.
  • Opens the HTML report of a computation, and the SHIPFLOW user manual, in your web browser.
  • Saves the active file or saves it under a new name, and warns about unsaved changes.

Starting Workbench

  • Linux: the program is in the workbench folder of the SHIPFLOW installation. Start it with shipflow_workbench in the bin folder; this works from any directory. Workbench needs an X11 or XWayland desktop.
  • Windows: run ShipflowWorkbench.exe.

No separate .NET installation is needed.

How SHIPFLOW is run

For a configuration named case_name, Workbench starts SHIPFLOW with the configuration's own folder as the working directory and the file name case_name as the argument. It then expects the usual SHIPFLOW files beside the configuration:

File or folder Content
case_name_OUTPUT The main output, shown in the Results pane
case_name_RUN_DIR The run directory
case_name_REPORT The folder with the HTML report
case_name.log The complete simulation log: standard output, standard error and Workbench messages, written by Workbench

Settings file

Workbench reads its paths from ShipflowWorkbench.cfg, which is stored beside the program. It has one KEY=VALUE entry per line:

Key Meaning
SHIPFLOW_LAUNCHER The SHIPFLOW launcher that runs a configuration, for example shipflow.bat on Windows or the shipflow script on Linux. Workbench updates this entry when you change the launcher field in the program.
USER_MANUAL The main HTML file of the SHIPFLOW documentation, opened by the User manual button and F1.

Full paths are recommended. A relative path is read relative to ShipflowWorkbench.cfg. In a Linux installation the file already points to the installation's own files:

SHIPFLOW_LAUNCHER=../bin/shipflow
USER_MANUAL=../doc/site/index.html

Your personal state, such as the last opened configuration, is stored separately in Flowtech/ShipflowWorkbench/settings.json under the application-data folder of your operating system.

Keyboard shortcuts

Shortcut Action
Ctrl+O Open one or more configurations
Ctrl+S Save the active configuration
Ctrl+Shift+S Save all modified configurations
Ctrl+W Close the active configuration tab
F5 Run the active configuration
Shift+F5 Stop the simulation
F1 Open the SHIPFLOW user manual
  • The commands and keywords of a configuration file are described in the User Manuals.
  • Troubleshooting lists common errors and the checks that fix them.