Click or drag to resize

StructuralSurfaceActionThermal Class

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

Inheritance Hierarchy
SystemObject
  ModelExchanger.AnalysisDataModel.BaseStructuralAnalysisObjectBase
    ModelExchanger.AnalysisDataModel.LoadsStructuralSurfaceActionThermal

Namespace:  ModelExchanger.AnalysisDataModel.Loads
Assembly:  ModelExchanger.AnalysisDataModel (in ModelExchanger.AnalysisDataModel.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class StructuralSurfaceActionThermal : StructuralAnalysisObjectBase, 
	ILoadAnalysisObject, IStructuralAnalysisObject, IAnalysisObject, IHasParentId, IEquatable<StructuralSurfaceActionThermal>

The StructuralSurfaceActionThermal type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyId
The ID of the Analysis object. Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.)
Public propertyLoadCase
The StructuralLoadCase to which the load belongs
Public propertyMember2D
The StructuralSurfaceMember on which the load is applied
Public propertyMember2DRegion
The StructuralSurfaceMemberRegion on which the load is applied
Public propertyName
The name of the Analysis object. Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.)
Public propertyParentId
The ID of the parent object of the same type
Public propertyValue1
The first size of the load
Public propertyValue2
The second size of the load when Variation is Linear
Public propertyVariation
Defines the variation in temperature
Top
Methods
  NameDescription
Public methodEquals(Object)
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).)
Public methodEquals(StructuralAnalysisObjectBase)
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.)
Public methodEquals(StructuralSurfaceActionThermal)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from StructuralAnalysisObjectBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodToObjectIdentifier
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier
(Defined by IAnalysisObjectExtensions.)
Top
Examples
Creating an instance
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))
            };
        }
    }
}
See Also