Click or drag to resize

CurveStructuralReferenceOnOpeningEdge Class

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

Defines information about a line force on a StructuralSurfaceMemberRegion
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.StructuralReferences.CurvesCurveStructuralReferenceOnOpeningEdge

Namespace:  ModelExchanger.AnalysisDataModel.StructuralReferences.Curves
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class CurveStructuralReferenceOnOpeningEdge : ICurveStructuralReference, 
	IHasEdgeIndex, IEquatable<CurveStructuralReferenceOnOpeningEdge>

The CurveStructuralReferenceOnOpeningEdge type exposes the following members.

Constructors
  NameDescription
Public methodCurveStructuralReferenceOnOpeningEdge
Create information about a line force on the provided StructuralSurfaceMemberOpening
Top
Properties
  NameDescription
Public propertyEdge
The index of edge on the opening on which the line force is applied
Public propertyOpening
The StructuralSurfaceMemberOpening on which the line force is applied
Top
Methods
  NameDescription
Public methodEquals(CurveStructuralReferenceOnOpeningEdge)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Top
Examples
Creating an instance acting on a beam
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ModelExchanger.AnalysisDataModel.Enums;
using ModelExchanger.AnalysisDataModel.Loads;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using ModelExchanger.AnalysisDataModel.StructuralReferences.Curves;
using UnitsNet;

namespace ModelExchanger.AnalysisDataModel.Example.Loads
{
    public sealed class StructuralCurveActionOnOpeningEdgeExample : BaseExample<StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>>
    {
        protected override IReadOnlyCollection<StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>> CreateAnalysisObjects(AnalysisModel model)
        {
            var loadCase = model.OfType<StructuralLoadCase>().Single(analysisObject => analysisObject.Name == "LC2");

            var opening = model.OfType<StructuralSurfaceMemberOpening>().Single(analysisObject => analysisObject.Name == "O7");
            var curveActionOne =
                new StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>(
                    Guid.NewGuid(),
                    "LFS9",
                    CurveForceAction.OnOpeningEdge,
                    ForcePerLength.FromKilonewtonsPerMeter(2), loadCase,
                    new CurveStructuralReferenceOnOpeningEdge(opening, 3))
                {
                    Type = ActionLoadType.Standard,
                    Distribution = CurveDistribution.Uniform,
                    Direction = ActionDirection.Z,
                    CoordinateSystem = CoordinateSystem.Global,
                    Location = Location.Length,
                    CoordinateDefinition = CoordinateDefinition.Relative,
                    Origin = Origin.FromStart,
                    Extent = ExtentOfForceOnBeam.Full,
                    StartPointRelative = 0.5,
                    EndPointRelative = 1,
                    StartPointAbsolute = null,
                    EndPointAbsolute = null,
                    EccentricityEy = Length.FromMeters(0),
                    EccentricityEz = Length.FromMeters(0)
                };

            var curveActionTwo =
                new StructuralCurveAction<CurveStructuralReferenceOnOpeningEdge>(
                    Guid.NewGuid(),
                    "LFS10",
                    CurveForceAction.OnOpeningEdge,
                    ForcePerLength.FromKilogramsForcePerMeter(-4),
                    loadCase,
                    new CurveStructuralReferenceOnOpeningEdge(opening, 3))
                {
                    Type = ActionLoadType.Standard,
                    Distribution = CurveDistribution.Trapezoidal,
                    Direction = ActionDirection.Z,
                    CoordinateSystem = CoordinateSystem.Local,
                    Location = Location.Length,
                    CoordinateDefinition = CoordinateDefinition.Relative,
                    Origin = Origin.FromStart,
                    Extent = ExtentOfForceOnBeam.Full,
                    StartPointRelative = 0,
                    EndPointRelative = 1,
                    StartPointAbsolute = null,
                    EndPointAbsolute = null,
                    EccentricityEy = Length.FromMeters(0),
                    EccentricityEz = Length.FromMeters(0),
                    Value2 = ForcePerLength.FromKilogramsForcePerMeter(2)
                };

            return new[] { curveActionOne , curveActionTwo };
        }
    }
}
See Also