Click or drag to resize

PointStructuralReferenceOnBeam Class

[This is preliminary documentation and is subject to change.]

Defines information about a point load on a StructuralCurveMember
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.StructuralReferences.PointsPointStructuralReferenceOnBeam

Namespace:  ModelExchanger.AnalysisDataModel.StructuralReferences.Points
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class PointStructuralReferenceOnBeam : IPointStructuralReference, 
	IHasPointStructuralActionOnBeam, IEquatable<PointStructuralReferenceOnBeam>

The PointStructuralReferenceOnBeam type exposes the following members.

Constructors
  NameDescription
Public methodPointStructuralReferenceOnBeam
Create information about a point load on the provided StructuralCurveMember
Top
Properties
  NameDescription
Public propertyAbsoluteDeltaX
Defines the distance between forces acting on the 1D member when CoordinateDefinition is Absolute
Public propertyAbsolutePositionX
Defines the position of the load on the 1D member in local coordinate system when CoordinateDefinition is Absolute
Public propertyCoordinateDefinition
Specifies the definition of the position. It may be absolute or relative
Public propertyExtent
The extent of force on the beam. (Only applicable for moment point loads)
Public propertyOrigin
Specifies where the origin for the position co-ordinate measurement is
Public propertyReferenceMember
The StructuralCurveMember on which the point load acts
Public propertyRelativeDeltaX
Defines the distance between forces acting on the 1D member when CoordinateDefinition is Relative
Public propertyRelativePositionX
Defines the position of the load on the 1D member in local coordinate system when CoordinateDefinition is Relative
Public propertyRepeat
Defines the number of forces acting on the beam. If the number is greater than 1, the forces are distributed uniformly over the 1D member
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PointStructuralReferenceOnBeam)
Compares this instance with another instance
Public methodGetDeltaX
Returns the distance between forces acting on the 1D member as a relative distance (0 .. 1) or in meters
Public methodGetHashCode
Calculates the hash code for this instance
(Overrides ObjectGetHashCode.)
Public methodGetPosition
Returns the position of the load on the 1D member as a relative position (0 .. 1) or in meters
Top
Examples
Creating a point force
using System;
using System.Collections.Generic;
using System.Linq;
using ModelExchanger.AnalysisDataModel.Enums;
using ModelExchanger.AnalysisDataModel.Loads;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using ModelExchanger.AnalysisDataModel.StructuralReferences.Points;
using UnitsNet;

namespace ModelExchanger.AnalysisDataModel.Example.Loads
{
    public sealed class StructuralPointActionOnBeamExample : BaseExample<StructuralPointAction<PointStructuralReferenceOnBeam>>
    {
        protected override IReadOnlyCollection<StructuralPointAction<PointStructuralReferenceOnBeam>> CreateAnalysisObjects(AnalysisModel model)
        {
            IReadOnlyDictionary<string, StructuralCurveMember> beams = model.OfType<StructuralCurveMember>().ToDictionary(x => x.Name, x => x);
            IReadOnlyDictionary<string, StructuralLoadCase> loadCases = model.OfType<StructuralLoadCase>().ToDictionary(x => x.Name, x => x);

            return new[]
            {
                new StructuralPointAction<PointStructuralReferenceOnBeam>(Guid.NewGuid(), "F7", Force.FromKilonewtons(-3), loadCases["LC2"], PointForceAction.OnBeam, new PointStructuralReferenceOnBeam(beams["B3"]))
                {
                    Direction = ActionDirection.Z,
                    CoordinateSystem = CoordinateSystem.Global
                },
                new StructuralPointAction<PointStructuralReferenceOnBeam>(Guid.NewGuid(), "F8", Force.FromKilonewtons(-3), loadCases["LC2"], PointForceAction.OnBeam, new PointStructuralReferenceOnBeam(beams["B4"]))
                {
                    Direction = ActionDirection.Z,
                    CoordinateSystem = CoordinateSystem.Global
                },
            };
        }
    }
}
Creating a moment force
using System;
using System.Collections.Generic;
using System.Linq;
using ModelExchanger.AnalysisDataModel.Enums;
using ModelExchanger.AnalysisDataModel.Loads;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using ModelExchanger.AnalysisDataModel.StructuralReferences.Points;
using UnitsNet;

namespace ModelExchanger.AnalysisDataModel.Example.Loads
{
    public sealed class StructuralPointMomentOnBeamExample : BaseExample<StructuralPointMoment<PointStructuralReferenceOnBeam>>
    {
        protected override IReadOnlyCollection<StructuralPointMoment<PointStructuralReferenceOnBeam>> CreateAnalysisObjects(AnalysisModel model)
        {
            StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().Single(x => x.Name == "LC2");
            StructuralCurveMember beam = model.OfType<StructuralCurveMember>().Single(x => x.Name == "B35");

            return new[]
            {
                new StructuralPointMoment<PointStructuralReferenceOnBeam>(Guid.NewGuid(), "M3", PointForceAction.OnBeam, Torque.FromKilonewtonMeters(-5), loadCase, new PointStructuralReferenceOnBeam(beam)
                {
                    Origin = Origin.FromStart,
                    CoordinateDefinition = CoordinateDefinition.Relative,
                    Extent = ExtentOfForceOnBeam.Full,
                    RelativePositionX = 0.3D
                })
                {
                    Direction = MomentDirection.Mx,
                    CoordinateSystem = CoordinateSystem.Local,
                },
                new StructuralPointMoment<PointStructuralReferenceOnBeam>(Guid.NewGuid(), "M4", PointForceAction.OnBeam, Torque.FromKilonewtonMeters(-5), loadCase, new PointStructuralReferenceOnBeam(beam)
                {
                    CoordinateDefinition = CoordinateDefinition.Relative,
                    Origin = Origin.FromStart,
                    RelativePositionX = 0.3D,
                    Extent = ExtentOfForceOnBeam.Full,
                    Repeat = 3,
                    RelativeDeltaX = 0.1D,
                })
                {
                    Direction = MomentDirection.Mx,
                    CoordinateSystem = CoordinateSystem.Local,
                }, 
            };
        }
    }
}
See Also