Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
ThermalProperties.h
Go to the documentation of this file.
1#pragma once
2
4 double tempK = 293.15; // 20C, standard room temperature
5 double internalHeatPower = 0.0; // W - generated heat inside the body
6 double externalHeatFlux = 0.0; // W/m2 - net absorbed heat flux on the surface
7 double entropyJPerK = 0.0; // J/K - accumulated body entropy estimate
8 float referenceTempK = 293.15f; // Kelvin - reference for linear material coefficients
9 float specificHeat = 450.0f; // J/(kg·K) - iron
10 float specificHeatTempCoeff = 0.0f; // 1/K - linear cp temperature coefficient
11 float thermalMassFraction = 1.0f; // 0–1 - fraction of body mass thermally active
12 float emissivity = 0.70f; // 0–1 - oxidized metal
13 float emissivityTempCoeff = 0.0f; // 1/K - linear emissivity temperature coefficient
14 float absorptivity = 0.70f; // 0–1 - absorbed incident radiation
15 float absorptivityTempCoeff = 0.0f; // 1/K - linear absorptivity temperature coefficient
16 float heatTransferCoeff = 10.0f; // W/(m²·K) - still air natural convection
17 float conductivity = 79.0f; // W/(m·K) - iron
18 float conductivityTempCoeff = 0.0f; // 1/K - linear conductivity temperature coefficient
19 float density = 7874.0f; // kg/m³ - iron
20 float linearExpansionCoeff = 0.0f; // 1/K - linear thermal expansion coefficient
21 float meltingPoint = 1811.0f; // Kelvin - iron, 0 if N/A
22 float latentHeatFusion = 0.0f; // J/kg - energy absorbed while melting
23 float fusionProgress = 0.0f; // 0–1 - 0 solid, 1 liquid
24 float boilingPoint = 0.0f; // Kelvin - 0 if N/A
25 float latentHeatVaporization = 0.0f; // J/kg - energy absorbed while boiling
26 float vaporizationProgress = 0.0f; // 0–1 - 0 condensed, 1 vapor
27};