PointStructuralReferenceOnBeam Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.StructuralReferences.Points
public sealed class PointStructuralReferenceOnBeam : IPointStructuralReference, IHasPointStructuralActionOnBeam, IEquatable<PointStructuralReferenceOnBeam>
The PointStructuralReferenceOnBeam type exposes the following members.
Name | Description | |
---|---|---|
PointStructuralReferenceOnBeam |
Create information about a point load on the provided StructuralCurveMember |
Name | Description | |
---|---|---|
AbsoluteDeltaX |
Defines the distance between forces acting on the 1D member when CoordinateDefinition is Absolute
| |
AbsolutePositionX |
Defines the position of the load on the 1D member in local coordinate system when CoordinateDefinition is Absolute
| |
CoordinateDefinition |
Specifies the definition of the position. It may be absolute or relative
| |
Extent |
The extent of force on the beam. (Only applicable for moment point loads)
| |
Origin |
Specifies where the origin for the position co-ordinate measurement is
| |
ReferenceMember |
The StructuralCurveMember on which the point load acts
| |
RelativeDeltaX |
Defines the distance between forces acting on the 1D member when CoordinateDefinition is Relative
| |
RelativePositionX |
Defines the position of the load on the 1D member in local coordinate system when CoordinateDefinition is Relative
| |
Repeat |
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
|
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) | |
Equals(PointStructuralReferenceOnBeam) |
Compares this instance with another instance
| |
GetDeltaX |
Returns the distance between forces acting on the 1D member as a relative distance (0 .. 1) or in meters
| |
GetHashCode |
Calculates the hash code for this instance
(Overrides ObjectGetHashCode.) | |
GetPosition |
Returns the position of the load on the 1D member as a relative position (0 .. 1) or in meters
|
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 }, }; } } }
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, }, }; } } }