From 180b8578270d78f407812728330ae4badf5127f3 Mon Sep 17 00:00:00 2001 From: Simon Wacker Date: Wed, 1 Feb 2023 13:08:21 +0100 Subject: [PATCH] Add getters for inlet and outlet temperatures --- src/Tarcog/src/IGUVentilatedGapLayer.cpp | 10 ++++++++++ src/Tarcog/src/IGUVentilatedGapLayer.hpp | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/Tarcog/src/IGUVentilatedGapLayer.cpp b/src/Tarcog/src/IGUVentilatedGapLayer.cpp index 01df8f51..56f68fd4 100644 --- a/src/Tarcog/src/IGUVentilatedGapLayer.cpp +++ b/src/Tarcog/src/IGUVentilatedGapLayer.cpp @@ -47,6 +47,16 @@ namespace Tarcog m_ReferenceGas.setTemperatureAndPressure(ReferenceTemperature, m_Pressure); } + double CIGUVentilatedGapLayer::inletTemperature() + { + return m_State.inletTemperature; + } + + double CIGUVentilatedGapLayer::outletTemperature() + { + return m_State.outletTemperature; + } + double CIGUVentilatedGapLayer::layerTemperature() { assert(m_Height != 0); diff --git a/src/Tarcog/src/IGUVentilatedGapLayer.hpp b/src/Tarcog/src/IGUVentilatedGapLayer.hpp index 3b55354e..6edb1f1c 100644 --- a/src/Tarcog/src/IGUVentilatedGapLayer.hpp +++ b/src/Tarcog/src/IGUVentilatedGapLayer.hpp @@ -38,6 +38,8 @@ namespace Tarcog double forcedVentilationInletTemperature, double forcedVentilationInletSpeed); + double inletTemperature(); + double outletTemperature(); double layerTemperature() override; void setFlowGeometry(double t_Ain, double t_Aout);