Class StructureMaterial
Represents a material with physical and thermal properties used in structural analysis.
public class StructureMaterial : IStructureMaterial, IMakeXmlSource, IDuplicate, INameNote
- Inheritance
-
StructureMaterial
- Implements
- Inherited Members
- Extension Methods
Constructors
StructureMaterial()
Default constructor.
public StructureMaterial()
StructureMaterial(StructureMaterial)
Creates a new cutter material as a copy of an existing one.
public StructureMaterial(StructureMaterial src)
Parameters
src
StructureMaterialThe source material to copy from.
StructureMaterial(XElement)
Ctor.
public StructureMaterial(XElement src)
Parameters
src
XElementXML
Properties
AlloySteel42CrMo
Gets a predefined 42CrMo alloy steel material commonly used for milling cutter bodies.
public static StructureMaterial AlloySteel42CrMo { get; }
Property Value
Density_gdcm3
Gets or sets the density in grams per cubic centimeter.
public double Density_gdcm3 { get; set; }
Property Value
Density_gdm3
Density in g/dm³.
public double Density_gdm3 { get; set; }
Property Value
Density_gdmm3
Density in g/mm³.
public double Density_gdmm3 { get; set; }
Property Value
ElasticModulus_GPa
Gets or sets the elastic modulus in gigapascals.
public double ElasticModulus_GPa { get; set; }
Property Value
HeatCapacity_JdgK
Gets or sets the heat capacity in Joules per gram-Kelvin.
public double HeatCapacity_JdgK { get; set; }
Property Value
HeatConductivity_WdmK
Gets or sets the heat transfer coefficient in Watts per meter-Kelvin.
public double HeatConductivity_WdmK { get; set; }
Property Value
HeatConductivity_WdmmK
Heat transfer coefficient in W/(mm·K).
public double HeatConductivity_WdmmK { get; set; }
Property Value
Name
Gets or sets the name of the object.
public string Name { get; set; }
Property Value
Note
Gets or sets the descriptive note for the object.
public string Note { get; set; }
Property Value
PoissonRatio
public double PoissonRatio { get; set; }
Property Value
TensileStrength_MPa
public double TensileStrength_MPa { get; set; }
Property Value
ThermalExpansionCoefficient_dMK
public double ThermalExpansionCoefficient_dMK { get; set; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
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 virtual XElement MakeXmlSource(string baseDirectory, string relFile)
Parameters
baseDirectory
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
Returns
- XElement
An XML element representing the object's state