modelPartialWall

Information

PartialWall

This components performed a one dimensionnal discretisation over a solid wall. For the discrete scheme, it uses an inheritance of a model CentralSecondOrder of the PDE.ThermalDiffusion subpackage.

Meshing

The parameter N for number of discrete layers is by default calculated from the thermal diffusivity of the wall, its thickness and a reference wall having a sufficient number of nodes with regard to the desired precision. In that case, the minimal number of node is 2. The user can, if desired, manually define the value of the parameter N.

The reference wall is a concrete wall with:

  • a density of 2500 kg/m3
  • a specific heat capacity of 1000 J/kg/K
  • a thermal conductivity of 2.3 W/m/K
  • a thickness of 0.2 m
  • 5 discrete node (N = 5)

Regarding the mesh shape, the position of vertices in the mesh are given via a function allowing to have uniform or non uniform grid, to have boundary layers shape from Biot number etc. The list of mesh functions is available in the subpackage Functions.MeshGrid.

Boundaries management

The ports temperature should be the boundary edges temperatures. As the scheme is cell vertex, the boundary temperatures are computed from flow conservation. Therefore, the boundary vertices are non inertial. However it can induced numerical difficulties. In that case, it is better to use the boundary node (cell centered) temperature as port temperature. It however becomes impossible to fix the wall surface temperature.

Initialisation

If energyDynamics parameter is FixedInitial, the initial temperature is equal to the value of the T_start parameter.

Regarding the steady state initialization (energyDynamics = SteadyStateInitial), it has been chosen to do not set the time derivative to zero which is the definition of the steady state but rather to force a straight slope profile within the wall. The slope of the profil is based on the boundary temperature difference and the wall heat resistance. Physically is it equivalent but it let a degree of freedom on the time derivative.

Regarding the steady state (energyDynamics = SteadyState), it has been chosen to do not change the diffusion equation but rather to set the coefficient of the time derivative CoeffTimeDer in the model CentralSecondOrder to 0. Multiple a time derivative per 0 rather than remove it can lead to numerical instabilities but it is simpler regarding the coding.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Position[:]xif mesh == MeshGrid.uniform then MeshFunction.uniformGrid(L = Th, N = N) elseif mesh == MeshGrid.geometricalGrowth then MeshFunction.geometricalGrowthGrid(L = Th, N = N, q = q) elseif mesh == MeshGrid.biotAndUniform then MeshFunction.biotAndUniformGrid(L = Th, N = N, h = h, k = k) elseif mesh == MeshGrid.biotAndGeometricalGrowth then MeshFunction.biotAndGeometricalGrowthGrid(L = Th, N = N, h = h, k = k, q = q) else MeshFunction.uniformGrid(Th, N)position of the vertices of the mesh
Realadd_on1Custom add-on
DynamicsenergyDynamicsDynamics.SteadyStateInitialFormulation of energy balance
Modelica.SIunits.TemperatureT_start293.15Start value for temperature, if energyDynamics = FixedInitial
Modelica.SIunits.ThermalDiffusionCoefficientD_thk*add_on/(d*cp)Thermal diffusivity
Mesh properties
IntegerNinteger(max(2, 5*Th/0.2*1e-6/D_th))Number of discrete layer from 2
MeshGridmeshMeshGrid.uniformShape function selection for the mesh
Realq1.2Growth rate (if geometricalGrowth)
Modelica.SIunits.CoefficientOfHeatTransferh10Decoupled value of the heat transfer coefficient (if biot)
BooleansymmetricalMeshtrueAxial symmetry mesh where the axis is the middle of the domain
Medium properties
Modelica.SIunits.SpecificHeatCapacitycp0Wall specific heat capacity
Modelica.SIunits.Densityd0Wall density
Modelica.SIunits.ThermalConductivityk0Wall conductivity
Geometrical properties
Modelica.SIunits.ThicknessTh0Material thickness
Modelica.SIunits.AreaA1Wall area

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_a
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bport_b

Components

TypeNameDefaultDescription
Modelica.SIunits.EnergyEEnergy stored in the wall
Modelica.SIunits.Positionx_nodecat(1, {0}, {(x[i + 1] + x[i])/2 for i in 1:N}, {Th})
PDE.ThermalDiffusion.CentralSecondOrdercentralSecondOrder