Click or drag to resize

ResultAnalysis1DInternalForces Class

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

Defines the internal force values at a specific section on a StructuralCurveMember or StructuralCurveMemberRib
Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.ResultsResultAnalysisBase
    ModelExchanger.AnalysisDataModel.ResultsResultAnalysis1DInternalForces

Namespace:  ModelExchanger.AnalysisDataModel.Results
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class ResultAnalysis1DInternalForces : ResultAnalysisBase, 
	IEquatable<ResultAnalysis1DInternalForces>

The ResultAnalysis1DInternalForces type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCombinationKey
Allows to define exact combination per result section
Public propertyId
The ID that uniquely identifies the result. Generated from Name
(Inherited from ResultAnalysisBase.)
Public propertyIndex
0-based index that defines the order of the forces in a set of results that are applied on the same member
Public propertyLoadCase
The load case to which the result belongs. When this is set, LoadCombination should be NULL.
(Inherited from ResultAnalysisBase.)
Public propertyLoadCombination
The load combination to which the result belongs. When this is set, LoadCase should be NULL.
(Inherited from ResultAnalysisBase.)
Public propertyMember
The 1D member from which the result is calculated. When this is provided, MemberRib should be NULL.
Public propertyMemberRib
The 1D member rib from which the result is calculated. When this is provided, Member should be NULL.
Public propertyMx
Result value of Mx (Moment around X axis)
Public propertyMy
Result value of My (Moment around Y axis)
Public propertyMz
Result value of Mz (Moment around Z axis)
Public propertyN
Result value of N (Normal force)
Public propertyName
The (unique within its type) name of the object
(Inherited from ResultAnalysisBase.)
Public propertySection
The location along the X-axis of the member where this result is located
Public propertyTypeOfResult
Defines the type of result
(Overrides ResultAnalysisBaseTypeOfResult.)
Public propertyVy
Result value of Vy (Shear force in Y axis direction)
Public propertyVz
Result value of Vz (Shear force in Z axis direction)
Top
Methods
  NameDescription
Public methodEquals(Object)
Checks whether the provided object is equal to the current instance
(Overrides ResultAnalysisBaseEquals(Object).)
Public methodEquals(ResultAnalysis1DInternalForces)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(ResultAnalysisBase)
Checks whether the provided result is equal to the current result
(Inherited from ResultAnalysisBase.)
Public methodGetHashCode
Calculates the hashcode of this instance
(Overrides ResultAnalysisBaseGetHashCode.)
Top
Examples
Creating an instance
using System.Collections.Generic;
using System.Linq;
using ModelExchanger.AnalysisDataModel.Loads;
using ModelExchanger.AnalysisDataModel.Models;
using ModelExchanger.AnalysisDataModel.Results;
using ModelExchanger.AnalysisDataModel.StructuralElements;
using UnitsNet;

namespace ModelExchanger.AnalysisDataModel.Example.Results
{
    public sealed class ResultAnalysis1DInternalForcesExample : BaseExample<ResultAnalysis1DInternalForces>
    {
        protected override IReadOnlyCollection<ResultAnalysis1DInternalForces> CreateAnalysisObjects(AnalysisModel model)
        {
            StructuralCurveMember beam = model.OfType<StructuralCurveMember>().First();
            StructuralCurveMemberRib rib = model.OfType<StructuralCurveMemberRib>().First();
            StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().First();
            StructuralLoadCombination loadCombination = model.OfType<StructuralLoadCombination>().First();

            return new ResultAnalysis1DInternalForces[]
            {
                new ResultAnalysis1DInternalForces(beam, loadCase, 0, Length.Zero)
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(beam, loadCase, 1, Length.FromCentimeters(20))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(beam, loadCase, 2, Length.FromCentimeters(40))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(beam, loadCase, 3, Length.FromCentimeters(60))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(rib, loadCombination, 0, Length.Zero)
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(rib, loadCombination, 1, Length.FromCentimeters(-20))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(rib, loadCombination, 2, Length.FromCentimeters(-40))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                },
                new ResultAnalysis1DInternalForces(rib, loadCombination, 3, Length.FromCentimeters(-60))
                {
                    Mx = GetRandomUnitValue<Torque>(),
                    My = GetRandomUnitValue<Torque>(),
                    Mz = GetRandomUnitValue<Torque>(),
                    N = GetRandomUnitValue<Force>(),
                    Vy = GetRandomUnitValue<Force>(),
                    Vz = GetRandomUnitValue<Force>(),
                }, 
            };
        }
    }
}
See Also