Read subcase / request from TXT-file and apply Report Template including creation of math based attached curves

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited February 6 in Altair Exchange

Overview

Refers to script version v3

 

This script:

  • loads request-list from TXT-file
        TXT-Format: one request each line, no empty lines
  • loads subcase-list from TXT-file
        TXT-Format: one subcase each line, no empty lines
        pay attention to exact subcase naming in OS-input compared to HG-reader / H3D >> difference in brackets
  • loops over requests and subcases and applies report each time
  • creates second page with attached curves  >> one curve for each request for all its subcases

 

Resulting Page 1:

 

image

 

 

 Resulting Page 2 with attached curves:

 

image

 

 

Pre-Requisite

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

 

User input:

  • set request-file / result-file / subcase-file / report-file / report-name in header lines 23 - 27
        full path is required for some of these parameters (could be handled by more logic through file / join commands etc.)
  • set Report Template options in header lines 31 - 33

 

 

Usage/Installation Instructions

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

 

Execution:

  • open empty HyperWorks session and run script from DropDown  File > Load > Script

 

image

 

 

Post-Requisite

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