modelNodeCentered_1DAxial

1-D Axial | Node Centered | 2nd Order Central Finite Difference

Extends from BaseClasses.Partial_FDCond_Cylinder (BaseClass for 2D Cylindrical FD).

Information

Below is a representative stencil for the distribution of the nodes and associated stencil.

Note that the nodes lie along the boundaries.

This governs the ability, or lack thereof, to use predefined boundary conditions.

For example, this stencil WILL NOT directly interface with 'DynamicPipe' because that requires volume centered Q_flow and T values.

Parameters

TypeNameDefaultDescription
Booleanuse_q_ppp (from Partial_BaseFDCond_Cylinder)falseToggle volumetric heat generation interface
IntegernR (from Partial_BaseFDCond_Cylinder)2Nodes in radial direction
IntegernZ (from Partial_BaseFDCond_Cylinder)2Nodes in axial direction
Advanced › Dynamics
Modelica.Fluid.Types.DynamicsenergyDynamics (from Partial_BaseFDCond_Cylinder)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialFormulation of energy balances
Initialization
SI.TemperatureTref (from Partial_BaseFDCond_Cylinder)273.15Center nodes initial temperature
SI.Temperature[nR,nZ]Ts_start (from Partial_BaseFDCond_Cylinder)fill(Tref, nR, nZ)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputq_ppp_input (from Partial_BaseFDCond_Cylinder)Volumetric heat generation
Modelica.Fluid.Interfaces.HeatPorts_aheatPorts_inner (from Partial_BaseFDCond_Cylinder)Heat interface on inner boundary
Modelica.Fluid.Interfaces.HeatPorts_aheatPorts_outer (from Partial_BaseFDCond_Cylinder)Heat interface on outer boundary
Modelica.Fluid.Interfaces.HeatPorts_aheatPorts_bottom (from Partial_BaseFDCond_Cylinder)Heat interface on bottom boundary
Modelica.Fluid.Interfaces.HeatPorts_aheatPorts_top (from Partial_BaseFDCond_Cylinder)Heat interface on top boundary

Components

TypeNameDefaultDescription
SI.Lengthr_inner (from Partial_BaseFDCond_Cylinder)0Centerline/Inner radius of cylinder or specify rs
SI.Lengthr_outer (from Partial_BaseFDCond_Cylinder)Outer radius of cylinder or specify rs
SI.Lengthlength (from Partial_BaseFDCond_Cylinder)Length of cylinder or specify zs
SI.Length[nR]rs (from Partial_BaseFDCond_Cylinder)if nR == 1 then {0.5*(r_inner + r_outer)} else linspace(r_inner, r_outer, nR)Define radial nodal positions
SI.Length[nZ]zs (from Partial_BaseFDCond_Cylinder)if nZ == 1 then {0.5*length} else linspace(0, length, nZ)Define axial nodal positions
SI.VolumeV_total (from Partial_FDCond_Cylinder)pi*(r_outer^2 - r_inner^2)*lengthTotal cylinder volume
SI.Volume[nR,nZ]Vs (from Partial_FDCond_Cylinder)Volume each node
SI.TemperatureT_max (from Partial_FDCond_Cylinder)Maximum temperature
SI.TemperatureT_effective (from Partial_FDCond_Cylinder)Effective (volume weighted average) temperature
SI.TemperatureT_innerAvg (from Partial_FDCond_Cylinder)Average temperature of outer edge
SI.TemperatureT_outerAvg (from Partial_FDCond_Cylinder)Average temperature of outer edge
SI.TemperatureT_topAvg (from Partial_FDCond_Cylinder)Average temperature of outer edge
SI.TemperatureT_bottomAvg (from Partial_FDCond_Cylinder)Average temperature of outer edge
SI.Temperature[nR,nZ]Ts (from Partial_FDCond_Cylinder)Nodal temperatures
SI.PowerQ_gen_total (from Partial_FDCond_Cylinder)Total power generated
SI.PowerQ_gen (from Partial_FDCond_Cylinder)Power generated per node
SI.PowerQ_flow_innerTotal (from Partial_FDCond_Cylinder)Total heat flow across inner
SI.PowerQ_flow_outerTotal (from Partial_FDCond_Cylinder)Total heat flow across outer
SI.PowerQ_flow_topTotal (from Partial_FDCond_Cylinder)Total heat flow across top
SI.PowerQ_flow_bottomTotal (from Partial_FDCond_Cylinder)Total heat flow across bottom
SI.AreaA_inner (from Partial_FDCond_Cylinder)Inner nodes boundary area
SI.AreaA_outer (from Partial_FDCond_Cylinder)Outer nodes boundary area
SI.AreaA_bottom (from Partial_FDCond_Cylinder)Bottom nodes boundary area
SI.AreaA_top (from Partial_FDCond_Cylinder)Top nodes boundary area
SI.Densityd_effective (from Partial_FDCond_Cylinder)Volume averaged effective density
SI.Density[nR,nZ]d (from Partial_FDCond_Cylinder)Density
SI.ThermalConductivitylambda_effective (from Partial_FDCond_Cylinder)Volume averaged effective thermal conductivity
SI.ThermalConductivitylambda (from Partial_FDCond_Cylinder)Thermal conductivity
SI.SpecificHeatCapacitycp_effective (from Partial_FDCond_Cylinder)Volume averaged effective heat capacity
SI.HeatCapacitycp (from Partial_FDCond_Cylinder)Heat capacity
SI.ThermalResistanceR_cond_axial (from Partial_FDCond_Cylinder)Approximate resistance to conduction in axial direction
SI.ThermalResistanceR_cond_radial (from Partial_FDCond_Cylinder)Approximate resistance to conduction in radial direction
SI.Lengthdr{rs[i + 1] - rs[i] for i in 1:nR - 1}Radial nodal spacing
SI.Lengthdz{zs[i + 1] - zs[i] for i in 1:nZ - 1}Axial nodal spacing
Realbeta_maxmax(dr)/min(dz)Maximum skewness of dr/dz
Realbeta_minmin(dr)/max(dz)Minimum skewness of dr/dz