Example script to load model / set subcase / set simulation step / set increment / define contour plot

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited February 2 in Altair Exchange

Overview

Example script to load model / set subcase / set simulation step / set increment / define contour plot

 

 

Pre-Requisite

-------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Place .TCL and example .H3D-result file in same folder.

The script header contains variables that can be changed by the user upfront.

 

This script will:

  • load the .H3D as model and result file
  • set a specific subcase
  • set the increment to the last available for transient or non-linear analyses with increments / time steps (this is necessary to have the contour plot loaded fully)
    NOTE: for linear static results, the animation frame can to be set instead (for this, un-comment line 55 and line 57, and comment line 53)
  • apply a contour plot (line 18 and line 65 can be un-commented for defining a shell layer)

 

 

Usage/Installation Instructions

-------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Run script from DropDown  File > Load > Script

 

image

 

 

Post-Requisite

-------------------------------------------------------------------------------------------------------------------------------------------------------------