3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
cao2h2.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_CAO2H2_HH
25#define DUMUX_CAO2H2_HH
26
28
29#include <cmath>
30#include <iostream>
31
34
35namespace Dumux {
36namespace Components {
37
42template <class Scalar>
43class CaO2H2
44: public Components::Base<Scalar, CaO2H2<Scalar> >
45, public Components::Solid<Scalar, CaO2H2<Scalar> >
46{
47public:
51 static const char *name()
52 {
53 return "CaO2H2";
54 }
55
59 static constexpr Scalar molarMass()
60 {
61 return 74.093e-3 ;
62 }
63
68 {
69 return 2200.0; //at 293 K ; Shao et al. (2013)
70 }
71
77 {
79 }
80
85 {
86 return 1530; //Nagel et al. (2014) : 1530 J/kgK
87 }
88
93 {
94 return 0.4; //Nagel et al. (2014)
95 }
96};
97
98} // end namespace Components
99
100} // end namespace Dumux
101
102#endif
Some exceptions thrown in DuMux
Interface for components that have a solid state.
Definition: adapt.hh:29
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: components/base.hh:59
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:63
A class for the CaO2H2 properties.
Definition: cao2h2.hh:46
static Scalar solidHeatCapacity(Scalar temperature)
The specific heat capacity of CaO2H2.
Definition: cao2h2.hh:84
static Scalar solidThermalConductivity(Scalar temperature)
The thermal conductivity of the porous material.
Definition: cao2h2.hh:92
static constexpr Scalar molarMass()
The molar mass of CaOH2 in .
Definition: cao2h2.hh:59
static const char * name()
A human readable name for the CaO2H2.
Definition: cao2h2.hh:51
static Scalar solidDensity(Scalar temperature)
The mass density of CaO2H2.
Definition: cao2h2.hh:67
static Scalar solidMolarDensity(Scalar temperature)
The molar density of CaO2H2. Molar density at 293 K. Literature value from Shao et al....
Definition: cao2h2.hh:76
Interface for components that have a solid state.
Definition: solid.hh:41
Base class for all components Components provide the thermodynamic relations for the liquid,...