modelHMTransfer_1D

Extends from Conduction_1D (1-D Conduction Models).

Parameters

TypeNameDefaultDescription
Integerfigure (from ConductionIcons)1Index for Icon figure
Integer[1]nVs (from PartialDistributedVolume){1}Number of discrete volumes
RealnParallel (from Conduction_1D)1Number of parallel components
IntegernFM_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
IntegernC1Number of substances
Initialization › Dynamics
DynamicsenergyDynamics (from PartialDistributedVolume)Dynamics.DynamicFreeInitialFormulation of energy balances
DynamicstraceDynamicsenergyDynamicsFormulation of trace substance balances
Initialization › Start Value: Temperature
SI.Temperature[nVs[1]]Ts_start (from PartialDistributedVolume)fill(Material.T_reference, nVs[1])Temperature
SI.TemperatureT_a1_start (from Conduction_1D)Material.T_referenceTemperature at port a1
SI.TemperatureT_b1_start (from Conduction_1D)T_a1_startTemperature 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
Booleanuse_nCs_scaledfalse=true to use der(nCs_scaled) = nCbs/C_nominal else der(nCs) = nCbs.
Units.NonDim[nC]C_nominalfill(1e-6, nC)Nominal concentration [mol/m3] for improved numeric stability
Advanced › Model Structure
BooleanexposeState_a1 (from Conduction_1D)true=true, T is calculated at port_a1 else Q_flow
BooleanexposeState_b1 (from Conduction_1D)false=true, T is calculated at port_b1 else Q_flow
Visualization
BooleanshowName (from Conduction_1D)true
Initialization › Start Value: Concentration
SI.Concentration[nVs[1],nC]Cs_startlinspaceRepeat_1D(C_a1_start, C_b1_start, nVs[1])Trace substance concentration
SI.Concentration[nC]C_a1_startfill(0, nC)Concentration at portM_a1
SI.Concentration[nC]C_b1_startC_a1_startConcentration at portM_b1

Connectors

TypeNameDefaultDescription
Interfaces.HeatPort_Flowport_a1 (from Conduction_1D)
Interfaces.HeatPort_Flowport_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_externalExternal mass transfer in non-discritized dimensions
Interfaces.MolePort_FlowportM_a1
Interfaces.MolePort_FlowportM_b1

Components

TypeNameDefaultDescription
BaseClasses.Dimensions_1.Summarysummary (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)
Geometrygeometry (from Conduction_1D)
ConductionModelconductionModel (from Conduction_1D)Conduction Model
InternalHeatModelinternalHeatModel (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.ThermodynamicStatestate_a1 (from Conduction_1D)state defined by volume outside port_a1
Material.ThermodynamicStatestate_b1 (from Conduction_1D)state defined by volume outside port_b1
SI.Velocityvelocity_1 (from Conduction_1D)0Velocity of material through control volumes
DiffusionModeldiffusionModelDiffusion Model
DiffusionCoeff[nVs[1]]diffusionCoeffDiffusion Coefficient
InternalMassModelinternalMassModelInternal mass generation model
Units.Mole[nVs[1],nC]nCsTrace substance moles
Units.MolenCs_scaledScaled trace substance moles for improved numerical stability
SI.Concentration[nVs[1],nC]CsTrace substance concentration
SI.MolarFlowRate[nVs[1],nC]nCbsMolar 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_1Molar flow rates across segment boundaries
SI.Concentration[nC]C_a1Concentration defined by volume outside portM_a1
SI.Concentration[nC]C_b1Concentration defined by volume outside portM_b1

Contents

NameDescription
DiffusionModel
DiffusionCoeff
InternalMassModel