knutankv / beef

BEam Elements Framework for Python
https://knutankv.github.io/beef/
MIT License
5 stars 3 forks source link

stiffness in constraint #5

Open dubois34 opened 11 months ago

dubois34 commented 11 months ago

Hello, Thanks for this nice tool.
I was wondering if you had any advice concerning the way to add stiffness to a constraint.
I would like to model a wooden frame with usual junction (tenon and mortise for example).
Kind regards.
frederic.dubois@umontpellier.fr

knutankv commented 11 months ago

Frederic,

Thanks for using beef and thanks for reaching out!

There is no way to add stiffness to a constraint in beef currently - the constraints are assumed fully fixed in the degrees of freedom that are specified. However, this can likely be solved using Springs (Feature).

I have added an example to describe how this can be done in the Examples folder (and also elaborating a bit on the usage of constraints and features): Applying constraints and features.ipynb

The downside is that it is limited to global CSYS (that goes for both constraints and features). Custom transformation matrices for both features and constraints are on the list of features that I will add if there's time at some point! However, currently, it should be able to model stiffness wrt. local axes using the CustomMatrix feature. Then you can carry out the relevant transformation outside beef and input relevant stiffness contributions specified in global CSYS.

I hope that this helps.

Best, Knut Andreas

dubois34 commented 11 months ago

Hi Knut, Thanks for your quick answer. I need some time to play with your proposal. I let you know. Kind regards

De: "Knut Andreas Kvåle" @.> À: "knutankv/beef" @.> Cc: "Frederic Dubois" @.>, "Author" @.> Envoyé: Mercredi 13 Décembre 2023 11:23:56 Objet: Re: [knutankv/beef] stiffness in constraint (Issue #5)

Frederic,

Thanks for using beef and thanks for reaching out!

There is no way to add stiffness to a constraint in beef currently - the constraints are assumed fully fixed in the degrees of freedom that are specified. However, this can likely be solved using Springs (Feature).

I have added an example to describe how this can be done in the Examples folder (and also elaborating a bit on the usage of constraints and features): ( [ https://github.com/knutankv/beef/blob/master/examples/Applying%20constraints%20and%20features.ipynb | Applying constraints and features.ipynb ]

The downside is that it is limited to global CSYS (that goes for both constraints and features). Custom transformation matrices for both features and constraints are on the list of features that I will add if there's time at some point! However, currently, it should be able to model stiffness wrt. local axes using the CustomMatrix feature. Then you can carry out the relevant transformation outside beef and input relevant stiffness contributions specified in global CSYS.

I hope that this helps.

Best, Knut Andreas

— Reply to this email directly, [ https://github.com/knutankv/beef/issues/5#issuecomment-1853645026 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AFCBFIZKKBX3FVOVS647HU3YJF63ZAVCNFSM6AAAAABARNVAVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJTGY2DKMBSGY | unsubscribe ] . You are receiving this because you authored the thread. Message ID: <knutankv/beef/issues/5/1853645026 @ github . com>

--

Frederic DUBOIS

Directeur Adjoint - Ingénieur de recherche CNRS

Tél : [ tel:+33 (0)4 67 14 49 84 | +33 (0)4 67 14 49 84 ] | Mob : [ tel:+33 (0)6 35 49 08 43 | +33 (0)6 35 49 08 43 ]

[ @.*** | https://www.lmgc.univ-montp2.fr/perso/frederic-dubois ]

[ http://www.umontpellier.fr/ ]     

LABORATOIRE DE MÉCANIQUE ET GÉNIE CIVIL

CC 048 - 163 rue Auguste Broussonnet 34090 Montpellier

[ http://lmgc.umontpellier.fr/ | lmgc.umontpellier.fr ]