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_1 carries heat but not the substances.

Parameters

TypeNameDefaultDescription
Integerfigure (from ConductionIcons)1Index for Icon figure
Integer[1]nVs (from PartialDistributedVolume){1}# of discrete volumes
RealnParallel (from Conduction_1D)1# 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]# of flow models in dimension 1
IntegernC1# 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])Start temperature of each volume
SI.TemperatureT_a1_start (from Conduction_1D)Material.T_referenceStart temperature of volume [1]
SI.TemperatureT_b1_start (from Conduction_1D)T_a1_startStart 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
Booleanuse_nCs_scaledfalse= true to write the mole balance on nCs/C_nominal, false on nCs
SItf.NonDim[nC]C_nominalfill(1e-6, nC)Nominal concentration that scales nCs_scaled [mol/m3]
Advanced › Model Structure
BooleanexposeState_a1 (from Conduction_1D)true= true to define T at port_a1, false to define Q_flow
BooleanexposeState_b1 (from Conduction_1D)false= true to define T at port_b1, false to define Q_flow
Visualization
BooleanshowName (from Conduction_1D)true= true to show the component name on the icon
Initialization › Start Value: Concentration
SI.Concentration[nVs[1],nC]Cs_startlinspaceRepeat_1D(C_a1_start, C_b1_start, nVs[1])Start concentration of each volume
SI.Concentration[nC]C_a1_startfill(0, nC)Start concentration of volume [1]
SI.Concentration[nC]C_b1_startC_a1_startStart concentration of volume [end]

Connectors

TypeNameDefaultDescription
Interfaces.HeatPort_Flowport_a1 (from Conduction_1D)Heat port of volume [1]
Interfaces.HeatPort_Flowport_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_externalExternal mass transfer in non-discretized dimensions
Interfaces.MolePort_FlowportM_a1Trace substance port of volume [1]
Interfaces.MolePort_FlowportM_b1Trace substance port of volume [end]

Components

TypeNameDefaultDescription
BaseClasses.Dimensions_1.Summarysummary (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
Geometrygeometry (from Conduction_1D)Shape and dimensions
ConductionModelconductionModel (from Conduction_1D)Heat conduction between volumes
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 at the port_a1 temperature
Material.ThermodynamicStatestate_b1 (from Conduction_1D)State at the port_b1 temperature
SI.Velocityvelocity_1 (from Conduction_1D)0Velocity of material through control volumes
DiffusionModeldiffusionModelDiffusion between volumes
DiffusionCoeff[nVs[1]]diffusionCoeffDiffusion coefficient in each volume at its temperature
InternalMassModelinternalMassModelInternal mass generation model
SItf.Mole[nVs[1],nC]nCsTrace substance moles
SItf.MolenCs_scaledTrace substance moles divided by C_nominal, if used
SI.Concentration[nVs[1],nC]CsTrace substance concentration
SI.MolarFlowRate[nVs[1],nC]nCbsNet molar flow rates into volumes
SI.MolarFlowRate[nVs[1] + 1,nC]nC_flows_1Molar flow rates across segment boundaries
SI.Concentration[nC]C_a1Concentration at portM_a1
SI.Concentration[nC]C_b1Concentration at portM_b1

Contents

NameDescription
DiffusionModel
DiffusionCoeff
InternalMassModel