Modifying and Exporting Multiple Field Designs

The File menu option Process multiple designs > Modify/Export field designs modifies and exports existing design directories adhering to the optiSLang design directory structure:

.
+-- Design0001  # reference design directory
|   +-- file1
|   +-- file2
|   +-- ...
+-- Design0002
|   +-- file1
|   +-- file2
|   +-- ...
+-- Design0003
...

oSP3D exports field data objects contained in the current database and sorts them into existing design directories according to their design identifier.

To modify and export field data:

  1. Define the reference design directory template.

    All design directories are modified following this template.

  2. On the first wizard page, set the path of the reference design.

    Files can be located in a subdirectory of the reference design path. The list of parsed files is exported relative to this path.

  3. Determine your use case and perform the necessary steps:

  4. After completing the steps for your use case, on the second wizard page, set Base path to the directory containing all design directories.

  5. Set Design directory format string to detect all design directories contained in the base path.

    If necessary, you can use Perl Regular Expression syntax to adjust the expression. For more information, refer to step 6 in the previous topic.

    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.


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

  • Eroded data cannot be exported. If eroded data exists, an interpolated value is taken.

  • The modified files must contain meshes and data that are compatible with the reference mesh.


Creating New Field Design Output Files

To create new field design output files:

  1. Select Create new file to export the resulting field design in a file format of your choice.

    This appends a new row to the list of data to export.

  2. In the list of data to export, select the desired quantity identifier.

  3. Select a design identifier for export.

  4. If you are modifying and exporting field designs:

    1. Select Use current design number to sort the output file in the existing design directories according to the exported field object's design identifier.

      Otherwise, any field result object present in the database may be exported with the newly created file.

    2. Return to step 5 in Modifying and Exporting Multiple Field Designs.

  5. If you are exporting a reference design directory template and the files needed to generate new field designs in an optiSLang workflow:

    1. Select Evaluate Field-MOP or Generate random field to evaluate previously created field models for the selected quantity identifier.

      Otherwise, any field result object present in the database may be exported with the newly created file.

    2. Return to step 4 in Generating Field Objects in optiSLang for Use in a Simulation.

Modifying Existing CAE Solver Input Files

During processing with optiSLang, the CAE solver input file selected for modification must exist in each design directory. oSP3D is unable to generate CAE solver input files with complete settings.

To modify field data in an existing CAE solver input file:

  1. Select Modify file to edit field data in the file but leave it otherwise unchanged.

    For each modifiable field data object detected in the file, a new row is added to the list of data to export.

  2. In the list of data to export, select the desired quantity identifier.

  3. Select a design identifier for export.

  4. If you are modifying and exporting field designs:

    1. Select Use current design number to modify files in the existing design directories that match the exported field object's design identifier.

      Otherwise, any field result object present in the database may be exported with the newly created file.

    2. Return to step 5 in Modifying and Exporting Multiple Field Designs.

  5. If you are exporting a reference design directory template and the files needed to generate new field designs in an optiSLang workflow:

    1. Select Evaluate Field-MOP or Generate random field to evaluate previously created field models for the selected quantity identifier.

      Otherwise, any field result object present in the database may be exported with the newly created file.

    2. Return to step 4 in Generating Field Objects in optiSLang for Use in a Simulation.


Note:  You can specify node coordinate modification either by absolute coordinate values or by deviations from the reference mesh. If you specify both absolute coordinate values and deviations, the behavior is undefined.