Click or drag to resize

StructuralPointMomentTPointStructuralReference Class

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

Defines a moment force on a StructuralPointConnection or StructuralCurveMember
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.LoadsStructuralPointLoadBaseTorque, MomentDirection
      ModelExchanger.AnalysisDataModel.LoadsStructuralPointMomentTPointStructuralReference

Namespace:  ModelExchanger.AnalysisDataModel.Loads
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralPointMoment<TPointStructuralReference> : StructuralPointLoadBase<Torque, MomentDirection>, 
	IEquatable<StructuralPointMoment<TPointStructuralReference>>
where TPointStructuralReference : IPointStructuralReference

Type Parameters

TPointStructuralReference

The StructuralPointMomentTPointStructuralReference type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCoordinateSystem
Defines the coordinate system of the member in which the load is applied
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public propertyDirection
Specifies the base direction of the load
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public propertyForceAction
Defines on which type of structural element the point load acts
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public propertyId
The ID of the Analysis object. Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.)
Public propertyLoadCase
The StructuralLoadCase to which this load is assigned
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public propertyName
The name of the Analysis object. Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.)
Public propertyStructuralReference
Object containing reference information of the structural element on which the load is applied
Public propertyType
Defines what the load is caused by
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public propertyValue
The value of the point load
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Top
Methods
  NameDescription
Public methodEquals(Object)
Check if this object is the same as the provided object.
(Overrides StructuralPointLoadBaseTTypeOfValue, TTypeOfDirectionEquals(Object).)
Public methodEquals(StructuralAnalysisObjectBase)
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.)
Public methodEquals(StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection)
Indicates whether the current object is equal to another object of the same type.
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.)
Public methodEquals(StructuralPointMomentTPointStructuralReference)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Retrieves the hashcode of the object
(Overrides StructuralPointLoadBaseTTypeOfValue, TTypeOfDirectionGetHashCode.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Examples
Creating an instance acting on a node
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 StructuralPointMomentOnNodeExample : BaseExample<StructuralPointMoment<PointStructuralReferenceOnPoint>>
    {
        protected override IReadOnlyCollection<StructuralPointMoment<PointStructuralReferenceOnPoint>> CreateAnalysisObjects(AnalysisModel model)
        {
            StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().Single(x => x.Name == "LC2");
            StructuralPointConnection n16 = model.OfType<StructuralPointConnection>().Single(x => x.Name == "N16");
            StructuralPointConnection n15 = model.OfType<StructuralPointConnection>().Single(x => x.Name == "N15");

            return new[]
            {
                new StructuralPointMoment<PointStructuralReferenceOnPoint>(Guid.NewGuid(), "M1", PointForceAction.InNode,
                    Torque.FromKilonewtonMeters(-5), loadCase, new PointStructuralReferenceOnPoint(n16))
                {
                    Direction = MomentDirection.My
                },
                new StructuralPointMoment<PointStructuralReferenceOnPoint>(Guid.NewGuid(), "M2", PointForceAction.InNode,
                    Torque.FromKilonewtonMeters(-5), loadCase, new PointStructuralReferenceOnPoint(n15))
                {
                    Direction = MomentDirection.My
                }
            };
        }
    }
}
Creating an instance acting on a beam
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