modelNodeCentered_1DRadial
1-D Radial | 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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_q_ppp (from Partial_BaseFDCond_Cylinder) | false | Toggle volumetric heat generation interface |
| Integer | nR (from Partial_BaseFDCond_Cylinder) | 2 | Nodes in radial direction |
| Integer | nZ (from Partial_BaseFDCond_Cylinder) | 2 | Nodes in axial direction |
| Advanced › Dynamics | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics (from Partial_BaseFDCond_Cylinder) | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Initialization | |||
| SI.Temperature | Tref (from Partial_BaseFDCond_Cylinder) | 273.15 | Center nodes initial temperature |
| SI.Temperature[nR,nZ] | Ts_start (from Partial_BaseFDCond_Cylinder) | fill(Tref, nR, nZ) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | q_ppp_input (from Partial_BaseFDCond_Cylinder) | Volumetric heat generation | |
| Modelica.Fluid.Interfaces.HeatPorts_a | heatPorts_inner (from Partial_BaseFDCond_Cylinder) | Heat interface on inner boundary | |
| Modelica.Fluid.Interfaces.HeatPorts_a | heatPorts_outer (from Partial_BaseFDCond_Cylinder) | Heat interface on outer boundary | |
| Modelica.Fluid.Interfaces.HeatPorts_a | heatPorts_bottom (from Partial_BaseFDCond_Cylinder) | Heat interface on bottom boundary | |
| Modelica.Fluid.Interfaces.HeatPorts_a | heatPorts_top (from Partial_BaseFDCond_Cylinder) | Heat interface on top boundary |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | r_inner (from Partial_BaseFDCond_Cylinder) | 0 | Centerline/Inner radius of cylinder or specify rs |
| SI.Length | r_outer (from Partial_BaseFDCond_Cylinder) | Outer radius of cylinder or specify rs | |
| SI.Length | length (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.Volume | V_total (from Partial_FDCond_Cylinder) | pi*(r_outer^2 - r_inner^2)*length | Total cylinder volume |
| SI.Volume[nR,nZ] | Vs (from Partial_FDCond_Cylinder) | Volume each node | |
| SI.Temperature | T_max (from Partial_FDCond_Cylinder) | Maximum temperature | |
| SI.Temperature | T_effective (from Partial_FDCond_Cylinder) | Effective (volume weighted average) temperature | |
| SI.Temperature | T_innerAvg (from Partial_FDCond_Cylinder) | Average temperature of outer edge | |
| SI.Temperature | T_outerAvg (from Partial_FDCond_Cylinder) | Average temperature of outer edge | |
| SI.Temperature | T_topAvg (from Partial_FDCond_Cylinder) | Average temperature of outer edge | |
| SI.Temperature | T_bottomAvg (from Partial_FDCond_Cylinder) | Average temperature of outer edge | |
| SI.Temperature[nR,nZ] | Ts (from Partial_FDCond_Cylinder) | Nodal temperatures | |
| SI.Power | Q_gen_total (from Partial_FDCond_Cylinder) | Total power generated | |
| SI.Power | Q_gen (from Partial_FDCond_Cylinder) | Power generated per node | |
| SI.Power | Q_flow_innerTotal (from Partial_FDCond_Cylinder) | Total heat flow across inner | |
| SI.Power | Q_flow_outerTotal (from Partial_FDCond_Cylinder) | Total heat flow across outer | |
| SI.Power | Q_flow_topTotal (from Partial_FDCond_Cylinder) | Total heat flow across top | |
| SI.Power | Q_flow_bottomTotal (from Partial_FDCond_Cylinder) | Total heat flow across bottom | |
| SI.Area | A_inner (from Partial_FDCond_Cylinder) | Inner nodes boundary area | |
| SI.Area | A_outer (from Partial_FDCond_Cylinder) | Outer nodes boundary area | |
| SI.Area | A_bottom (from Partial_FDCond_Cylinder) | Bottom nodes boundary area | |
| SI.Area | A_top (from Partial_FDCond_Cylinder) | Top nodes boundary area | |
| SI.Density | d_effective (from Partial_FDCond_Cylinder) | Volume averaged effective density | |
| SI.Density[nR,nZ] | d (from Partial_FDCond_Cylinder) | Density | |
| SI.ThermalConductivity | lambda_effective (from Partial_FDCond_Cylinder) | Volume averaged effective thermal conductivity | |
| SI.ThermalConductivity | lambda (from Partial_FDCond_Cylinder) | Thermal conductivity | |
| SI.SpecificHeatCapacity | cp_effective (from Partial_FDCond_Cylinder) | Volume averaged effective heat capacity | |
| SI.HeatCapacity | cp (from Partial_FDCond_Cylinder) | Heat capacity | |
| SI.ThermalResistance | R_cond_axial (from Partial_FDCond_Cylinder) | Approximate resistance to conduction in axial direction | |
| SI.ThermalResistance | R_cond_radial (from Partial_FDCond_Cylinder) | Approximate resistance to conduction in radial direction | |
| SI.Length | dr | {rs[i + 1] - rs[i] for i in 1:nR - 1} | Radial nodal spacing |
| SI.Length | dz | {zs[i + 1] - zs[i] for i in 1:nZ - 1} | Axial nodal spacing |
| Real | beta_max | max(dr)/min(dz) | Maximum skewness of dr/dz |
| Real | beta_min | min(dr)/max(dz) | Minimum skewness of dr/dz |