Exemple #1
0
        public Beam(IList <ISpan> spans, ICollection <INode> nodes)
        {
            Spans = spans ?? throw new ArgumentNullException(nameof(spans));
            Nodes = nodes ?? throw new ArgumentNullException(nameof(nodes));

            GlobalStiffnessMatrix      = new GlobalStiffnessMatrix(this);
            NormalForceResult          = new NormalForceResult(this);
            ShearResult                = new ShearResult(this);
            BendingMomentResult        = new BendingMomentResult(this);
            HorizontalDeflectionResult = new HorizontalDeflectionResult(this);
            VerticalDeflectionResult   = new VerticalDeflectionResult(this);
            RotationResult             = new RotationResult(this);
        }
Exemple #2
0
 public void Calculate()
 {
     SetNumeration();
     CalculateStiffnessMatrixes();
     GlobalStiffnessMatrix.Calculate();
     CaluclateJointLoadVector();
     CalculateSpanLoadVectors();
     CalculateSpanLoadVector();
     CalculateDeflectionVector();
     CalculateDisplacements();
     CalculateForces();
     CalculateReactions();
     AddForcesLocatedAtSupports();
 }