thermal_conductivity.nbt 528 B

1234567891011121314
  1. # https://en.wikipedia.org/wiki/Thermal_conductivity
  2. dimension ThermalConductivity = Power / (Length × Temperature)
  3. fn heat_transfer(λ: ThermalConductivity,
  4. wall_area: Area,
  5. thickness: Length,
  6. temp_hot: Temperature,
  7. temp_cold: Temperature) -> Power =
  8. λ × wall_area × (temp_hot - temp_cold) / thickness
  9. let λ_concrete: ThermalConductivity = 0.92 W / (m · K)
  10. print(heat_transfer(λ_concrete, 3 m × 2 m, 20 cm, from_celsius(20), from_celsius(0)))