Table of Contents

Class SeqPhysicsBrief

Namespace
Hi.Physics
Assembly
HiMech.dll

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

src SeqPhysicsBrief

The 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_K double

The background temperature in Kelvin.

spindleTemperature_K double

The spindle temperature in Kelvin.

Properties

AccumulatedCraterWear_um

Gets or sets the accumulated crater wear in micrometers.

public double AccumulatedCraterWear_um { get; set; }

Property Value

double

AccumulatedFlankWearDepth_um

Gets or sets the accumulated flank wear depth in micrometers.

public double AccumulatedFlankWearDepth_um { get; set; }

Property Value

double

AccumulatedFlankWearWidth_um

Gets or sets the accumulated flank wear width in micrometers.

public double AccumulatedFlankWearWidth_um { get; set; }

Property Value

double

ChipTemperature_C

Gets or sets the chip temperature in Celsius.

[NotMapped]
public double ChipTemperature_C { get; set; }

Property Value

double

ChipTemperature_K

Gets or sets the chip temperature in Kelvin.

public double ChipTemperature_K { get; set; }

Property Value

double

CutterBodyTemperature_C

Gets or sets the cutter body temperature in Celsius.

[NotMapped]
public double CutterBodyTemperature_C { get; set; }

Property Value

double

CutterBodyTemperature_K

Gets or sets the cutter body temperature in Kelvin.

public double CutterBodyTemperature_K { get; set; }

Property Value

double

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

List<double>

CutterShankTemperatureList

Gets or sets the list of cutter body temperatures at different points.

public List<double> CutterShankTemperatureList { get; set; }

Property Value

List<double>

CutterSurfaceTemperature_C

Gets or sets the cutter surface temperature in Celsius.

[NotMapped]
public double CutterSurfaceTemperature_C { get; set; }

Property Value

double

CutterSurfaceTemperature_K

Gets or sets the cutter surface temperature in Kelvin.

public double CutterSurfaceTemperature_K { get; set; }

Property Value

double

InstantCraterWear_um

Gets or sets the instant crater wear in micrometers.

public double InstantCraterWear_um { get; set; }

Property Value

double

InstantFlankWearDepth_um

Gets or sets the instant flank wear depth in micrometers.

public double InstantFlankWearDepth_um { get; set; }

Property Value

double

SpindleEnergyConsumption_kJ

Accumulation of Spindle input energy.

public double SpindleEnergyConsumption_kJ { get; }

Property Value

double

SpindleTemperature_C

Gets or sets the spindle temperature in Celsius.

public double SpindleTemperature_C { get; }

Property Value

double

SpindleTemperature_K

Gets or sets the spindle temperature in Kelvin.

public double SpindleTemperature_K { get; }

Property Value

double

SpindleWorkingTemperatureRatio

Gets or sets the ratio of current spindle temperature to its working temperature range.

public double SpindleWorkingTemperatureRatio { get; set; }

Property Value

double

ThermalStress_MPa

Gets or sets the thermal stress in megapascals.

public double ThermalStress_MPa { get; }

Property Value

double

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

double

WorkpieceDermisTemperatureList

Gets or sets the list of workpiece dermis temperatures at different depths.

public List<double> WorkpieceDermisTemperatureList { get; set; }

Property Value

List<double>

WorkpieceSurfaceTemperature_C

Gets or sets the workpiece surface temperature in Celsius.

[NotMapped]
public double WorkpieceSurfaceTemperature_C { get; set; }

Property Value

double

WorkpieceSurfaceTemperature_K

Gets or sets the workpiece surface temperature in Kelvin.

public double WorkpieceSurfaceTemperature_K { get; set; }

Property Value

double

Methods

AddToCsvDictionary(Dictionary<string, string>)

Adds physical quantities to a CSV dictionary representation.

public void AddToCsvDictionary(Dictionary<string, string> dst)

Parameters

dst Dictionary<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

dst Dictionary<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

preSeqPhysicsBrief SeqPhysicsBrief

The previous sequence physics brief.

preMachineMotionStep MachineMotionStep

The previous machine motion step.

curMachineMotionStep MachineMotionStep

The current machine motion step.

backgroundTemperature_K double

The background temperature in Kelvin.

spindleCapability SpindleCapability

The spindle capability information.

machiningTool IMachiningTool

The machining tool.

workpiece Workpiece

The workpiece.

stepIndex int

The step index.

substraction Substraction

The substraction data.

layerMillingEngagement LayerMillingEngagement

The layer milling engagement.

millingPhysicsBrief MillingPhysicsBrief

The milling physics brief.

coolantHeatCondition CoolantHeatCondition

The coolant heat condition.

enableWearEffect bool

Whether 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

machiningStep MachineMotionStep
rakeFacePhysicsBrief MillingPhysicsBrief
backgroundTemperature_K double
spindleCapability SpindleCapability
spindleSpeedCache SpindleSpeedCache
preSpindleTemperature_K double

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

depth double

The depth to calculate the average temperature to

thermalLayerList IList<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_mm double

The depth in millimeters.

thermalLayerList IList<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

key string

The 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

src Dictionary<string, string>

The source dictionary containing values.

removeFromSource bool

Whether to remove keys from the source dictionary after reading.