Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
Physics::Thermal Namespace Reference

Functions

double fourthPower (double value)
 
double clampTemperature (double tempK)
 
double linearTemperatureFactor (double coeffPerK, double tempK, double referenceTempK)
 
double effectiveSpecificHeat (const ThermalProperties &props, double tempK)
 
double effectiveConductivity (const ThermalProperties &props, double tempK)
 
double effectiveEmissivity (const ThermalProperties &props, double tempK)
 
double effectiveAbsorptivity (const ThermalProperties &props, double tempK)
 
double effectiveDensity (const ThermalProperties &props, double tempK)
 
double activeThermalMass (double massKg, const ThermalProperties &props)
 
double heatCapacity (double massKg, const ThermalProperties &props)
 
double thermalDiffusivity (const ThermalProperties &props, double tempK)
 
double biotNumber (const ThermalProperties &props, double characteristicLengthM)
 
double fourierNumber (const ThermalProperties &props, double characteristicLengthM, double elapsedSeconds)
 
double carnotEfficiency (double hotTempK, double coldTempK)
 
double specificEntropyChange (double specificHeatJPerKgK, double fromTempK, double toTempK)
 
double convectionHeatRate (const ThermalProperties &props, double areaM2, double ambientTempK)
 
double ambientRadiationHeatRate (const ThermalProperties &props, double areaM2, double ambientTempK)
 
double externalHeatFluxRate (const ThermalProperties &props, double areaM2)
 
double conductiveHeatRate (double conductivityA, double conductivityB, double areaM2, double distanceM, double tempAK, double tempBK)
 
void applyThermalEnergy (ThermalProperties &props, double massKg, double energyJ)
 
void applyConductiveExchange (ThermalProperties &a, double massA, ThermalProperties &b, double massB, double areaM2, double distanceM, double dt)
 
template<typename HeatRateFn >
void integrateTemperature (ThermalProperties &props, double massKg, double dt, HeatRateFn &&heatRateAtTemp)
 

Variables

constexpr double kMinTemperatureK = 0.0
 
constexpr double kMaxTemperatureK = 1.0e8
 
constexpr double kMinConductionDistance = 1.0e-9
 
constexpr double kMaxThermalStepSeconds = 60.0
 
constexpr double kMaxTemperatureStepK = 25.0
 
constexpr double kMaxTemperatureStepFraction = 0.02
 

Function Documentation

◆ activeThermalMass()

double Physics::Thermal::activeThermalMass ( double  massKg,
const ThermalProperties props 
)

Definition at line 54 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ ambientRadiationHeatRate()

double Physics::Thermal::ambientRadiationHeatRate ( const ThermalProperties props,
double  areaM2,
double  ambientTempK 
)

Definition at line 103 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ applyConductiveExchange()

void Physics::Thermal::applyConductiveExchange ( ThermalProperties a,
double  massA,
ThermalProperties b,
double  massB,
double  areaM2,
double  distanceM,
double  dt 
)

Definition at line 219 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ applyThermalEnergy()

void Physics::Thermal::applyThermalEnergy ( ThermalProperties props,
double  massKg,
double  energyJ 
)

Definition at line 122 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ biotNumber()

double Physics::Thermal::biotNumber ( const ThermalProperties props,
double  characteristicLengthM 
)

Definition at line 73 of file ThermalUtils.cpp.

Here is the call graph for this function:

◆ carnotEfficiency()

double Physics::Thermal::carnotEfficiency ( double  hotTempK,
double  coldTempK 
)

Definition at line 84 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clampTemperature()

double Physics::Thermal::clampTemperature ( double  tempK)

Definition at line 14 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ conductiveHeatRate()

double Physics::Thermal::conductiveHeatRate ( double  conductivityA,
double  conductivityB,
double  areaM2,
double  distanceM,
double  tempAK,
double  tempBK 
)

Definition at line 116 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ convectionHeatRate()

double Physics::Thermal::convectionHeatRate ( const ThermalProperties props,
double  areaM2,
double  ambientTempK 
)

Definition at line 98 of file ThermalUtils.cpp.

◆ effectiveAbsorptivity()

double Physics::Thermal::effectiveAbsorptivity ( const ThermalProperties props,
double  tempK 
)

Definition at line 40 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ effectiveConductivity()

double Physics::Thermal::effectiveConductivity ( const ThermalProperties props,
double  tempK 
)

Definition at line 29 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ effectiveDensity()

double Physics::Thermal::effectiveDensity ( const ThermalProperties props,
double  tempK 
)

Definition at line 46 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ effectiveEmissivity()

double Physics::Thermal::effectiveEmissivity ( const ThermalProperties props,
double  tempK 
)

Definition at line 34 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ effectiveSpecificHeat()

double Physics::Thermal::effectiveSpecificHeat ( const ThermalProperties props,
double  tempK 
)

Definition at line 24 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ externalHeatFluxRate()

double Physics::Thermal::externalHeatFluxRate ( const ThermalProperties props,
double  areaM2 
)

Definition at line 111 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ fourierNumber()

double Physics::Thermal::fourierNumber ( const ThermalProperties props,
double  characteristicLengthM,
double  elapsedSeconds 
)

Definition at line 79 of file ThermalUtils.cpp.

Here is the call graph for this function:

◆ fourthPower()

double Physics::Thermal::fourthPower ( double  value)

Definition at line 9 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ heatCapacity()

double Physics::Thermal::heatCapacity ( double  massKg,
const ThermalProperties props 
)

Definition at line 60 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ integrateTemperature()

template<typename HeatRateFn >
void Physics::Thermal::integrateTemperature ( ThermalProperties props,
double  massKg,
double  dt,
HeatRateFn &&  heatRateAtTemp 
)

Definition at line 39 of file ThermalUtils.h.

Here is the call graph for this function:

◆ linearTemperatureFactor()

double Physics::Thermal::linearTemperatureFactor ( double  coeffPerK,
double  tempK,
double  referenceTempK 
)

Definition at line 19 of file ThermalUtils.cpp.

Here is the caller graph for this function:

◆ specificEntropyChange()

double Physics::Thermal::specificEntropyChange ( double  specificHeatJPerKgK,
double  fromTempK,
double  toTempK 
)

Definition at line 91 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thermalDiffusivity()

double Physics::Thermal::thermalDiffusivity ( const ThermalProperties props,
double  tempK 
)

Definition at line 66 of file ThermalUtils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kMaxTemperatureK

constexpr double Physics::Thermal::kMaxTemperatureK = 1.0e8
constexpr

Definition at line 10 of file ThermalUtils.h.

◆ kMaxTemperatureStepFraction

constexpr double Physics::Thermal::kMaxTemperatureStepFraction = 0.02
constexpr

Definition at line 14 of file ThermalUtils.h.

◆ kMaxTemperatureStepK

constexpr double Physics::Thermal::kMaxTemperatureStepK = 25.0
constexpr

Definition at line 13 of file ThermalUtils.h.

◆ kMaxThermalStepSeconds

constexpr double Physics::Thermal::kMaxThermalStepSeconds = 60.0
constexpr

Definition at line 12 of file ThermalUtils.h.

◆ kMinConductionDistance

constexpr double Physics::Thermal::kMinConductionDistance = 1.0e-9
constexpr

Definition at line 11 of file ThermalUtils.h.

◆ kMinTemperatureK

constexpr double Physics::Thermal::kMinTemperatureK = 0.0
constexpr

Definition at line 9 of file ThermalUtils.h.