Skip to content

Commit

Permalink
Merge pull request #7 from ise-bipv/add-getters-for-inlet-and-oulet-t…
Browse files Browse the repository at this point in the history
…emperature

Add getters for inlet and outlet temperatures
  • Loading branch information
christoph-maurer authored Feb 2, 2023
2 parents 1d5827e + 180b857 commit e59d39a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Tarcog/src/IGUVentilatedGapLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions src/Tarcog/src/IGUVentilatedGapLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e59d39a

Please sign in to comment.