THERM_RESIST_TO_K
Converts thermal resistivity to thermal conductivity by taking the reciprocal. This is used when resistivity is available in material data but conductivity is required for model inputs.
The relation is:
k = \frac{1}{r}
Excel Usage
=THERM_RESIST_TO_K(r)
r(float, required): Thermal resistivity (m*K/W).
Returns (float): Thermal conductivity (W/m/K).
Example 1: Example conductivity
Inputs:
| r |
|---|
| 4 |
Excel formula:
=THERM_RESIST_TO_K(4)
Expected output:
0.25
Example 2: Lower resistivity
Inputs:
| r |
|---|
| 2 |
Excel formula:
=THERM_RESIST_TO_K(2)
Expected output:
0.5
Example 3: Higher resistivity
Inputs:
| r |
|---|
| 10 |
Excel formula:
=THERM_RESIST_TO_K(10)
Expected output:
0.1
Example 4: Moderate resistivity
Inputs:
| r |
|---|
| 1.5 |
Excel formula:
=THERM_RESIST_TO_K(1.5)
Expected output:
0.666667
Python Code
Show Code
from ht.conduction import thermal_resistivity_to_k as ht_thermal_resistivity_to_k
def therm_resist_to_k(r):
"""
Convert thermal resistivity to thermal conductivity.
See: https://ht.readthedocs.io/en/latest/ht.conduction.html
This example function is provided as-is without any representation of accuracy.
Args:
r (float): Thermal resistivity (m*K/W).
Returns:
float: Thermal conductivity (W/m/K).
"""
try:
return ht_thermal_resistivity_to_k(r=r)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Thermal resistivity (m*K/W).