From 1690883301f6b99d5b92c406f3b1eb8ed78b3cff Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Sun, 13 Dec 2020 11:49:58 +0100 Subject: [PATCH] [components][constant] Add non-isothermal liquid properties --- dumux/material/components/constant.hh | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dumux/material/components/constant.hh b/dumux/material/components/constant.hh index e673dfdda4..ca4118c939 100644 --- a/dumux/material/components/constant.hh +++ b/dumux/material/components/constant.hh @@ -143,6 +143,41 @@ public: return kinematicViscosity * liquidDensity(temperature, pressure); } + /*! + * \brief Thermal conductivity of the component \f$\mathrm{[W/(m*K)]}\f$ as a liquid. + * \param temperature temperature of phase in \f$\mathrm{[K]}\f$ + * \param pressure pressure of phase in \f$\mathrm{[Pa]}\f$ + */ + static Scalar liquidThermalConductivity(Scalar temperature, Scalar pressure) + { + static const Scalar thermalConductivity = getParamFromGroup<Scalar>(std::to_string(id), "Component.LiquidThermalConductivity"); + return thermalConductivity; + } + + /*! + * \brief Specific enthalpy of the component \f$\mathrm{[J/kg]}\f$ as a liquid. + * + * \param temperature temperature of phase in \f$\mathrm{[K]}\f$ + * \param pressure pressure of phase in \f$\mathrm{[Pa]}\f$ + */ + static Scalar liquidEnthalpy(Scalar temperature, Scalar pressure) + { + static const Scalar enthalpy = getParamFromGroup<Scalar>(std::to_string(id), "Component.LiquidEnthalpy"); + return enthalpy; + } + + /*! + * \brief Specific isobaric heat capacity of the component \f$\mathrm{[J/(kg*K)]}\f$ as a liquid. + * + * \param temperature temperature of phase in \f$\mathrm{[K]}\f$ + * \param pressure pressure of phase in \f$\mathrm{[Pa]}\f$ + */ + static Scalar liquidHeatCapacity(Scalar temperature, Scalar pressure) + { + static const Scalar heatCapacity = getParamFromGroup<Scalar>(std::to_string(id), "Component.LiquidHeatCapacity"); + return heatCapacity; + } + /*! * \brief Sets the gas density in \f$\mathrm{[kg/m^3]}\f$. * -- GitLab