# Material

*Defines the properties of a solid material for heat transfer simulations.*

---

## Available Options

| *Option*                | *Description*                                      |
|------------------------|----------------------------------------------------|
| **Thermal conductivity**| Thermal conductivity of the material |
| **Density**             | Density of the material              |
| **Specific heat capacity** | Specific heat capacity of the material |

---

## Detailed Descriptions

### Thermal conductivity

*Thermal conductivity of the material, which determines how efficiently heat is conducted through the solid.*

- **Required** 
- **Example:** `235 kg·m/(K·s³)`  

### Density

*The mass per unit volume of the material.*

- **Default:** None 
- **Example:** `2710 kg/m³`  
> **Note:** Optional. If not specified, some calculations may not be available.

### Specific heat capacity

*The amount of heat required to raise the temperature of a unit mass of the material by one degree.*

- **Default:** None
- **Example:** `903 m²/(K·s²)`  
> **Note:** Optional. If not specified, some calculations may not be available.


---

<details>
<summary><h3 style="display:inline-block"> ❓ Frequently Asked Questions</h3></summary>

- **What happens if I leave a required field blank?**  
  > The form will not submit and will prompt you to fill in the required fields.

- **Can I use custom material names?**  
  > Yes, you can specify any name to identify your material.

- **What units should I use?**  
  > Use the units shown next to each input field. Enter only the value; the unit is selected separately.

</details>

---

<details>
<summary><h3 style="display:inline-block"> 🐍 Python Example Usage</h3></summary>

Below is a Python code example showing how to define a solid material:

```python
# Example (for reference only, not included in GUI documentation)
aluminum = fl.SolidMaterial(
    name="aluminum",
    thermal_conductivity=235 * fl.u.kg / fl.u.s**3 * fl.u.m / fl.u.K,
    density=2710 * fl.u.kg / fl.u.m**3,
    specific_heat_capacity=903 * fl.u.m**2 / fl.u.s**2 / fl.u.K,
)
```

</details>
