modelHMTransfer_1D
Discretized 1-D heat conduction and trace substance diffusion model
Extends from Conduction_1D (Discretized 1-D heat conduction model).
Information
Heat conduction and trace substance diffusion along one dimension of a solid that is divided into volumes in series. It adds to Conduction_1D the concentration of each of nC trace substances in each volume.
Assumptions and limits
- The heat side is that of
Conduction_1D: the substances enter neither the energy balance nor the material properties. - Material moved with
velocity_1carries heat but not the substances.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | figure (from ConductionIcons) | 1 | Index for Icon figure |
| Integer[1] | nVs (from PartialDistributedVolume) | {1} | # of discrete volumes |
| Real | nParallel (from Conduction_1D) | 1 | # of parallel components |
| Integer | nFM_1 (from Conduction_1D) | if exposeState_a1 and exposeState_b1 then nVs[1] - 1 else if not exposeState_a1 and not exposeState_b1 then nVs[1] + 1 else nVs[1] | # of flow models in dimension 1 |
| Integer | nC | 1 | # of substances |
| Initialization › Dynamics | |||
| Dynamics | energyDynamics (from PartialDistributedVolume) | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Dynamics | traceDynamics | energyDynamics | Formulation of trace substance balances |
| Initialization › Start Value: Temperature | |||
| SI.Temperature[nVs[1]] | Ts_start (from PartialDistributedVolume) | fill(Material.T_reference, nVs[1]) | Start temperature of each volume |
| SI.Temperature | T_a1_start (from Conduction_1D) | Material.T_reference | Start temperature of volume [1] |
| SI.Temperature | T_b1_start (from Conduction_1D) | T_a1_start | Start temperature of volume [end] |
| Advanced | |||
| SI.Density[nVs[1]] | ds_reference (from PartialDistributedVolume) | Material.density(Material.setState_T(Ts_start)) | Reference density that sets the volume masses ms |
| Boolean | use_nCs_scaled | false | = true to write the mole balance on nCs/C_nominal, false on nCs |
| SItf.NonDim[nC] | C_nominal | fill(1e-6, nC) | Nominal concentration that scales nCs_scaled [mol/m3] |
| Advanced › Model Structure | |||
| Boolean | exposeState_a1 (from Conduction_1D) | true | = true to define T at port_a1, false to define Q_flow |
| Boolean | exposeState_b1 (from Conduction_1D) | false | = true to define T at port_b1, false to define Q_flow |
| Visualization | |||
| Boolean | showName (from Conduction_1D) | true | = true to show the component name on the icon |
| Initialization › Start Value: Concentration | |||
| SI.Concentration[nVs[1],nC] | Cs_start | linspaceRepeat_1D(C_a1_start, C_b1_start, nVs[1]) | Start concentration of each volume |
| SI.Concentration[nC] | C_a1_start | fill(0, nC) | Start concentration of volume [1] |
| SI.Concentration[nC] | C_b1_start | C_a1_start | Start concentration of volume [end] |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.HeatPort_Flow | port_a1 (from Conduction_1D) | Heat port of volume [1] | |
| Interfaces.HeatPort_Flow | port_b1 (from Conduction_1D) | Heat port of volume [end] | |
| Interfaces.HeatPort_State[nVs[1]] | port_external (from Conduction_1D) | External heat transfer in non-discretized dimensions | |
| Interfaces.MolePort_State[nVs[1]] | portM_external | External mass transfer in non-discretized dimensions | |
| Interfaces.MolePort_Flow | portM_a1 | Trace substance port of volume [1] | |
| Interfaces.MolePort_Flow | portM_b1 | Trace substance port of volume [end] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BaseClasses.Dimensions_1.Summary | summary (from Conduction_1D) | Convenience quantities for analysis and visualization | |
| SI.Volume[nVs[1]] | Vs (from PartialDistributedVolume) | Discretized volumes | |
| Material.BaseProperties[nVs[1]] | materials (from PartialDistributedVolume) | Material properties of each volume | |
| SI.Mass[nVs[1]] | ms (from PartialDistributedVolume) | Mass | |
| SI.Mass[nVs[1]] | delta_ms (from PartialDistributedVolume) | Mass at reference density minus mass at current density | |
| SI.InternalEnergy[nVs[1]] | Us (from PartialDistributedVolume) | Internal energy | |
| SI.HeatFlowRate[nVs[1]] | Ubs (from PartialDistributedVolume) | Net energy flow rates into volumes | |
| Geometry | geometry (from Conduction_1D) | Shape and dimensions | |
| ConductionModel | conductionModel (from Conduction_1D) | Heat conduction between volumes | |
| InternalHeatModel | internalHeatModel (from Conduction_1D) | Internal heat generation model | |
| SI.HeatFlowRate[nVs[1] + 1] | H_flows_1 (from Conduction_1D) | Enthalpy flow rates across segment boundaries | |
| SI.HeatFlowRate[nVs[1] + 1] | Q_flows_1 (from Conduction_1D) | Heat flow rates across segment boundaries | |
| Material.ThermodynamicState | state_a1 (from Conduction_1D) | State at the port_a1 temperature | |
| Material.ThermodynamicState | state_b1 (from Conduction_1D) | State at the port_b1 temperature | |
| SI.Velocity | velocity_1 (from Conduction_1D) | 0 | Velocity of material through control volumes |
| DiffusionModel | diffusionModel | Diffusion between volumes | |
| DiffusionCoeff[nVs[1]] | diffusionCoeff | Diffusion coefficient in each volume at its temperature | |
| InternalMassModel | internalMassModel | Internal mass generation model | |
| SItf.Mole[nVs[1],nC] | nCs | Trace substance moles | |
| SItf.Mole | nCs_scaled | Trace substance moles divided by C_nominal, if used | |
| SI.Concentration[nVs[1],nC] | Cs | Trace substance concentration | |
| SI.MolarFlowRate[nVs[1],nC] | nCbs | Net molar flow rates into volumes | |
| SI.MolarFlowRate[nVs[1] + 1,nC] | nC_flows_1 | Molar flow rates across segment boundaries | |
| SI.Concentration[nC] | C_a1 | Concentration at portM_a1 | |
| SI.Concentration[nC] | C_b1 | Concentration at portM_b1 |
Contents
| Name | Description |
|---|---|