Directional RBE2 or RBE3

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

Hi ,

 

 I need to crate set/comp of Rbe2/RBE3 elements which has specific direction (x,y,z). It is very easy to find all DOF rigid.

 

I need to find only X direction rigid in my model as we are using one directional rigid in bolt modelling .

Can any help me in this case. How to create macro file for this situation?.

 

Regards,

Nilesh Gadre

Answers

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Gadre,

    How do you create x-direction rigids on GUI?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi,

     

    We have macro for creation of washer split along with combination of RBE2 and RBE3 in which RBE3 has all DOF and RBE 2 has direction perpendicular to plane of washer.

     

    Reagrds,

    Nileesh Gadre

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi, suppose rbe2 have 2 nodes, this may work:

    *createmark elems 1 'by config' rigid rigidlink

    foreach eid [hm_getmark elems 1] {

         lassign [hm_nodelist $eid] node1 node2

         lassign [hm_getdistance nodes $node1 $node2] -> dx dy dz

         if {abs($dy)>1e-4 || abs($dz)>1e-4} {

              hm_markremove elems 1 $eid

         }

    }

    hm_highlightmark elems 1 h

    set xdir_rbe2_list [hm_getmark elems 1]