Custom Derived Results at HyperView-start-up

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited January 15 in Altair HyperWorks

Derived Results can be used in HyperView to create your own custom results based on a formula. The following article shows how these custom results can be made available directly at HyperView-start-up.

 In general, Derived Results can be defined by using the Expression Builder.

image

 
Here the formula for the result/s can be defined as desired and each result be saved with a label.

2_grafik.png

Next a XML expression of these formulas is needed. Open the TCL Console.

image

and execute the attached script "ResMath2H3D.TCL" with this command and your own file path: source D:/KB/Data/ResMath2H3D.TCL

image

 
The TCL will create a H3D-file with the Derived Results included (which is not the topic of this article).

image

 

and upon Denying the XML deletion, the desired XML-file:

image

 
Take the datatype block out of this newly created XML, and replace it in the attached "custom_Derived-Results.xml" like shown below. Also pay attention to the label in line 1 and make sure it is named identically to the entry in the preference file (see next screenshot).

image


Now the XML needs to be referenced by a preference definition, to have it later automatically loaded at HyperView-start-up. Use the attached "preferences_custom-Derived-Results.mvw" and adapt the path and name of the XML according to your needs. Also, as mentioned above, make sure the marked label is identical to the one from the XML file.

image

Open the GUI to handle preference files

image

and

1. Register the newly defined preference file.

2. Select it from the preference file list.

3. Load it.

image

In the Load panel now an additional Result-Math template appears. If you select it and load your model / result file/s

4_grafik.png

the result definitions from the XML are present and can be activated as Contour Plot:

image

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.