Class SeqPhysicsBrief
Represents a brief summary of physical properties and measurements during a machining sequence.
public class SeqPhysicsBrief : IGetQuantityByKey
- Inheritance
-
SeqPhysicsBrief
- Implements
- Inherited Members
- Extension Methods
Constructors
SeqPhysicsBrief(SeqPhysicsBrief)
Creates a new instance by copying from an existing SeqPhysicsBrief.
public SeqPhysicsBrief(SeqPhysicsBrief src)
Parameters
srcSeqPhysicsBriefThe source object to copy from.
SeqPhysicsBrief(double, double)
Initializes a new instance of the SeqPhysicsBrief class.
public SeqPhysicsBrief(double backgroundTemperature_K, double spindleTemperature_K)
Parameters
backgroundTemperature_KdoubleThe background temperature in Kelvin.
spindleTemperature_KdoubleThe spindle temperature in Kelvin.
Properties
AccumulatedCraterWear_um
Gets or sets the accumulated crater wear in micrometers.
public double AccumulatedCraterWear_um { get; set; }
Property Value
AccumulatedFlankWearDepth_um
Gets or sets the accumulated flank wear depth in micrometers.
public double AccumulatedFlankWearDepth_um { get; set; }
Property Value
AccumulatedFlankWearWidth_um
Gets or sets the accumulated flank wear width in micrometers.
public double AccumulatedFlankWearWidth_um { get; set; }
Property Value
ChipTemperature_C
Gets or sets the chip temperature in Celsius.
[NotMapped]
public double ChipTemperature_C { get; set; }
Property Value
ChipTemperature_K
Gets or sets the chip temperature in Kelvin.
public double ChipTemperature_K { get; set; }
Property Value
CutterBodyTemperature_C
Gets or sets the cutter body temperature in Celsius.
[NotMapped]
public double CutterBodyTemperature_C { get; set; }
Property Value
CutterBodyTemperature_K
Gets or sets the cutter body temperature in Kelvin.
public double CutterBodyTemperature_K { get; set; }
Property Value
CutterFluteTemperatureList
Gets or sets the list of cutter dermis temperatures at different depths. [0] represents the temperature at the rake surface.
public List<double> CutterFluteTemperatureList { get; set; }
Property Value
CutterShankTemperatureList
Gets or sets the list of cutter body temperatures at different points.
public List<double> CutterShankTemperatureList { get; set; }
Property Value
CutterSurfaceTemperature_C
Gets or sets the cutter surface temperature in Celsius.
[NotMapped]
public double CutterSurfaceTemperature_C { get; set; }
Property Value
CutterSurfaceTemperature_K
Gets or sets the cutter surface temperature in Kelvin.
public double CutterSurfaceTemperature_K { get; set; }
Property Value
InstantCraterWear_um
Gets or sets the instant crater wear in micrometers.
public double InstantCraterWear_um { get; set; }
Property Value
InstantFlankWearDepth_um
Gets or sets the instant flank wear depth in micrometers.
public double InstantFlankWearDepth_um { get; set; }
Property Value
SpindleEnergyConsumption_kJ
Accumulation of Spindle input energy.
public double SpindleEnergyConsumption_kJ { get; }
Property Value
SpindleTemperature_C
Gets or sets the spindle temperature in Celsius.
public double SpindleTemperature_C { get; }
Property Value
SpindleTemperature_K
Gets or sets the spindle temperature in Kelvin.
public double SpindleTemperature_K { get; }
Property Value
SpindleWorkingTemperatureRatio
Gets or sets the ratio of current spindle temperature to its working temperature range.
public double SpindleWorkingTemperatureRatio { get; set; }
Property Value
ThermalStress_MPa
Gets or sets the thermal stress in megapascals.
public double ThermalStress_MPa { get; }
Property Value
ThermalYieldRatio
Ratio between Thermal Stress and tensile strength. The tensile strength is applied since the compressive strength is high. so assume if the material shrink back, there arise tensile stress.
public double ThermalYieldRatio { get; }
Property Value
WorkpieceDermisTemperatureList
Gets or sets the list of workpiece dermis temperatures at different depths.
public List<double> WorkpieceDermisTemperatureList { get; set; }
Property Value
WorkpieceSurfaceTemperature_C
Gets or sets the workpiece surface temperature in Celsius.
[NotMapped]
public double WorkpieceSurfaceTemperature_C { get; set; }
Property Value
WorkpieceSurfaceTemperature_K
Gets or sets the workpiece surface temperature in Kelvin.
public double WorkpieceSurfaceTemperature_K { get; set; }
Property Value
Methods
AddToCsvDictionary(Dictionary<string, string>)
Adds physical quantities to a CSV dictionary representation.
public void AddToCsvDictionary(Dictionary<string, string> dst)
Parameters
dstDictionary<string, string>The destination dictionary to add values to.
AddToQuantityDictionary(Dictionary<string, double>)
Adds physical quantities to a numeric dictionary representation.
public void AddToQuantityDictionary(Dictionary<string, double> dst)
Parameters
dstDictionary<string, double>The destination dictionary to add values to.
BuildCuttingTemperatureAndWear(SeqPhysicsBrief, MachineMotionStep, MachineMotionStep, double, SpindleCapability, IMachiningTool, Workpiece, int, Substraction, LayerMillingEngagement, MillingPhysicsBrief, CoolantHeatCondition, bool)
Builds cutting temperature and wear calculations for the current step.
public void BuildCuttingTemperatureAndWear(SeqPhysicsBrief preSeqPhysicsBrief, MachineMotionStep preMachineMotionStep, MachineMotionStep curMachineMotionStep, double backgroundTemperature_K, SpindleCapability spindleCapability, IMachiningTool machiningTool, Workpiece workpiece, int stepIndex, Substraction substraction, LayerMillingEngagement layerMillingEngagement, MillingPhysicsBrief millingPhysicsBrief, CoolantHeatCondition coolantHeatCondition, bool enableWearEffect)
Parameters
preSeqPhysicsBriefSeqPhysicsBriefThe previous sequence physics brief.
preMachineMotionStepMachineMotionStepThe previous machine motion step.
curMachineMotionStepMachineMotionStepThe current machine motion step.
backgroundTemperature_KdoubleThe background temperature in Kelvin.
spindleCapabilitySpindleCapabilityThe spindle capability information.
machiningToolIMachiningToolThe machining tool.
workpieceWorkpieceThe workpiece.
stepIndexintThe step index.
substractionSubstractionThe substraction data.
layerMillingEngagementLayerMillingEngagementThe layer milling engagement.
millingPhysicsBriefMillingPhysicsBriefThe milling physics brief.
coolantHeatConditionCoolantHeatConditionThe coolant heat condition.
enableWearEffectboolWhether to enable wear effect calculations.
BuildSpindleTemperatureAndRatio(MachineMotionStep, MillingPhysicsBrief, double, SpindleCapability, SpindleSpeedCache, double)
Internal Use Only.
public void BuildSpindleTemperatureAndRatio(MachineMotionStep machiningStep, MillingPhysicsBrief rakeFacePhysicsBrief, double backgroundTemperature_K, SpindleCapability spindleCapability, SpindleSpeedCache spindleSpeedCache, double preSpindleTemperature_K)
Parameters
machiningStepMachineMotionSteprakeFacePhysicsBriefMillingPhysicsBriefbackgroundTemperature_KdoublespindleCapabilitySpindleCapabilityspindleSpeedCacheSpindleSpeedCachepreSpindleTemperature_Kdouble
GetCutterDermisAvgTemperature_K(double, IList<ThermalLayer1D>)
Gets the average cutter dermis temperature up to a specific depth.
public double GetCutterDermisAvgTemperature_K(double depth, IList<ThermalLayer1D> thermalLayerList)
Parameters
depthdoubleThe depth to calculate the average temperature to
thermalLayerListIList<ThermalLayer1D>The list of thermal layers
Returns
- double
The average temperature in Kelvin up to the specified depth
GetCutterDermisTemperature_K(double, IList<ThermalLayer1D>)
Gets the cutter dermis temperature at a specified depth.
public double GetCutterDermisTemperature_K(double depth_mm, IList<ThermalLayer1D> thermalLayerList)
Parameters
depth_mmdoubleThe depth in millimeters.
thermalLayerListIList<ThermalLayer1D>The thermal layer list.
Returns
- double
The temperature in Kelvin.
GetQuantityByKey(string)
Gets a quantity value associated with the specified key.
public double GetQuantityByKey(string key)
Parameters
keystringThe key to look up
Returns
- double
The quantity value associated with the key
SetByCsvDictionary(Dictionary<string, string>, bool)
Sets properties from a CSV dictionary.
public void SetByCsvDictionary(Dictionary<string, string> src, bool removeFromSource = false)
Parameters
srcDictionary<string, string>The source dictionary containing values.
removeFromSourceboolWhether to remove keys from the source dictionary after reading.