modelRod_ArrayComprehensions
Modeling heat conduction in a rod using array comprehensions
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | 3.14159 | |
| Integer | n | 10 | |
| Length | L | 1.0 | |
| Radius | R | 0.1 | |
| Density | rho | 2.0 | |
| ConvectionCoefficient | h | 2.0 | |
| ConductionCoefficient | k | 10 | |
| SpecificHeat | C | 10.0 | |
| Temperature | Tamb | 300 | Ambient temperature |
| Area | A_c | pi*R^2 | |
| Area | A_s | 2*pi*R*L | |
| Volume | V | A_c*L/n |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature[n] | T |
Contents
| Name | Description |
|---|---|
| Temperature | |
| ConvectionCoefficient | |
| ConductionCoefficient | |
| Mass | |
| SpecificHeat | |
| Density | |
| Area | |
| Volume | |
| Length | |
| Radius |