ResultAnalysis2DInternalForces Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Results
public sealed class ResultAnalysis2DInternalForces : ResultAnalysisBase, IEquatable<ResultAnalysis2DInternalForces>
The ResultAnalysis2DInternalForces type exposes the following members.
Name | Description | |
---|---|---|
ResultAnalysis2DInternalForces(StructuralSurfaceMember, Int32, StructuralLoadCase, Int32, Length) |
Create a new 2D internal force section for the given member2d in the given loadCase | |
ResultAnalysis2DInternalForces(StructuralSurfaceMember, Int32, StructuralLoadCombination, Int32, Length) |
Create a new 2D internal force section for the given member2d in the given loadCombination |
Name | Description | |
---|---|---|
CombinationKey |
Allows to define exact combination per result section
| |
Edge |
The 0-based index of the edge of referenced Member2D from which this result is calculated
| |
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.) | |
Member2D |
The 2D member from which the result is calculated.
| |
Mx |
Result value of bending moment mx
| |
Mxy |
Result value of torsion moment mxy
| |
My |
Result value of bending moment my
| |
Name |
The (unique within its type) name of the object
(Inherited from ResultAnalysisBase.) | |
Nx |
Result value of membrane force nx
| |
Nxy |
Result value of shear force nxy
| |
Ny |
Result value of membrane force ny
| |
Section |
The location along the X-axis of the member where this result is located
| |
TypeOfResult |
Defines the type of result
(Overrides ResultAnalysisBaseTypeOfResult.) | |
Vx |
Result value of shear force vx
| |
Vy |
Result value of shear force vy
|
Name | Description | |
---|---|---|
Equals(Object) |
Checks whether the provided object is equal to the current instance
(Overrides ResultAnalysisBaseEquals(Object).) | |
Equals(ResultAnalysis2DInternalForces) | 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 ResultAnalysis2DInternalForcesExample : BaseExample<ResultAnalysis2DInternalForces> { protected override IReadOnlyCollection<ResultAnalysis2DInternalForces> CreateAnalysisObjects(AnalysisModel model) { StructuralSurfaceMember surface = model.OfType<StructuralSurfaceMember>().First(); StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().First(); StructuralLoadCombination loadCombination = model.OfType<StructuralLoadCombination>().First(); return new ResultAnalysis2DInternalForces[] { new ResultAnalysis2DInternalForces(surface, 0, loadCase, 0, Length.Zero) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 0, loadCase, 1, Length.FromCentimeters(50)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 0, loadCase, 2, Length.FromMeters(1)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 0, loadCase, 3, Length.FromCentimeters(150)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 1, loadCombination, 0, Length.FromCentimeters(150)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 1, loadCombination, 1, Length.FromCentimeters(100)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 1, loadCombination, 2, Length.FromCentimeters(50)) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, new ResultAnalysis2DInternalForces(surface, 1, loadCombination, 3, Length.Zero) { Mx = GetRandomUnitValue<TorquePerLength>(), My = GetRandomUnitValue<TorquePerLength>(), Mxy = GetRandomUnitValue<TorquePerLength>(), Vx = GetRandomUnitValue<ForcePerLength>(), Vy = GetRandomUnitValue<ForcePerLength>(), Nx = GetRandomUnitValue<ForcePerLength>(), Ny = GetRandomUnitValue<ForcePerLength>(), Nxy = GetRandomUnitValue<ForcePerLength>() }, }; } } }