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
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
pyproject.toml
Integrations
andExamples
pages of the documentation have been updated to include information about your new feature (if applicable)Comments
No need to update documentation No integration tests implemented yet One unit test failing locally, known issue #21