anaStruct icon indicating copy to clipboard operation
anaStruct copied to clipboard

Model support in between element length

Open ajossorioarana opened this issue 2 years ago • 2 comments

Hi! I am trying to model a diagonal beam that has two supports, one of them is in the edge of the element and the other one is a little bit before the lower end, something like this, but where elements 1 and 2 are the same continuos element:

image

Is this possible right now?

Thanks in advance!

ajossorioarana avatar Sep 27 '23 22:09 ajossorioarana

Me leaving some additional feedback:

Unless I'm missing something, the following code reproduces the desired behavior:

ss = anas.SystemElements()

punto_sup = anas.Vertex(x=1, y=3.08)
apoyo_int = anas.Vertex(x=4.12, y=1.27)
punto_inf = anas.Vertex(x=4.58, y=1)

ss.add_element(location=[punto_sup, apoyo_int])
ss.add_element(location=[apoyo_int, punto_inf])
ss.add_support_hinged([1, 2])

ss.q_load(q=-5, element_id=[1, 2], direction="y")

ss.show_structure()

ss.solve()

ss.show_displacement()

Structure: image

Displacement image

I still don't get why if I add two elements to the model, they are considered as part of the same rigid body.

ajossorioarana avatar Oct 02 '23 18:10 ajossorioarana