Multi-threading with DPF post evaluations In Mechanical
Has anybody experimented with using the iron python threading module to start an async thread that does DPF post calculations?
Use case is this could be called immediately after the solve is done since the results file is available. Users can still interact with Mechanical since the call after the solve is simply to start a parallel thread that points to the .rst file and starts a dpf evaluation. For post processing that takes a long time, it leaves Mechanical responsive to the users, while still calculating with DPF in background.
Users could then get a notification when it is done, and pull results from memory or from a .csv or .h5 file that DPF writes.