From 78ba45cb6830ecb9d5c241b0ef1f6ea7f54d1a49 Mon Sep 17 00:00:00 2001
From: Norbert Grunwald <norbert.grunwald@ufz.de>
Date: Tue, 11 Jan 2022 09:26:40 +0100
Subject: [PATCH] [TH2M] Thermal conductivity is no longer a required property.

Now, thermal conductivity is a medium property, individual phase thermal conductivities are required only if in case of a mixing rule.
---
 .../TH2M/PhaseTransitionModels/PhaseTransitionModel.h       | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ProcessLib/TH2M/PhaseTransitionModels/PhaseTransitionModel.h b/ProcessLib/TH2M/PhaseTransitionModels/PhaseTransitionModel.h
index 1425a35dbb6..c6409bb5dc3 100644
--- a/ProcessLib/TH2M/PhaseTransitionModels/PhaseTransitionModel.h
+++ b/ProcessLib/TH2M/PhaseTransitionModels/PhaseTransitionModel.h
@@ -112,11 +112,9 @@ struct PhaseTransitionModel
 
         // check for minimum requirement definitions in media object
         std::array const required_gas_properties = {
-            MaterialPropertyLib::viscosity, MaterialPropertyLib::density,
-            MaterialPropertyLib::thermal_conductivity};
+            MaterialPropertyLib::viscosity, MaterialPropertyLib::density};
         std::array const required_liquid_properties = {
-            MaterialPropertyLib::viscosity, MaterialPropertyLib::density,
-            MaterialPropertyLib::thermal_conductivity};
+            MaterialPropertyLib::viscosity, MaterialPropertyLib::density};
 
         for (auto const& m : media)
         {
-- 
GitLab