Get unique material List,optimize material list

Ajinkya Gaikwad
Ajinkya Gaikwad Altair Community Member
edited October 2020 in Community Q&A

Hi,

Is there any way to get unique list of materials from available materials based on E,Rho and NU values?

Answers

  • tinh
    tinh Altair Community Member
    edited November 2019

    Depends on user profile

    With optistruct profile, filter mats by attributes named: E, Nu, Rho

    Example we will filter mats have below E NU RHO:

     

     

    set E 210.0

    set NU 0.3

    set RHO 7.9e-6

    *createmark mats 1 'equal to value' \$E $E

    *createmark mats 2 'equal to value' \$Nu $NU

    *markintersection mats 1 mats 2

    *createmark mats 2 'equal to value' \$Rho $RHO

    *markintersection mats 1 mats 2

    puts 'material list = [hm_getmark mats 1]'

     

  • Ajinkya Gaikwad
    Ajinkya Gaikwad Altair Community Member
    edited November 2019

    Thanks A lot!