modelUnitVolume_withMedia
Extends from TRANSFORM.Fluid.Interfaces.Records.Visualization_showName.
Information
Interface and base class for a solid volume able to store energy. The following boundary flow and source terms are part of the energy balance and must be specified in an extending class:
- Qb_flow: heat flow rate across boundary
- Q_gen: internal heat generation, e.g. q_ppp*Volume
The component volume, V, is an input that needs to be set in the extending class to complete the model.
Parameters
| Type | Name | Default | Description |
| Visualization |
| Boolean | showName (from Visualization_showName) | true | |
| Initialization › Dynamics |
| Dynamics | energyDynamics | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Initialization › Start Value: Temperature |
| SI.Temperature | T_start | 298.15 | Temperature |
| Advanced |
| SI.Density | d_reference | Material.density(Material.setState_T(T_start)) | Reference density of mass reference for constant volumes |
Components
| Type | Name | Default | Description |
| SI.Volume | V | | Volume |
| SI.HeatFlowRate | Q_gen | 0 | Internal heat generation |
| SI.InternalEnergy | U | | Internal energy |
| SI.Mass | m | | Mass |
| SI.Mass | delta_m | | Change in mass of constant volume |
| Material.BaseProperties | material | | |
Contents
| Name | Description |
Material | Material properties |