modelDiffusion
Second order 1D finite difference approximation of heat diffusion
Extends from TransiEnt.Basics.Icons.Block.
Information
1. Purpose of model
Simple thermal diffusion modeled as energy source using heat port interfaces.
2. Level of detail, physical effects considered, and physical insight
Finite difference approximation of second order (error decreases with square of dx)
3. Limits of validity
You shouldnt use this if the model is not fit for a 1 dimensional discretization!
4. Interfaces
heatPort[N_cv]: Gets the temperatures from the temperature layers and returns the heat flow due to thermal diffusion
5. Nomenclature
The input parameters
6. Governing Equations
(no equations)
7. Remarks for Usage
8. Validation
9. References
This model is largely based on the model "Bouyancy" in the Modelica Buildings-library (https://github.com/lbl-srg/modelica-buildings.git)
10. Version History
Model created by Pascal Dubucq (dubucq@tuhh.de) on Wed August 24 2016.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Area | A | 1 | cross section area of control volume |
| Integer | N_cv | 100 | Number of control volumes |
| SI.Length | dx | 0.01 | Heigth of control volume |
| SI.ThermalConductivity | k | 0.6 | Thermal conductivity of fluid in storage |
| Real | G_diff | A*k/dx |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | Heat input into the volumes |