Importing Multiple Field Designs

The File menu option Process multiple designs > Import field designs imports multiple field designs at once. oSP3D expects the following directory structure:

.
+-- Design0001  # reference design directory
|   +-- file1   # file containing field or mesh data
|   +-- file2
|   +-- ...
+-- Design0002
|   +-- file1
|   +-- file2
|   +-- ...
+-- Design0003
...

If the reference mesh and field data mesh diverge from each other, oSP3D provides mesh morphing and mapping algorithms to adjust the FEM mesh position and map field data onto the reference mesh. For a description of the compatible mesh mapper, see Overview of Mesh Mappers.

oSP3D supports scalar fields only. If a file contains vector field data (such as stress tensors), each component is imported individually. An index is appended to the quantity identifier for each tensor component.

To import field designs:

  1. Prepare the data objects to import.

    You can import field and mesh data objects.

  2. On the first wizard page, add files located in your reference design directory.

    As you select appropriate file types, oSP3D parses them for field and mesh dash. oSP3D automatically detects the reference directory's path.

  3. If you want oSP3D to create unique identifiers for quantities already imported, select the Create unique idents check box.

  4. If you are using a mesh mapper other than Compatible, add the mesh file to the list of imported files.

  5. Review the list of data objects found during file parsing:

    1. Ensure that only the identifiers to be imported are selected.

    2. Set a custom identifier for each data object.

  6. On the second wizard page, ensure that Base path points to the directory containing all design directories.

    You can adjust the name of the individual design directories, defined by Design directory format string, using Perl Regular Expression syntax. In most cases, oSP3D automatically identifies the correct expression, especially when importing data from optiSLang or Ansys projects. If this auto-detection fails, you can either select one of the predefined expressions from the list or enter a valid Perl expression. This expression can include directory separators, instructing oSP3D to descend several directory levels during its file system scan.


    Caution:  While this procedure is convenient, it is prone to errors, such as missing file system permissions. Additionally, if numerous directories or numerous directory separators are used in the regular expression, long scan durations can occur.


    The file system scan does not follow any symbolic links. If the design number is to be extracted through Design directory format string, rather than generating one automatically in the range [1-n], you must define a sub-expression.

    oSP3D detects the value for Design number range based on Design directory format string. You can edit it manually, such as 1-10;12;14-20, or, if an optiSLang BIN file is available, you can use it to exclude failed designs form the import.

  7. When applying (parallelized) mesh morphing and mapping algorithms, limit the number of designs imported in parallel by setting a non-zero value.

When importing mesh files, you can:

  • Import node coordinates for each design

  • Import mesh data from different files, such as node information in one file and element information in another file


Note:
  • If an error occurs during the file import, the current design is excluded and import of the remaining designs continues.

  • When data items (such as eroded elements) are missing, oSP3D marks the element or node as missing and calculates an interpolated value based on the topological neighbors.