How to create accelerometers using scripting Ls-Dyna profile?

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

I have to write a macro for accelerometers in which I have four tasks:

1. Creating hexa element using single node's coordinates.

2. Constaint hexa with adj. mesh 

3. Create Accelerometer.

4. Keep one node of hexa in output.

 

 

Out of four tasks, I have done second one.  Can anyone help me with first one?

 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited April 2018

    First tell us how will you do tast 1 by interaction with hm GUI?

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited April 2018

    Hi Tinh,

    I am so grateful to your kind support in my previous posts.  

    Here I have hexa length and height. I have to create it as shown in figure. Now, I am doing manually for almost 92 hexas. something i need to automate.image.png.de6204dc097ba58588dce7cb1202458e.png

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Jouher, 

    please tell us how you created it step by step. it's good if you have video