Getting Maximal Stress Value

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hey guys,

 

is there a .tcl-command which shows the maximal node stress of a structure after a simulation?

 

Kind regards and thanks in advance

Simon

Answers

  • imoto
    imoto
    Altair Employee
    edited January 2019

    You can get the top 1 using Selection Set.

    Here is example.

     

    set type 'node'; #element or node#
    set t [clock click];
    hwi OpenStack;
    hwi GetSessionHandle sess$t;
    sess$t GetProjectHandle proj$t;
    proj$t GetPageHandle page$t [proj$t GetActivePage];
    page$t GetWindowHandle wind$t [page$t GetActiveWindow];
    wind$t GetClientHandle ****$t;
    ****$t GetModelHandle modl$t [****$t GetActiveModel];
    modl$t GetSelectionSetHandle set1$t [modl$t AddSelectionSet $type];
    set1$t Add 'contour top 1';
    set1$t SetLabel '$type set top 1';
    ****$t Draw;
    tk_messageBox -message 'Top1 $type ID = [set1$t GetList]';
    hwi CloseStack;