modelOneDHeatTransferTI_Check
analytical solution for TI models
Information
In the verification of OneDHeatTransferTI_FD and OneDHeatTransferTI_Modelica, mid-nodes of the models are selected, and verified by the analytical solution. The temperature at the middle of the model implemented by analytical solution, the temperature at the mid-node of the model implemented by equations and the temperature of the heat capacitor at the middle of the model implemented by Modelica.Thermal library, are compared.Analytical solutions are based on the solutions in “Handbook of Linear Partial Differential Equations for Engineers and Scientists” by Andrei D. Polyanin. If we consider one dimensional partial differential heat equation in the form:




| Parameters | Comment |
|---|---|
| L | length of the rod |
| N | number of nodes |
| TN | fixed temperature at the last node |
| T0 | Initial temperature of the heat capacitors |
| cp | material specific heat capacity |
| lambda | material thermal conductivity |
| rho | material density |
| A | cross section area of the rod |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SIunits.Length | L | 0.2 | Length of the rod |
| Integer | N | 30 | Number of nodes |
| SIunits.Temperature | TN | 330 | Fixed temperature at the last node |
| SIunits.Temperature | T0 | 273.15 | Initial temperature |
| SIunits.SpecificHeatCapacity | cp | 910 | Material Heat Capacity |
| SIunits.ThermalConductivity | lambda | 237 | Material thermal conductivity |
| SIunits.Density | rho | 2712 | Material Density |
| SIunits.Area | A | 0.05 | cross section area |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_mid_exact | ||
| Modelica.Units.SI.Temperature | T_mid_numerical | ||
| Modelica.Units.SI.Temperature | T_mid_modelica | ||
| Models.OneDHeatTransferTI_FD | example | ||
| Models.OneDHeatTransferTI_Modelica | example2 |
Contents
| Name | Description |
|---|---|
| f |