StructuralSurfaceActionThermal Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel.Loads
public sealed class StructuralSurfaceActionThermal : StructuralAnalysisObjectBase, ILoadAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasParentId, IEquatable<StructuralSurfaceActionThermal>
The StructuralSurfaceActionThermal type exposes the following members.
Name | Description | |
---|---|---|
StructuralSurfaceActionThermal(Guid, String, StructuralSurfaceMember, StructuralLoadCase, Temperature) |
Creates a constant thermal load on a StructuralSurfaceMember | |
StructuralSurfaceActionThermal(Guid, String, StructuralSurfaceMember, StructuralLoadCase, Temperature, Temperature) |
Creates a linear thermal load on a StructuralSurfaceMember | |
StructuralSurfaceActionThermal(Guid, String, StructuralSurfaceMember, StructuralSurfaceMemberRegion, StructuralLoadCase, Temperature) |
Creates a constant thermal load on a StructuralSurfaceMemberRegion | |
StructuralSurfaceActionThermal(Guid, String, StructuralSurfaceMember, StructuralSurfaceMemberRegion, StructuralLoadCase, Temperature, Temperature) |
Creates a linear thermal load on a StructuralSurfaceMemberRegion |
Name | Description | |
---|---|---|
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
LoadCase |
The StructuralLoadCase to which the load belongs
| |
Member2D |
The StructuralSurfaceMember on which the load is applied
| |
Member2DRegion |
The StructuralSurfaceMemberRegion on which the load is applied
| |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
ParentId |
The ID of the parent object of the same type
| |
Value1 |
The first size of the load
| |
Value2 | ||
Variation |
Defines the variation in temperature
|
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
Equals(StructuralSurfaceActionThermal) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
ToObjectIdentifier |
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier (Defined by IAnalysisObjectExtensions.) |
using System; using System.Collections.Generic; using System.Linq; using ModelExchanger.AnalysisDataModel.Loads; using ModelExchanger.AnalysisDataModel.Models; using ModelExchanger.AnalysisDataModel.StructuralElements; using UnitsNet; namespace ModelExchanger.AnalysisDataModel.Example.Loads { public sealed class StructuralSurfaceActionThermalExample : BaseExample<StructuralSurfaceActionThermal> { protected override IReadOnlyCollection<StructuralSurfaceActionThermal> CreateAnalysisObjects(AnalysisModel model) { StructuralSurfaceMember surface = model.OfType<StructuralSurfaceMember>().Single(x => x.Name == "S1"); StructuralSurfaceMemberRegion region = model.OfType<StructuralSurfaceMemberRegion>().Single(x => x.Name == "R1"); StructuralLoadCase loadCase = model.OfType<StructuralLoadCase>().Single(x => x.Name == "LC2"); return new[] { new StructuralSurfaceActionThermal(Guid.NewGuid(), "LT1", surface, loadCase, Temperature.FromDegreesCelsius(22)), new StructuralSurfaceActionThermal(Guid.NewGuid(), "LT2", region.Member2D, region, loadCase, Temperature.Zero, Temperature.FromDegreesCelsius(100D)) }; } } }