PhysicsAI-T: 2020 Read Vector Data

In this tutorial, you will directly parse vector results contained in .out or .pch files accompanying the .h3d during dataset creation.

The .out/.pch files should have the same name and be located in the same subdirectory.

Before you begin, copy the file(s) used in this tutorial to your working directory.

Note:

Unzip the project doe_1.zip and inspect the contents. This should result in a directory containing 25 run_000XX folders. Each folder should have a subdirectory called m_1 containing beam.h3d and beam.out files. If a beam.out file is queried in HyperGraph, the available vector responses can be seen.

Step 1. Create Project

  1. Open SimLab.
  2. From the menu bar, click File > Extension > PhysicsAI to open the PhysicsAI ribbon.

  3. From the PhysicsAI ribbon, select the Create Project tool.

    The Create Project dialog opens.

  4. For Project Name, enter Vector_reading.
  5. For Location, click Choose and select a save location for the project.
    Note:

    The save location for the project contains all files created by PhysicsAI, but the original files used for training do not need to reside in the project folder.

  6. Click OK.

Step 2. Create a Dataset

  1. From the PhysicsAI ribbon, select the Create Dataset tool.

    The Create Dataset dialog opens.

  2. For Dataset Name, enter Beam_data.
  3. For File System, click and navigate to the doe_1 folder.
  4. Select and transfer all of the .h3d files.
  5. Select the Enable train test split check box and enter 80 for the Train %.
  6. Select the Extract time-history vectors check box.

  7. Click OK.

    The dataset is extracted, and the Datasets dialog opens.

  8. Visualize Dataset Results
    1. Select data from the Train or Test dataset

    2. Click "Display file"
    3. The .h3d model and Vector results will load in the modeling window for the selected run ID

  9. Click Close.

Step 3. Train Model

  1. From the PhysicsAI ribbon, select the Train an ML Model tool.

    The Train Model dialog opens.

  2. Define the following details and click Train.

    1. For Model Name, enter Vector_model.
    2. For Inputs, select cae.mesh.
    3. For Vector, select out Eigenvalue - Mode 3 – Value
      Note: The vectors are names in the following format: out {Type} – {Requests}-{Components}.
    4. Under Method, select GCNS.

      The Model Training dialog opens.

    Tip:

    Once the status changes to Running, you can click Show Log view the training logs.