Skip to content

Shear deformation in BarElement - invalid results #194

Description

@epsi1on

if the bar type was set to include shear deformation, the reaction load seemed wrong

using BriefFiniteElementNet;
using BriefFiniteElementNet.Elements;
using BriefFiniteElementNet.Loads;
using BriefFiniteElementNet.Sections;

namespace Uniform_load_test
{
    internal class Test4debug
    {
        static void Main()
        {
            var a00 = new Node(0, 0, 0);
            var a10 = new Node(1000, 0, 0);            

            var elm1 = new BarElement(a00, a10);

            var sec = new UniformParametric1DSection(100, 100, 100, 100);
            sec.Ky = sec.Kz = 0.5;

            BriefFiniteElementNet.Materials.UniformIsotropicMaterial mat;
            {
                var e = 200000;
                var mu = 0.3;
                mat = new BriefFiniteElementNet.Materials.UniformIsotropicMaterial(e, mu);
            }

            var w0 = 1;
            var uload = new UniformLoad(LoadCase.DefaultLoadCase, Vector.NegativeK, w0, CoordinationSystem.Global);

            var model = new Model();

            var elms = new BarElement[] { elm1};
            foreach (var elm in elms)
            {
                elm.Section = sec;
                elm.Material = mat;
                elm.Loads.Add(uload);
                //elm.Behavior = BarElementBehaviours.FullFrame;
                elm.Behavior = BarElementBehaviours.FullFrameWithShearDeformation;
                model.Elements.Add(elm);
            }

            model.Nodes.Add(a00, a10);

            a00.Constraints = Constraints.Fixed;

            model.Solve();

            var s = a00.GetSupportReaction();
            Console.WriteLine(s);
        }
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions