Equations (MPC) - automatic generation

mariusm
mariusm New Altair Community Member
edited October 2020 in Community Q&A

Hello!

 

Do you have experience with using simple equations in your models?

e.g. I want one node of my model following another node in direction 2. all other DOFs between those nodes should be free.

I know how to use equations but my problem is that I have to click node by node to define the equation. When I have many nodes (e.g. more than 1000) it's very annoying to create 1000 equations manually. Is there a way to create many equations by one or at least only a few clicks?

 

Thank you for helping me :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited February 2020

    Hi

    Write a tcl script iterating 1000 times to do it.

  • mariusm
    mariusm New Altair Community Member
    edited February 2020

    Hey, thanks for the reply!

     

    I could do that. but what to do when I have 1 billion nodes to connect? writing a new script?

  • mariusm
    mariusm New Altair Community Member
    edited February 2020

    and to be honest, I don't have any experience with tcl scripts. Could you tell me how it would look like ?

  • tinh
    tinh Altair Community Member
    edited February 2020

    Hi

    Go to hm reference help which guides how to make a script.