Distance between nodes

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello everybody image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>

 

I'm working with ls dyna as solver and have a question about distance measurements.

 

I want to measure the distance between two nodes during a simulation. I simulate a moving sled with a person on it. The distance between two nodes of the person should be compared at the beginning and after a certain time is over.

 

Does some of you maybe have an idea how to measure and compare the distance of two nodes?

 

Regards,

ChiaBr

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2015

    There is function 'Measures' in HV. Maybe that helps ? See my screenshot.

     

    <?xml version="1.0" encoding="UTF-8"?>post-889-0-30134500-1432229951_thumb.png

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2015

    Thank you for your quick answer! image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>

     

    I will try it this way. 

     

    How I've already written, I measure the distance between two point. To be more specific, I measure the distance between two nodes, which are located on a rib of a human model on the left and right side. This distance - before simulation starts (before impact to the whole human body begins) - should be compared to the distance of this two nodes after simulation. 

     

    Is it possible, to write a (mathematical) script in hyperview, that calculates the quotient ( new distance / initial distance ) ? Or do you have another idea for this problem?

     

    Thanks for supporting again!

     

    Regards,

    ChiaBr

     

     

    Is it possible, to write a script in Hyperview, 

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited May 2015

    It is possible to create scripts in HyperView, see Hyperview help for more information on this,

     

    however I am surprised you need to automate this, when you can use ' measure' as suggested above and just divide it easily with the initial value,

     

    When you are in the measure panel, you can just say create curve and then divide with a particular value etc in HyperGraph y defining a new curve with 'math' 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2015

    Thank you very much! It worked very well image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'> 

     

    Thank you again image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>