Accessing .results later without re-running an analysis in compas_fea


User question:

Once the Structure analysis has gone back and forth to Abaqus and the output data is stored in the .results attribute, is there any chance to keep working with the stored results data independently, without having the re-run analyze_and_extract every single time?


Yes, this can be done in two ways:

  1. You can save the Structure as an .obj file with the method structure.save_to_obj() after it has been analysed and has the results stored in structure.results. You can then load it later with the method structure.load_from_obj(), it will still have all results from before and all geometry, loads, elements etc.

  2. A results.json is automatically saved as a hardcopy of all of the analysis results, located in the path set at the time of analysis.