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

Add newmark-beta method for dynamic analysis #127

Open
epsi1on opened this issue Mar 29, 2022 · 6 comments
Open

Add newmark-beta method for dynamic analysis #127

epsi1on opened this issue Mar 29, 2022 · 6 comments

Comments

@epsi1on
Copy link
Member

epsi1on commented Mar 29, 2022

Newmark-beta method is used for finding the response of a structure with known stiffness, mass and damp matrix to external excitation like dynamic force and dynamic settlements (earthquake which vibrates the fixed DoFs).

More info on wikipedia: Link

Alternative method is central difference method, which can be better (need discussion)

@epsi1on
Copy link
Member Author

epsi1on commented Mar 31, 2022

Attached Files El mar, 29 mar 2022 a la(s) 14:14, epsi1on @.) escribió:

Newmark-beta method is used for finding the response of a structure with known stiffness, mass and damp matrix to external excitation like dynamic force and dynamic settlements (earthquake which vibrates the fixed DoFs). More info on wikipedia: Link https://en.wikipedia.org/wiki/Newmark-beta_method — Reply to this email directly, view it on GitHub <#127>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3WCG22XYVWO2CMMNBDEJLVCM3BBANCNFSM5R7DAUZQ . You are receiving this because you are subscribed to this thread.Message ID: @.
>

Hi @MLiranzo,

I cannot see any attached file.

@epsi1on
Copy link
Member Author

epsi1on commented Apr 2, 2022

@MLiranzo
That is because you reply to the notification email directly. Please use this link 👍🏼
#127

@epsi1on
Copy link
Member Author

epsi1on commented Apr 5, 2022

@MLiranzo
Thanks for great detailed calculation.
Can you please also write a simple code (10-15 lines of code) that makes your model? For your case there will be 8 nodes, and 9 elements.

Pretty much like this code which is from truss example:

private static void Example1()
{
        Console.WriteLine("Example 1: Simple 3D truss with four members");


        // Initiating Model, Nodes and Members
        var model = new Model();

        var n1 = new Node(1, 1, 0);
        n1.Label = "n1";//Set a unique label for node
        var n2 = new Node(-1, 1, 0) {Label = "n2"};//using object initializer for assigning Label
        var n3 = new Node(1, -1, 0) {Label = "n3"};
        var n4 = new Node(-1, -1, 0) {Label = "n4"};
        var n5 = new Node(0, 0, 1) {Label = "n5"};

        var e1 = new TrussElement2Node(n1, n5) {Label = "e1"};
        var e2 = new TrussElement2Node(n2, n5) {Label = "e2"};
        var e3 = new TrussElement2Node(n3, n5) {Label = "e3"};
        var e4 = new TrussElement2Node(n4, n5) {Label = "e4"};
        //Note: labels for all members should be unique, else you will receive InvalidLabelException when adding it to model

        e1.A = e2.A = e3.A = e4.A = 9e-4;
        e1.E = e2.E = e3.E = e4.E = 210e9;

        model.Nodes.Add(n1, n2, n3, n4, n5);
        model.Elements.Add(e1, e2, e3, e4);

        //Applying restrains


        n1.Constraints = n2.Constraints = n3.Constraints = n4.Constraints = Constraint.Fixed;
        n5.Constraints = Constraint.RotationFixed;


        //Applying load
        var force = new Force(0, 1000, -1000, 0, 0, 0);
        n5.Loads.Add(new NodalLoad(force));//adds a load with LoadCase of DefaultLoadCase to node loads

        //Adds a NodalLoad with Default LoadCase

        model.Solve();

        var r1 = n1.GetSupportReaction();
        var r2 = n2.GetSupportReaction();
        var r3 = n3.GetSupportReaction();
        var r4 = n4.GetSupportReaction();

        var rt = r1 + r2 + r3 + r4;//shows the Fz=1000 and Fx=Fy=Mx=My=Mz=0.0

        Console.WriteLine("Total reactions SUM :" + rt.ToString());
}

Thanks again

epsi1on added a commit that referenced this issue Apr 5, 2022
epsi1on added a commit that referenced this issue Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@epsi1on and others