Script to convert RBE2 to RBE3 or vice-a-versa
hello everyone,
Can anyone tell me how to convert RBE2 elements to RBE3 elements or reverse too (i.e RBE3 to RBE2).
Thanks,
Sanket
Answers
-
Make a foreach loop with each Rbe2, get its indep node and dep nodes, then create rbe3 based on those
0 -
@tinh I am not getting exact idea about how to deal with independent and dependent nodes? can u explain it little?
Regards,
Sanket
0 -
Some lines to give you some ideas:
foreach eid $elemList { set config [ hm_getentityvalue elements $eid 'config' 0 ] #----- RBE2 ----------- if { $config == 55 } { set independentNode [hm_getentityvalue elements $eid independentnode.id 0] set elemNodes [hm_nodelist $eid] eval *createmark nodes 1 $elemNodes eval *createmark nodes 2 $independentNode *markdifference nodes 1 nodes 2 set elemNodes [hm_getmark nodes 1] puts 'RBE2: $eid = $independentNode \[ $elemNodes \]' set new_eID [proc_to_make_RBE3 $independentNode $elemNodes] } }
0 -
Oh. I remember that it can be changed config.
Enter panel 1d>config edit, select RBE2 and select 'new config' as RBE3 > switch.
0 -
Is the opposite possible? From the panel 1d could a RBE3 be changed to RBE2?
0 -
is there any particular need for this to be performed as a script?
In HM you have the 'config edit' panel that has this functionality.
Maybe you will need some extra steps to make sure DOFs and weighting are correct. But sometimes the core funcionality already fits your needs.
0 -
Thank you Adriano,
No problem on doing the change manually, the conversion RBE2- RBE3 did went well. I am using 1D element to transmit a torque, it seems that RBE3 makes my model more stable, is there a preference between RBE2 and to introduce a moment?
Kind regards
0 -
When you use RBE2, you add an infinite stiffness (rigid) into your structure.
While you use RBE3, you add nothing.
The choice between RBE2/RBE3 depend to your analysis goal.
1 -
for trasmitting moment loads you need to define correctly de DOFs for each node (in both RBE2 and RBE3) so that the central node carries the moment as well.
0