Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shear deformation in BarElement - invalid results #194

Open
epsi1on opened this issue Nov 28, 2024 · 0 comments
Open

Shear deformation in BarElement - invalid results #194

epsi1on opened this issue Nov 28, 2024 · 0 comments
Labels

Comments

@epsi1on
Copy link
Member

epsi1on commented Nov 28, 2024

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);
        }
    }
}
@epsi1on epsi1on added the bug label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant