modelHMTransfer_1D
Extends from Conduction_1D (1-D Conduction Models).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | figure (from ConductionIcons) | 1 | Index for Icon figure |
| Integer[1] | nVs (from PartialDistributedVolume) | {1} | Number of discrete volumes |
| Real | nParallel (from Conduction_1D) | 1 | Number 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] | number of flow models |
| Integer | nC | 1 | Number 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]) | Temperature |
| SI.Temperature | T_a1_start (from Conduction_1D) | Material.T_reference | Temperature at port a1 |
| SI.Temperature | T_b1_start (from Conduction_1D) | T_a1_start | Temperature at port b1 |
| Advanced | |||
| SI.Density[nVs[1]] | ds_reference (from PartialDistributedVolume) | Material.density(Material.setState_T(Ts_start)) | Reference density of mass reference for constant volumes |
| Boolean | use_nCs_scaled | false | =true to use der(nCs_scaled) = nCbs/C_nominal else der(nCs) = nCbs. |
| Units.NonDim[nC] | C_nominal | fill(1e-6, nC) | Nominal concentration [mol/m3] for improved numeric stability |
| Advanced › Model Structure | |||
| Boolean | exposeState_a1 (from Conduction_1D) | true | =true, T is calculated at port_a1 else Q_flow |
| Boolean | exposeState_b1 (from Conduction_1D) | false | =true, T is calculated at port_b1 else Q_flow |
| Visualization | |||
| Boolean | showName (from Conduction_1D) | true | |
| Initialization › Start Value: Concentration | |||
| SI.Concentration[nVs[1],nC] | Cs_start | linspaceRepeat_1D(C_a1_start, C_b1_start, nVs[1]) | Trace substance concentration |
| SI.Concentration[nC] | C_a1_start | fill(0, nC) | Concentration at portM_a1 |
| SI.Concentration[nC] | C_b1_start | C_a1_start | Concentration at portM_b1 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.HeatPort_Flow | port_a1 (from Conduction_1D) | ||
| Interfaces.HeatPort_Flow | port_b1 (from Conduction_1D) | ||
| Interfaces.HeatPort_State[nVs[1]] | port_external (from Conduction_1D) | External heat transfer in non-discritized dimensions | |
| Interfaces.MolePort_State[nVs[1]] | portM_external | External mass transfer in non-discritized dimensions | |
| Interfaces.MolePort_Flow | portM_a1 | ||
| Interfaces.MolePort_Flow | portM_b1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BaseClasses.Dimensions_1.Summary | summary (from Conduction_1D) | ||
| SI.Volume[nVs[1]] | Vs (from PartialDistributedVolume) | Discretized volumes | |
| Material.BaseProperties[nVs[1]] | materials (from PartialDistributedVolume) | ||
| SI.Mass[nVs[1]] | ms (from PartialDistributedVolume) | Mass | |
| SI.Mass[nVs[1]] | delta_ms (from PartialDistributedVolume) | Change in mass of constant volumes | |
| SI.InternalEnergy[nVs[1]] | Us (from PartialDistributedVolume) | Internal energy | |
| SI.HeatFlowRate[nVs[1]] | Ubs (from PartialDistributedVolume) | Energy sources across volume interfaces (e.g., thermal diffusion) and source/sinks within volumes (e.g., ohmic heating, external convection) | |
| Geometry | geometry (from Conduction_1D) | ||
| ConductionModel | conductionModel (from Conduction_1D) | Conduction Model | |
| 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 defined by volume outside port_a1 | |
| Material.ThermodynamicState | state_b1 (from Conduction_1D) | state defined by volume outside port_b1 | |
| SI.Velocity | velocity_1 (from Conduction_1D) | 0 | Velocity of material through control volumes |
| DiffusionModel | diffusionModel | Diffusion Model | |
| DiffusionCoeff[nVs[1]] | diffusionCoeff | Diffusion Coefficient | |
| InternalMassModel | internalMassModel | Internal mass generation model | |
| Units.Mole[nVs[1],nC] | nCs | Trace substance moles | |
| Units.Mole | nCs_scaled | Scaled trace substance moles for improved numerical stability | |
| SI.Concentration[nVs[1],nC] | Cs | Trace substance concentration | |
| SI.MolarFlowRate[nVs[1],nC] | nCbs | Molar flow rate across volume interfaces (e.g., diffusion) and source/sinks in volumes (e.g., chemical reactions, external convection) | |
| SI.MolarFlowRate[nVs[1] + 1,nC] | nC_flows_1 | Molar flow rates across segment boundaries | |
| SI.Concentration[nC] | C_a1 | Concentration defined by volume outside portM_a1 | |
| SI.Concentration[nC] | C_b1 | Concentration defined by volume outside portM_b1 |
Contents
| Name | Description |
|---|---|