simvue-io / integrations

A repository to store the integrations (or wrappers) of the Simvue Client for different use cases
Apache License 2.0
0 stars 0 forks source link

Added Soft Abort #27

Closed wk9874 closed 1 week ago

wk9874 commented 2 weeks ago

New Connector Feature - Soft Abort

Connector(s) Edited

Generic, MOOSE, FDS

Description of Feature

Use the new 'abort_callback' functionality of v1.1 Python API to perform a soft abort of run when an abort is triggered by the server. This means that instead of the whole script being exited, the simulation is stopped gracefully (including using a .stop file for FDS), and then the simvue run is allowed to complete by running post_simulation(). This means that unlike before, results are uploaded from partial / aborted runs, and if using a for loop to perform multiple simulations using multiple calls to .launch() the abort will not prevent this.

Also adds upload of all MOOSE output files to server, not just Exodus.

Adds unit tests for this functionality for MOOSE, FDS, OpenFOAM

Testing Performed

Documentation

Links to Issues

Closes #20 Closes #22

Checklist

Comments

No need to update documentation No integration tests implemented yet One unit test failing locally, known issue #21