The return torque when bond was broken

Raheem Sterling_22160
Raheem Sterling_22160 Altair Community Member
edited August 2023 in Community Q&A

Hi,

In bonding V2, when the bond was broken, the code is as below:

 F_bond_n = CSimple3DVector();
 F_bond_t = CSimple3DVector();
 
Why not set the T_bond_1 and T_bond_2 in the code also as zero vector?
Thanks
Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023

    Hi Raheem,

    I don't think there is a specific reason around it, it is just a method of setting to zero used by the original author of the API code.  Setting to Zero vector is probably better, depending on what CSimple3DVector initialises as.

     

    Regards
    Stephen

  • Raheem Sterling_22160
    Raheem Sterling_22160 Altair Community Member
    edited August 2023

    Hi Raheem,

    I don't think there is a specific reason around it, it is just a method of setting to zero used by the original author of the API code.  Setting to Zero vector is probably better, depending on what CSimple3DVector initialises as.

     

    Regards
    Stephen

    Thanks Stephen,

    I also didn't see any different when I gave zero vector to torque. 

    Best Regards!

    Raheem