modelHMTransfer_2D

Extends from Conduction_2D (2-D Conduction Models).

Parameters

TypeNameDefaultDescription
Integerfigure (from ConductionIcons)1Index for Icon figure
Integer[2]nVs (from PartialDistributedVolume){1, 1}Number of discrete volumes
RealnParallel (from Conduction_2D)1Number of parallel components
IntegernFM_1 (from Conduction_2D)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
IntegernFM_2 (from Conduction_2D)if exposeState_a2 and exposeState_b2 then nVs[2] - 1 else if not exposeState_a2 and not exposeState_b2 then nVs[2] + 1 else nVs[2]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],nVs[2]]Ts_start (from PartialDistributedVolume)fill(Material.T_reference, nVs[1], nVs[2])Temperature
SI.TemperatureT_a1_start (from Conduction_2D)Material.T_referenceTemperature at port a1
SI.TemperatureT_b1_start (from Conduction_2D)T_a1_startTemperature at port b1
SI.TemperatureT_a2_start (from Conduction_2D)Material.T_referenceTemperature at port a2
SI.TemperatureT_b2_start (from Conduction_2D)T_a2_startTemperature at port b2
Advanced
SI.Density[nVs[1],nVs[2]]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_2D)true=true, T is calculated at port_a1 else Q_flow
BooleanexposeState_b1 (from Conduction_2D)false=true, T is calculated at port_b1 else Q_flow
BooleanexposeState_a2 (from Conduction_2D)true=true, T is calculated at port_a2 else Q_flow
BooleanexposeState_b2 (from Conduction_2D)false=true, T is calculated at port_b2 else Q_flow
Heat Transfer
Boolean[2]adiabaticDims (from Conduction_2D){false, false}=true, toggle off conduction heat transfer in dimension {1,2}
Visualization
BooleanshowName (from Conduction_2D)true
Initialization › Start Value: Concentration
SI.Concentration[nVs[1],nVs[2],nC]Cs_startlinspaceRepeat_2Dedge(C_a1_start, C_b1_start, C_a2_start, C_b2_start, nVs[1], nVs[2], {exposeState_b2, exposeState_a1, exposeState_a2, exposeState_b1})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
SI.Concentration[nC]C_a2_startfill(0, nC)Concentration at portM_a2
SI.Concentration[nC]C_b2_startC_a2_startConcentration at portM_b2
Trace Mass Transfer
Boolean[2]adiabaticDimsMT{false, false}=true, toggle off diffusive mass transfer in dimension {1,2}

Connectors

TypeNameDefaultDescription
Interfaces.HeatPort_Flow[nVs[2]]port_a1 (from Conduction_2D)
Interfaces.HeatPort_Flow[nVs[2]]port_b1 (from Conduction_2D)
Interfaces.HeatPort_Flow[nVs[1]]port_a2 (from Conduction_2D)
Interfaces.HeatPort_Flow[nVs[1]]port_b2 (from Conduction_2D)
Interfaces.HeatPort_State[nVs[1],nVs[2]]port_external (from Conduction_2D)External heat transfer in non-discritized dimension
Interfaces.MolePort_State[nVs[1],nVs[2]]portM_externalExternal mass transfer in non-discritized dimensions
Interfaces.MolePort_Flow[nVs[2]]portM_a1
Interfaces.MolePort_Flow[nVs[2]]portM_b1
Interfaces.MolePort_Flow[nVs[1]]portM_a2
Interfaces.MolePort_Flow[nVs[1]]portM_b2

Components

TypeNameDefaultDescription
BaseClasses.Dimensions_2.Summarysummary (from Conduction_2D)
SI.Volume[nVs[1],nVs[2]]Vs (from PartialDistributedVolume)Discretized volumes
Material.BaseProperties[nVs[1],nVs[2]]materials (from PartialDistributedVolume)
SI.Mass[nVs[1],nVs[2]]ms (from PartialDistributedVolume)Mass
SI.Mass[nVs[1],nVs[2]]delta_ms (from PartialDistributedVolume)Change in mass of constant volumes
SI.InternalEnergy[nVs[1],nVs[2]]Us (from PartialDistributedVolume)Internal energy
SI.HeatFlowRate[nVs[1],nVs[2]]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_2D)
ConductionModelconductionModel (from Conduction_2D)Conduction Model
InternalHeatModelinternalHeatModel (from Conduction_2D)Internal heat generation model
SI.HeatFlowRate[nVs[1] + 1,nVs[2]]Q_flows_1 (from Conduction_2D)Heat flow rates across segment boundaries
SI.HeatFlowRate[nVs[1],nVs[2] + 1]Q_flows_2 (from Conduction_2D)Heat flow rates across segment boundaries
Material.ThermodynamicState[nVs[2]]state_a1 (from Conduction_2D)state defined by volume outside port_a1
Material.ThermodynamicState[nVs[2]]state_b1 (from Conduction_2D)state defined by volume outside port_b1
Material.ThermodynamicState[nVs[1]]state_a2 (from Conduction_2D)state defined by volume outside port_a2
Material.ThermodynamicState[nVs[1]]state_b2 (from Conduction_2D)state defined by volume outside port_b2
DiffusionModeldiffusionModelDiffusion Model
DiffusionCoeff[nVs[1],nVs[2]]diffusionCoeffDiffusion Coefficient
InternalMassModelinternalMassModelInternal mass generation model
Units.Mole[nVs[1],nVs[2],nC]nCsTrace substance moles
Units.MolenCs_scaledScaled trace substance moles for improved numerical stability
SI.Concentration[nVs[1],nVs[2],nC]CsTrace substance concentration
SI.MolarFlowRate[nVs[1],nVs[2],nC]nCbsMolar flow rate across volume interfaces (e.g., diffusion) and sources from volume states, (e.g., chemical reactions, external convection)
SI.MolarFlowRate[nVs[1] + 1,nVs[2],nC]nC_flows_1Molar flow rates across segment boundaries
SI.MolarFlowRate[nVs[1],nVs[2] + 1,nC]nC_flows_2Molar flow rates across segment boundaries
SI.Concentration[nVs[2],nC]C_a1Concentration defined by volume outside portM_a1
SI.Concentration[nVs[2],nC]C_b1Concentration defined by volume outside portM_b1
SI.Concentration[nVs[1],nC]C_a2Concentration defined by volume outside portM_a2
SI.Concentration[nVs[1],nC]C_b2Concentration defined by volume outside portM_b2

Contents

NameDescription
DiffusionModel
DiffusionCoeff
InternalMassModel