diff --git a/ProcessLib/HT/CreateHTProcess.cpp b/ProcessLib/HT/CreateHTProcess.cpp index 142c7cd987db8912fd7ed1b4211e671aa1e79d33..20602e81b21ac99a91424eedbfbc0606d7d47667 100644 --- a/ProcessLib/HT/CreateHTProcess.cpp +++ b/ProcessLib/HT/CreateHTProcess.cpp @@ -9,9 +9,7 @@ #include "CreateHTProcess.h" -#include "MaterialLib/Fluid/FluidProperties/CreateFluidProperties.h" #include "MaterialLib/MPL/CreateMaterialSpatialDistributionMap.h" -#include "MaterialLib/PorousMedium/CreatePorousMediaProperties.h" #include "MeshLib/IO/readMeshFromFile.h" #include "ParameterLib/ConstantParameter.h" #include "ParameterLib/Utils.h" @@ -81,10 +79,6 @@ std::unique_ptr<Process> createHTProcess( const int _heat_transport_process_id = 0; const int _hydraulic_process_id = 1; - MaterialLib::PorousMedium::PorousMediaProperties porous_media_properties{ - MaterialLib::PorousMedium::createPorousMediaProperties(mesh, config, - parameters)}; - // Parameter for the density of the solid. auto& density_solid = ParameterLib::findParameter<double>( config, @@ -170,7 +164,6 @@ std::unique_ptr<Process> createHTProcess( std::unique_ptr<HTMaterialProperties> material_properties = std::make_unique<HTMaterialProperties>( - std::move(porous_media_properties), density_solid, std::move(media_map), specific_heat_capacity_solid, diff --git a/ProcessLib/HT/HTMaterialProperties.h b/ProcessLib/HT/HTMaterialProperties.h index b375e6e5f94be6b21c694ae0fea3b958f170e73d..bab6e5e08b740c60766d021b67d2134216b34068 100644 --- a/ProcessLib/HT/HTMaterialProperties.h +++ b/ProcessLib/HT/HTMaterialProperties.h @@ -12,9 +12,7 @@ #include <memory> #include <utility> -#include "MaterialLib/Fluid/FluidProperties/FluidProperties.h" #include "MaterialLib/MPL/MaterialSpatialDistributionMap.h" -#include "MaterialLib/PorousMedium/PorousMediaProperties.h" namespace ProcessLib { @@ -26,8 +24,6 @@ namespace HT struct HTMaterialProperties final { HTMaterialProperties( - MaterialLib::PorousMedium::PorousMediaProperties&& - porous_media_properties_, ParameterLib::Parameter<double> const& density_solid_, std::unique_ptr<MaterialPropertyLib::MaterialSpatialDistributionMap>&& media_map_, @@ -38,8 +34,7 @@ struct HTMaterialProperties final ParameterLib::Parameter<double> const& biot_constant_, Eigen::VectorXd specific_body_force_, bool const has_gravity_) - : porous_media_properties(std::move(porous_media_properties_)), - density_solid(density_solid_), + : density_solid(density_solid_), media_map(std::move(media_map_)), specific_heat_capacity_solid(specific_heat_capacity_solid_), thermal_conductivity_solid(thermal_conductivity_solid_), @@ -56,7 +51,6 @@ struct HTMaterialProperties final void operator=(HTMaterialProperties&&) = delete; void operator=(HTMaterialProperties const&) = delete; - MaterialLib::PorousMedium::PorousMediaProperties porous_media_properties; ParameterLib::Parameter<double> const& density_solid; std::unique_ptr<MaterialPropertyLib::MaterialSpatialDistributionMap> media_map;