🎉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

Find and delete elements that fail validity check

User: "etrud011"
Altair Community Member
Updated by etrud011

Hello,

 

I would like to know how to find elements that fail the validity check and then delete them. Is there a method to do so in tcl?

 

Thank you

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "vipin_22401"
    Altair Community Member
    Updated by vipin_22401

    Hi @etrud011,

     

    you can record the command using F10 panel and use it accordingly, for example

     

    *createmark elements 1 'displayed'
    *createmark elements 2
    *elementtestjacobian elements 1 0.7 2 2 0 '  2D Jacobian  '
    *deletemark elems 2

    User: "Pandurang"
    Altair Community Member
    Updated by Pandurang

    *createmark elems 1 displayed

    hm_getelementsqualityinfo 1 0 2;

    *deletemark elems 2

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

    Thank you Pandurang and Vipin!

     

    I am trying to delete tetra4 elements with aspect ratio above 10^5. But hypermesh is telling me that the aspect ratio some of those elements is 4.12 and will not create a mark on them for deletion. Optistruct will not start because there is a validity check fail due to aspect ratios above 10^5. How is that possible?

     

    The code I am using is below;

    *createmark elems 1 'all'

    #does not find problems elements
    set elems_ids2 [hm_getelemcheckelems 1 3 aspect above 100000]

     

    It does not find the problem elements. Also I do not understand how to use 'hm_getelementsqualityinfo 1 0 2;', it returns zeros each time.

     

    Edit2: The problem was that I was looking at the wrong aspect ratio type.