nacl.hh 3.1 KB
 Vishal Jambhekar committed Jul 30, 2015 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 // -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- // vi: set et ts=4 sw=4 sts=4: /***************************************************************************** * See the file COPYING for full copying permissions. * * * * This program is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program. If not, see . * *****************************************************************************/  Vishal Jambhekar committed Jul 30, 2015 19 20 /*! * \file  Vishal Jambhekar committed Jul 30, 2015 21 22  * \ingroup Components * \brief Material properties of pure salt \f$NaCl\f$.  Vishal Jambhekar committed Jul 30, 2015 23 24 25 26 27 28 29 30 31  */ #ifndef DUMUX_NACL_HH #define DUMUX_NACL_HH #include #include #include  Melanie Lipp committed Apr 10, 2018 32 33 34 #include #include #include  Timo Koch committed Feb 21, 2018 35 36 37  namespace Dumux { namespace Components {  Vishal Jambhekar committed Jul 30, 2015 38 39  /*!  Simon Scholz committed Dec 20, 2017 40  * \ingroup Components  Vishal Jambhekar committed Jul 30, 2015 41 42 43  * \brief A class for the NaCl properties */ template  Melanie Lipp committed Apr 10, 2018 44 45 46 class NaCl : public Components::Base > , public Components::Solid >  Vishal Jambhekar committed Jul 30, 2015 47 48 49 50 51 { public: /*! * \brief A human readable name for the NaCl. */  Timo Koch committed Jan 30, 2017 52  static std::string name()  Christoph Grüninger committed Nov 03, 2015 53 54  { return "NaCl";  Vishal Jambhekar committed Jul 30, 2015 55 56 57  } /*!  Vishal Jambhekar committed Jul 30, 2015 58  * \brief The molar mass of NaCl in \f$\mathrm{[kg/mol]}\f$.  Vishal Jambhekar committed Jul 30, 2015 59  */  Timo Koch committed Aug 07, 2018 60  static constexpr Scalar molarMass()  Christoph Grüninger committed Nov 03, 2015 61 62  { return 58.4428e-3 ;  Vishal Jambhekar committed Jul 30, 2015 63  }  Vishal Jambhekar committed Jul 30, 2015 64   Kilian Weishaupt committed Mar 10, 2016 65 66 67  /*! * \brief The mass density \f$\mathrm{[kg/m^3]}\f$ of NaCl. */  Katharina Heck committed May 08, 2018 68  static Scalar solidDensity(Scalar temperature)  Vishal Jambhekar committed Jul 30, 2015 69  {  Vishal Jambhekar committed Jul 30, 2015 70  return 2165.0;  Vishal Jambhekar committed Jul 30, 2015 71  }  Kilian Weishaupt committed Mar 10, 2016 72   Katharina Heck committed Jul 04, 2018 73 74 75 76 77 78 79 80  /*! * \brief The mass density \f$\mathrm{[kg/m^3]}\f$ of NaCl. */ static Scalar solidMolarDensity(Scalar temperature) { return solidDensity(temperature)/molarMass(); }  Kilian Weishaupt committed Mar 10, 2016 81 82 83  /*! * \brief The specific heat capacity \f$\mathrm{[J/molK]}\f$ of NaCl. */  Katharina Heck committed May 08, 2018 84  static Scalar solidHeatCapacity(Scalar temperature)  Kilian Weishaupt committed Mar 10, 2016 85 86 87  { return 50.50; }  Gabriele Seitz committed May 24, 2018 88 89 90 91 92 93 94 95 96  /*! * \brief Thermal conductivity of the component \f$\mathrm{[W/(m*K)]}\f$ as a solid. * \param temperature temperature of component in \f$\mathrm{[K]}\f$ */ static Scalar solidThermalConductivity(Scalar temperature) { return 6.49; }  Vishal Jambhekar committed Jul 30, 2015 97 98 };  Timo Koch committed Feb 21, 2018 99 } // end namespace Components  Vishal Jambhekar committed Jul 30, 2015 100   Timo Koch committed Feb 21, 2018 101 102 103 } // end namespace Dumux #endif