From 8a0fbe763f9290e1c5b4d3c7d6c2ab90e31c65c9 Mon Sep 17 00:00:00 2001
From: MARSOLLIER Felix <felix-externe.marsollier@edvance.fr>
Date: Mon, 25 Jan 2021 14:50:14 +0100
Subject: [PATCH] Change the correlation of the heat transfer calculation

---
 FluidDynamics/Components/Buildings/test_HalfWall.mo | 2 +-
 FluidDynamics/Components/Buildings/test_Wall.mo     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/FluidDynamics/Components/Buildings/test_HalfWall.mo b/FluidDynamics/Components/Buildings/test_HalfWall.mo
index 07ec75a..11589f6 100644
--- a/FluidDynamics/Components/Buildings/test_HalfWall.mo
+++ b/FluidDynamics/Components/Buildings/test_HalfWall.mo
@@ -4,7 +4,7 @@ model test_HalfWall
   package Medium = TAeZoSysPro.Media.Air.MoistAir ;
   TAeZoSysPro.FluidDynamics.Sources.Atmosphere atmosphere(redeclare package Medium = Medium, RH = 0.99)  annotation(
     Placement(visible = true, transformation(origin = {-60, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
-  TAeZoSysPro.FluidDynamics.Components.Buildings.HalfWall halfWall(redeclare package Medium = Medium, A = 1, Lc = 1, N = 10, T_start = 283.15, Th = 0.1, UseImplicitConnection = false, correlation = TAeZoSysPro.HeatTransfer.Types.FreeConvectionCorrelation.Constant, cp = 1000, d = 2500, energyDynamics = TAeZoSysPro.HeatTransfer.Types.Dynamics.FixedInitial, eps = 1, h_cv_const = 10, k = 2.3, mesh = TAeZoSysPro.HeatTransfer.Types.MeshGrid.uniform)  annotation(
+  TAeZoSysPro.FluidDynamics.Components.Buildings.HalfWall halfWall( A = 1, Lc = 1,redeclare package Medium = Medium, N = 10, T_start = 283.15, Th = 0.1, UseImplicitConnection = false, correlation = TAeZoSysPro.HeatTransfer.Types.FreeConvectionCorrelation.ceiling_ASHRAE, cp = 1000, d = 2500, energyDynamics = TAeZoSysPro.HeatTransfer.Types.Dynamics.SteadyStateInitial, eps = 1, h_cv_const = 10, k = 2.3)  annotation(
     Placement(visible = true, transformation(origin = {22, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
 equation
   connect(atmosphere.Flowport, halfWall.port_a) annotation(
diff --git a/FluidDynamics/Components/Buildings/test_Wall.mo b/FluidDynamics/Components/Buildings/test_Wall.mo
index 560a04b..88f1818 100644
--- a/FluidDynamics/Components/Buildings/test_Wall.mo
+++ b/FluidDynamics/Components/Buildings/test_Wall.mo
@@ -4,7 +4,7 @@ model test_Wall
   package Medium = TAeZoSysPro.Media.Air.MoistAir ;
   TAeZoSysPro.FluidDynamics.Sources.Atmosphere atmosphere(redeclare package Medium = Medium, RH = 0.99)  annotation(
     Placement(visible = true, transformation(origin = {-60, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
-  TAeZoSysPro.FluidDynamics.Components.Buildings.Wall Wall(redeclare package Medium = Medium, A = 1, Lc = 1, N = 10, T_start = 283.15, Th = 0.1, correlation_a = TAeZoSysPro.HeatTransfer.Types.FreeConvectionCorrelation.Constant, cp = 1000, d = 2500, energyDynamics = TAeZoSysPro.HeatTransfer.Types.Dynamics.FixedInitial, eps_a = 1, eps_b = 1, h_cv_const_a = 10, h_cv_const_b = 10, k = 2.3, mesh = TAeZoSysPro.HeatTransfer.Types.MeshGrid.uniform)  annotation(
+  TAeZoSysPro.FluidDynamics.Components.Buildings.Wall Wall( A = 1, Lc = 1,redeclare package Medium = Medium, N = 10, T_start = 283.15, Th = 0.1, correlation_a = TAeZoSysPro.HeatTransfer.Types.FreeConvectionCorrelation.vertical_plate_ASHRAE, cp = 1000, d = 2500, energyDynamics = TAeZoSysPro.HeatTransfer.Types.Dynamics.FixedInitial, eps_a = 1, eps_b = 1, h_cv_const_a = 10, h_cv_const_b = 10, k = 2.3, mesh = TAeZoSysPro.HeatTransfer.Types.MeshGrid.biotAndGeometricalGrowth)  annotation(
     Placement(visible = true, transformation(origin = {22, 3.55271e-15}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
 equation
   connect(atmosphere.Flowport, Wall.port_a) annotation(
-- 
GitLab