Table of Contents

Class WorkpieceMaterial

Namespace
Hi.Physics
Assembly
HiMech.dll

Represents the physical and mechanical properties of a workpiece material.

public class WorkpieceMaterial : IPreferredFileName, IStructureMaterial, IMakeXmlSource, IDuplicate, INameNote
Inheritance
WorkpieceMaterial
Implements
Inherited Members
Extension Methods

Constructors

WorkpieceMaterial()

Ctor.

public WorkpieceMaterial()

WorkpieceMaterial(XElement, string)

Ctor.

public WorkpieceMaterial(XElement src, string baseDirectory)

Parameters

src XElement

XML

baseDirectory string

Base directory path for resolving relative paths

Properties

Al6061T6

General condition of Al6061T6.

public static WorkpieceMaterial Al6061T6 { get; }

Property Value

WorkpieceMaterial

CompressiveYieldStrength_MPa

Gets or sets the compressive yield strength in megapascals (MPa).

public double CompressiveYieldStrength_MPa { get; set; }

Property Value

double

Density_gdcm3

Gets or sets the density in grams per cubic centimeter (g/cm³).

public double Density_gdcm3 { get; set; }

Property Value

double

Density_gdm3

Gets or sets the density in grams per cubic decimeter (g/dm³).

public double Density_gdm3 { get; set; }

Property Value

double

Density_gdmm3

Gets or sets the density in grams per cubic millimeter (g/mm³).

public double Density_gdmm3 { get; set; }

Property Value

double

EffectiveDepthForElogation_mm

Gets or sets the effective depth for elongation in millimeters (mm).

public double EffectiveDepthForElogation_mm { get; set; }

Property Value

double

ElasticModulus_GPa

Gets or sets the elastic modulus in gigapascals (GPa).

public double ElasticModulus_GPa { get; set; }

Property Value

double

ElogationRaioAtBreak

Gets or sets the elongation ratio at break point.

public double ElogationRaioAtBreak { get; set; }

Property Value

double

FusionLatentHeat_Jdg

Gets or sets the latent heat of fusion in joules per gram (J/g).

public double FusionLatentHeat_Jdg { get; set; }

Property Value

double

HeatCapacity_JdgK

Gets or sets the specific heat capacity in joules per gram per Kelvin (J/g·K).

public double HeatCapacity_JdgK { get; set; }

Property Value

double

HeatConductivity_WdmK

Gets or sets the heat transfer coefficient in watts per decimeter per Kelvin (W/dm·K).

public double HeatConductivity_WdmK { get; set; }

Property Value

double

HeatConductivity_WdmmK

Gets or sets the heat conductivity in watts per millimeter per Kelvin (W/mm·K). This is a conversion of HeatConductivity_WdmK with a factor of 1/1000.

public double HeatConductivity_WdmmK { get; set; }

Property Value

double

MeltingTemperature_C

Gets or sets the melting temperature in Celsius (°C).

public double MeltingTemperature_C { get; set; }

Property Value

double

MeltingTemperature_K

Gets or sets the melting temperature in Kelvin (K).

public double MeltingTemperature_K { get; set; }

Property Value

double

Name

Gets or sets the name of the material.

public string Name { get; set; }

Property Value

string

Note

Gets or sets additional notes about the material.

public string Note { get; set; }

Property Value

string

PoissonRatio

Gets or sets the Poisson's ratio of the material.

public double PoissonRatio { get; set; }

Property Value

double

PreferredFileName

Gets or sets the preferred file name for this object when generating or saving files.

public string PreferredFileName { get; set; }

Property Value

string

TensileYieldStrength_MPa

Gets or sets the tensile yield strength in megapascals (MPa).

public double TensileYieldStrength_MPa { get; set; }

Property Value

double

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

Duplicate(params object[])

Creates a deep copy of the object, excluding any source file references.

public object Duplicate(params object[] res)

Parameters

res object[]

Optional parameters that may be needed during the duplication process

Returns

object

A new instance that is a deep copy of the original object

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