Class CoolantHeatCondition
Represents the heat condition parameters for coolant in machining operations.
public class CoolantHeatCondition : IMakeXmlSource
- Inheritance
-
CoolantHeatCondition
- Implements
- Inherited Members
- Extension Methods
Constructors
CoolantHeatCondition()
Initializes a new instance of the CoolantHeatCondition class.
public CoolantHeatCondition()
CoolantHeatCondition(XElement)
Initializes a new instance of the CoolantHeatCondition class from XML data.
public CoolantHeatCondition(XElement src)
Parameters
src
XElementThe XML element containing coolant heat condition data.
Properties
CoolantConvectionCoefficient_Wdm2K
Gets or sets the coolant heat transfer coefficient in Watts per square meter per Kelvin.
public double CoolantConvectionCoefficient_Wdm2K { get; set; }
Property Value
Remarks
Common value: forced air: 10~500; coolant: 1e3~1e4 (ref by “Effects of coolant on temperature distribution in metal machining”, 1988) coolant: 1e3 (ref by “Modeling heat transfer in die milling”, 2014)
CoolantConvectionCoefficient_Wdmm2K
Gets or sets the coolant heat transfer coefficient in Watts per square millimeter per Kelvin.
public double CoolantConvectionCoefficient_Wdmm2K { get; set; }
Property Value
CoolantTemperature_C
Gets or sets the coolant temperature in Celsius.
public double CoolantTemperature_C { get; set; }
Property Value
CoolantTemperature_K
Gets or sets the coolant temperature in Kelvin.
public double CoolantTemperature_K { get; set; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
MakeXmlSource(string, string, bool)
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, bool exhibitionOnly)
Parameters
baseDirectory
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
exhibitionOnly
boolif true, the extended file creation is suppressed.
Returns
- XElement
An XML element representing the object's state
Remarks
For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The baseDirectory
is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.