Problem with RBE3 and suggestion

23 views
Skip to first unread message

Olivier Duchesne

unread,
Jul 24, 2024, 2:29:20 PM7/24/24
to pyNastran Discuss
Dear M. Doyle,

Thank you so much for making PyNastran works so well. I deeply appreciate all I've done with it. 

In my simulations, I'm using the card "RBE3" (rigid body element). 
However, it looks like some inputs are redundant (from add_rbe3 function, weights and comps) and I had to modify a few lines in rigid.py to make it work. I don't have your programming skills, so I just share what worked with me. 

In rigid.py:
My modifications are in comments # ADDED/REMOVED by OD

Picture1.png

and from def __init__(self, eid: int, refgrid: int, refc: str,
                 weights: List[float], comps: List[str], Gijs: List[int],
                 Gmi=None, Cmi=None,
                 alpha: float=0.0, tref: float=0.0, comment: str=''):

I removed "self.comps = comps", since it's not used. 

Again, thank you so much for this amazing module you've created. 

Best regards,
Olivier Duchesne
PhD student at Polytechnique Montreal

Steven Doyle

unread,
Jul 24, 2024, 2:42:29 PM7/24/24
to pynastra...@googlegroups.com
Comps is not redundant. Refc does not need to be the same as comps and generally is not.

It needs to support the full capability of the RBE3.

--
You received this message because you are subscribed to the Google Groups "pyNastran Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynastran-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynastran-discuss/5ea175e6-5b26-4ad5-97fe-4c4fbe57bacdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages