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