Giter VIP home page Giter VIP logo

Comments (1)

smith120bh avatar smith120bh commented on June 20, 2024

Okay, I think I'm pinning this down finally.

Key fact: In the above script, if instead of setting the hinge at node 2 of element 1, you set it at node 1 of element 2, then the asymmetry of the results exactly switches. (i.e. higher reaction on the right node rather than left node)

Digging in: When a hinge is added to a specific element, then the constitutive matrix for that element is modified to remove stiffness due to that end of the beam (effectively creating a constitutive matrix for a cantilevered beam). It does nothing, however, for the neighbouring element, which still has a constitutive matrix that assumes stiffnesses for a fixed beam. That means that when the global stiffness matrix is assembled, the free rotation of node 2 is incorrectly taken as affecting the moment and shear of the unreleased neighbouring element.

The Solution: I think we need to modify the ensure_single_hinge() function to, rather than ensuring at least one element has a moment connection to a node, instead ensuring that every element is hinged and adding a rotation-only support at the affected node (to prevent a singular stiffness matrix). I'll work on that.

This is the correct solution, if I set a hinge on both elements and then manually delete the rotational dof for node 2 from the system_displacement_vector (effectively adding a rotation-only support there):
image

And for reference, these are the incorrect results from the above script:
image

from anastruct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.