StructuralPointActionTPointStructuralReference Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Loads
public sealed class StructuralPointAction<TPointStructuralReference> : StructuralPointLoadBase<Force, ActionDirection>, IEquatable<StructuralPointAction<TPointStructuralReference>>, IHasLoadDirectionVector<Force> where TPointStructuralReference : class, IPointStructuralReference
The StructuralPointActionTPointStructuralReference type exposes the following members.
Name | Description | |
---|---|---|
StructuralPointActionTPointStructuralReference |
Create a point 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.) | |
DirectionVectorX | ||
DirectionVectorY | ||
DirectionVectorZ | ||
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(StructuralPointActionTPointStructuralReference) | Indicates whether the current object is equal to another object of the same type. | |
Equals(StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection) | Indicates whether the current object is equal to another object of the same type. (Inherited from StructuralPointLoadBaseTTypeOfValue, TTypeOfDirection.) | |
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 StructuralPointActionOnNodeExample : BaseExample<StructuralPointAction<PointStructuralReferenceOnPoint>> { protected override IReadOnlyCollection<StructuralPointAction<PointStructuralReferenceOnPoint>> CreateAnalysisObjects(AnalysisModel model) { IReadOnlyDictionary<string, StructuralPointConnection> nodes = model.OfType<StructuralPointConnection>().ToDictionary(x => x.Name, x => x); IReadOnlyDictionary<string, StructuralLoadCase> loadCases = model.OfType<StructuralLoadCase>().ToDictionary(x => x.Name, x => x); return new[] { CreateStructuralPointActionInNode("F1", loadCases["LC2"], nodes["N12"], Force.FromKilonewtons(-3), ActionDirection.Z), CreateStructuralPointActionInNode("F2", loadCases["LC2"], nodes["N14"], Force.FromKilonewtons(-3), ActionDirection.Z), CreateStructuralPointActionInNode("F3", loadCases["LC2"], nodes["N19"], Force.FromKilonewtons(-3), ActionDirection.Z), CreateStructuralPointActionInNode("F4", loadCases["LC2"], nodes["N10"], Force.FromKilonewtons(-3), ActionDirection.Z), CreateStructuralPointActionInNode("F5", loadCases["LC2"], nodes["N9"], Force.FromKilonewtons(-3), ActionDirection.Y), CreateStructuralPointActionInNode("F6", loadCases["LC2"], nodes["N10"], Force.FromKilonewtons(-3), ActionDirection.Y), }; } private StructuralPointAction<PointStructuralReferenceOnPoint> CreateStructuralPointActionInNode(string name, StructuralLoadCase loadCase, StructuralPointConnection node, Force value, ActionDirection direction, CoordinateSystem coordinateSystem = CoordinateSystem.Global) { return new StructuralPointAction<PointStructuralReferenceOnPoint>(Guid.NewGuid(), name, value, loadCase, PointForceAction.InNode, new PointStructuralReferenceOnPoint(node)) { Direction = direction, CoordinateSystem = coordinateSystem }; } } }
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 }, }; } } }