modelRod_ArrayComprehensions

Modeling heat conduction in a rod using array comprehensions

Parameters

TypeNameDefaultDescription
Realpi3.14159
Integern10
LengthL1.0
RadiusR0.1
Densityrho2.0
ConvectionCoefficienth2.0
ConductionCoefficientk10
SpecificHeatC10.0
TemperatureTamb300Ambient temperature
AreaA_cpi*R^2
AreaA_s2*pi*R*L
VolumeVA_c*L/n

Components

TypeNameDefaultDescription
Temperature[n]T

Contents

NameDescription
Temperature
ConvectionCoefficient
ConductionCoefficient
Mass
SpecificHeat
Density
Area
Volume
Length
Radius