From 423141eb30b5beab4396dc86a5a6a83c2c3512c6 Mon Sep 17 00:00:00 2001 From: Svenn Tveit Date: Mon, 12 Sep 2022 14:01:09 +0200 Subject: [PATCH] Re-add information lost in rebase --- opm/material/components/H2.hpp | 10 ++++++++++ opm/material/components/SimpleH2.hpp | 12 +++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/opm/material/components/H2.hpp b/opm/material/components/H2.hpp index 055d9ef75..04edccff9 100644 --- a/opm/material/components/H2.hpp +++ b/opm/material/components/H2.hpp @@ -107,6 +107,16 @@ public: static Scalar tripleDensity() { return 38.2e-3; /* [mol/cm^3] */ } + /*! + * \brief Critical volume of \f$H_2\f$ [m2/kmol]. + */ + static Scalar criticalVolume() {return 6.45e-2; } + + /*! + * \brief Acentric factor of \f$H_2\f$. + */ + static Scalar acentricFactor() { return -0.22; } + /*! * \brief The vapor pressure in \f$\mathrm{[Pa]}\f$ of pure molecular hydrogen * at a given temperature. diff --git a/opm/material/components/SimpleH2.hpp b/opm/material/components/SimpleH2.hpp index 7b64e588c..6fe59d414 100644 --- a/opm/material/components/SimpleH2.hpp +++ b/opm/material/components/SimpleH2.hpp @@ -43,7 +43,7 @@ namespace Opm { /*! * \ingroup Components * -* \brief Properties of pure molecular hydrogen \f$H_2\f$. Use ideal gas equations for many properties. +* \brief Properties of pure molecular hydrogen \f$H_2\f$. Uses ideal gas equations for many properties. * * \tparam Scalar The type used for scalar values */ @@ -89,6 +89,16 @@ public: static Scalar tripleTemperature() { return 14.0; /* [K] */ } + /*! + * \brief Critical volume of \f$H_2\f$ [m2/kmol]. + */ + static Scalar criticalVolume() {return 6.45e-2; } + + /*! + * \brief Acentric factor of \f$H_2\f$. + */ + static Scalar acentricFactor() { return -0.22; } + /*! * \brief The vapor pressure in \f$\mathrm{[Pa]}\f$ of pure molecular hydrogen * at a given temperature.