Distribute the mass on nodes using LS-Dyna

Suresh J
Suresh J Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

How to spread the mass on nodes using LS-Dyna (i.e, each node is having different mass)? If we select a component to add a mass then each node is having same mass but I need different masses to be added on each node. Could anyone please help on this.

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited October 2015

    Hi

    -select nodes on panel 'masses', enter mass value and create mass elems

    if you already created masses on component, enter update subpanel to update mass value of different-mass areas

  • Suresh J
    Suresh J Altair Community Member
    edited October 2015

    Hi,

     

    Thanks for your reply.

     

    If I follow the above method, I will get equal mass on all nodes. Even though I update the mass in a particular area, the nodes whichever come under the area will be having equal mass. For ex. If 1000's of nodes are there, I need 1000 different masses need to be updated automatically on all nodes. I think Primer might have this option but I need it to be done using Hypermesh. 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2015

    Hi Suresh, 

     

    In such case you have to automate by writing a script.

  • Suresh J
    Suresh J Altair Community Member
    edited October 2015

    Sorry Prakash, I didn't get your point.

  • tinh
    tinh Altair Community Member
    edited October 2015

    Sorry Prakash, I didn't get your point.

     

     

    You can do it in hypermesh simply by a tcl macro, example

    foreach nodeid $selected_nodes mass_value $mass_map {

    *createmark nodes 1 $nodeid

    *masselement 1 $mass_value '' 0

    }

  • Suresh J
    Suresh J Altair Community Member
    edited October 2015

    Thanks Tinh,

     

    I'll try it.