Table of Contents

Class ThermalLayer1D

Namespace
Hi.Physics
Assembly
HiMech.dll

Represents a one-dimensional thermal layer for heat transfer calculations.

public class ThermalLayer1D : IMakeXmlSource
Inheritance
ThermalLayer1D
Implements
Inherited Members
Extension Methods

Constructors

ThermalLayer1D()

Initializes a new instance of the ThermalLayer1D class.

public ThermalLayer1D()

ThermalLayer1D(IStructureMaterial, double)

Initializes a new instance of the ThermalLayer1D class with the specified material and length.

public ThermalLayer1D(IStructureMaterial material, double length_mm)

Parameters

material IStructureMaterial

The thermal material of this layer.

length_mm double

The length of this layer in millimeters.

ThermalLayer1D(ThermalLayer1D)

Initializes a new instance of the ThermalLayer1D class by copying from another instance.

public ThermalLayer1D(ThermalLayer1D src)

Parameters

src ThermalLayer1D

The source thermal layer to copy from.

ThermalLayer1D(XElement, string, string)

Initializes a new instance of the ThermalLayer1D class from XML data.

public ThermalLayer1D(XElement src, string baseDirectory, string relFile)

Parameters

src XElement

The XML element containing thermal layer data.

baseDirectory string

The base directory for resolving relative paths.

relFile string

The relative file path.

Properties

Length_mm

Gets or sets the length of this thermal layer in millimeters.

public double Length_mm { get; set; }

Property Value

double

Length_um

Gets or sets the length of this thermal layer in micrometers.

public double Length_um { get; set; }

Property Value

double

Material

Gets or sets the thermal material of this layer.

public IStructureMaterial Material { get; set; }

Property Value

IStructureMaterial

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state