StructuralPointMomentTPointStructuralReference Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Loads
public sealed class StructuralPointMoment<TPointStructuralReference> : StructuralPointLoadBase<Torque, MomentDirection>, IEquatable<StructuralPointMoment<TPointStructuralReference>> where TPointStructuralReference : IPointStructuralReference
The StructuralPointMomentTPointStructuralReference type exposes the following members.
Name | Description | |
---|---|---|
StructuralPointMomentTPointStructuralReference |
Create a moment force with provided value on the provided structural element
|
Name | Description | |
---|---|---|
CoordinateSystem |
Defines the coordinate system of the member in which the load is applied
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
Direction |
Specifies the base direction of the load
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
ForceAction |
Defines on which type of structural element the point load acts
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
LoadCase |
The StructuralLoadCase to which this load is assigned
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
StructuralReference |
Object containing reference information of the structural element on which the load is applied
| |
Type |
Defines what the load is caused by
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
Value |
The value of the point load
(Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) |
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralPointLoadBaseTTypeOfValue, TTypeOfDirectionEquals(Object).) | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
Equals(StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection) | Indicates whether the current object is equal to another object of the same type. (Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
Equals(StructuralPointMomentTPointStructuralReference) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralPointLoadBaseTTypeOfValue, TTypeOfDirectionGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
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 } }; } } }
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, }, }; } } }