File structure for stress analysis

Disk files created by Stress Analysis live in the document hierarchy, beneath their owner, that is the component being analyzed. When a simulation is created:

  1. A folder is created with the same name as the assembly or part file.
  2. Within a document named folder, a folder (AIP) and subfolder (Stress Analysis) are created.
  3. In the Stress Analysis folder, a GUID (unique identifier) folder provides the means to avoid naming collisions between assembly and part file names.
  4. In the GUID folder, a folder for the BREP files and a folder for each simulation is created. If a simulation is renamed, the folder is renamed to reflect the name change. Illegal characters are changed to an underscore. Where naming collisions occur one of the simulations receives an index number enclosed in parentheses.
  5. Each of the target files (.msh, .res, and so on) is named using the <assembly name>_<file type>_GUID to ensure unique naming for archival purposes.
  6. If the files are moved without the appropriate document controls tools, a file resolution error occurs. The files are rebuilt in the expected folders.
  7. OLE links are created and updated during file save only.
  8. OLE links are deleted, per simulation, when the results are invalidated.

Visually the folders look like the following:

<file name>.iam        
<file name>        
  /AIP/      
    Stress Analysis    
      /<GUID>/  
        BREP_<ID>/
          <file name>_sat_GUID.sat
          <file name>_x_t_GUID.x_t
          <file name>_ins_GUID.ins
          <file name>_wiz_GUID.wiz
          <file name>_wiz_GUID.tes
        BREP_<ID>/
          ...
        Simulation_<Sim_ID>/
          <file name>_msh_GUID.msh
          <file name>_res_GUID.res
        Simulation_<Sim_ID>/
          ...
        Simulation_<Sim_ID>/
          ...