diff --git a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.cpp b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.cpp index 205094692065ef70e270b8b53773be1c6f558d0f..bbea95d169bea5b66a3010f13fe194f6cb1c29c5 100644 --- a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.cpp +++ b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.cpp @@ -90,16 +90,6 @@ double TwoPhaseFlowWithPPMaterialProperties::getGasDensity(const double p, return _gas_density->getValue(vars); } -double TwoPhaseFlowWithPPMaterialProperties::getGasDensityDerivative( - const double p, const double T) const -{ - ArrayType vars; - vars[static_cast<int>(MaterialLib::Fluid::PropertyVariableType::T)] = T; - vars[static_cast<int>(MaterialLib::Fluid::PropertyVariableType::p)] = p; - - return _gas_density->getdValue(vars, - MaterialLib::Fluid::PropertyVariableType::p); -} double TwoPhaseFlowWithPPMaterialProperties::getLiquidViscosity( const double p, const double T) const { diff --git a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h index 618bf871e2447a5b3bc6d18df6734e3e1d91c217..a5576ffee84be841d6693db3ea6b4435c6da8e2d 100644 --- a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h +++ b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h @@ -98,7 +98,6 @@ public: double getGasDensity(const double p, const double T) const; double getGasViscosity(const double p, const double T) const; double getLiquidViscosity(const double p, const double T) const; - double getGasDensityDerivative(double const p, double const T) const; double getNonwetRelativePermeability( const double t, const ParameterLib::SpatialPosition& pos, const double p, const double T, const double saturation) const;