🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Reading Grid Point Stress Data using Tcl

User: "Girish2121"
Altair Community Member
Updated by Girish2121

Hello everyone,

 

I am new to Tcl . I am interested in reading the result file(H3D FILE)  i.e read Grid Point Stress Data of particular node ids . 

 

What commands should be using ?Please reply if you have  tried this before!!

Find more posts tagged with

Sort by:
1 - 9 of 91
    User: "tinh"
    Altair Community Member
    Updated by tinh

    hi,

    you can file relevant commands in hyperworks destop reference guide

    <?xml version="1.0" encoding="UTF-8"?>post-3195-0-37989400-1446299020_thumb.pn

    User: "Girish2121"
    Altair Community Member
    OP
    Updated by Girish2121

    Thanks Tinh,

    I got off to to a start with help of Hyperworks help !!.

    I was looking for any particular tutorial where results are extracted from the model .I am stuck with the Hyperview Hierarchy  sequence !!

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    Try looking in hw scripts exchange

    User: "Girish2121"
    Altair Community Member
    OP
    Updated by Girish2121

    Hello Tinh,

     

     Coming back to forum after couple of months!!

    I am facing difficulty using the SetDataType command in the ContourCtrl  class of Hyperview 

    Though I can set the query to Displacement, Grid Point Stresses(Prop 1),etc but I am not able to  choose  sub options like  Mag,X,Y,Z and Von Mises ,Signed VonMises, respectively.How do I do it ?

     

    Your help is very much appreciated !!

    Thanks and Regards,

    Girish

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi, 

    use SetDataComponent command

    User: "Girish2121"
    Altair Community Member
    OP
    Updated by Girish2121

    Yes it works !! 

     

    With respect to the Hyperview help on Tcl/TK Classes , the description on SetDataComponent is a bit misleading. It says the options can be either node,line,shell or solid.

     

    Can  you elaborate  on the following classes(with significance to displaying a contour plot) :

    1. SetDataComponent

    2.SetShellLayer

    3. SetDimensionEnabled 

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Yes, hw help has some mistake while explaining functions

    I do not ever use above functions, I just guess.

    so SetDataComponent => will set component of DataType, example: DataType=Displacement, DataComponent=X

     

    it's better for you to try some values, and then look for any affect

    User: "Girish2121"
    Altair Community Member
    OP
    Updated by Girish2121

    Hello tinh,

    Greetings !!

          I intend to read  all the labels of the entity sets available in a HyperView Model file. How should I do it ?

    I tried using GetSelectionSetHandle command, but it requires that I get the handle for each set then read the label .

    Something similar to GetSelectionSetList  will be helpful or any other method ?

     

    Regards,

    Girish

     

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Yes, do a loop through all sets, get handle and label of each one and append it to a list

    finally print this list of all labels