ResultAnalysis1DInternalForces Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Results
public sealed class ResultAnalysis1DInternalForces : ResultAnalysisBase, IEquatable<ResultAnalysis1DInternalForces>
The ResultAnalysis1DInternalForces type exposes the following members.
Name | Description | |
---|---|---|
ResultAnalysis1DInternalForces(StructuralCurveMember, StructuralLoadCase, Int32, Length) |
Create a new 1D internal force section for the given StructuralCurveMember in the given StructuralLoadCase | |
ResultAnalysis1DInternalForces(StructuralCurveMember, StructuralLoadCombination, Int32, Length) |
Create a new 1D internal force section for the given StructuralCurveMember in the given StructuralLoadCombination | |
ResultAnalysis1DInternalForces(StructuralCurveMemberRib, StructuralLoadCase, Int32, Length) |
Create a new 1D internal force section for the given StructuralCurveMemberRib in the given StructuralLoadCase | |
ResultAnalysis1DInternalForces(StructuralCurveMemberRib, StructuralLoadCombination, Int32, Length) |
Create a new 1D internal force section for the given StructuralCurveMemberRib in the given StructuralLoadCase |
Name | Description | |
---|---|---|
CombinationKey |
Allows to define exact combination per result section
| |
Id |
The ID that uniquely identifies the result. Generated from Name (Inherited from ResultAnalysisBase.) | |
Index |
0-based index that defines the order of the forces in a set of results that are applied on the same member
| |
LoadCase |
The load case to which the result belongs. When this is set, LoadCombination should be NULL.
(Inherited from ResultAnalysisBase.) | |
LoadCombination |
The load combination to which the result belongs. When this is set, LoadCase should be NULL.
(Inherited from ResultAnalysisBase.) | |
Member |
The 1D member from which the result is calculated. When this is provided, MemberRib should be NULL.
| |
MemberRib |
The 1D member rib from which the result is calculated. When this is provided, Member should be NULL.
| |
Mx |
Result value of Mx (Moment around X axis)
| |
My |
Result value of My (Moment around Y axis)
| |
Mz |
Result value of Mz (Moment around Z axis)
| |
N |
Result value of N (Normal force)
| |
Name |
The (unique within its type) name of the object
(Inherited from ResultAnalysisBase.) | |
Section |
The location along the X-axis of the member where this result is located
| |
TypeOfResult |
Defines the type of result
(Overrides ResultAnalysisBaseTypeOfResult.) | |
Vy |
Result value of Vy (Shear force in Y axis direction)
| |
Vz |
Result value of Vz (Shear force in Z axis direction)
|
Name | Description | |
---|---|---|
Equals(Object) |
Checks whether the provided object is equal to the current instance
(Overrides ResultAnalysisBaseEquals(Object).) | |
Equals(ResultAnalysis1DInternalForces) | Indicates whether the current object is equal to another object of the same type. | |
Equals(ResultAnalysisBase) |
Checks whether the provided result is equal to the current result
(Inherited from ResultAnalysisBase.) | |
GetHashCode |
Calculates the hashcode of this instance
(Overrides ResultAnalysisBaseGetHashCode.) |
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>(), }, }; } } }