version 3.10-dev
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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_CAO2H2_HH
13#define DUMUX_CAO2H2_HH
14
16
17#include <cmath>
18#include <iostream>
19
22
23namespace Dumux {
24namespace Components {
25
30template <class Scalar>
31class CaO2H2
32: public Components::Base<Scalar, CaO2H2<Scalar> >
33, public Components::Solid<Scalar, CaO2H2<Scalar> >
34{
35public:
39 static const char *name()
40 {
41 return "CaO2H2";
42 }
43
47 static constexpr Scalar molarMass()
48 {
49 return 74.093e-3 ;
50 }
51
56 {
57 return 2200.0; //at 293 K ; Shao et al. (2013)
58 }
59
65 {
67 }
68
73 {
74 return 1530; //Nagel et al. (2014) : 1530 J/kgK
75 }
76
81 {
82 return 0.4; //Nagel et al. (2014)
83 }
84};
85
86} // end namespace Components
87
88} // end namespace Dumux
89
90#endif
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: components/base.hh:47
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:51
A class for the CaO2H2 properties.
Definition: cao2h2.hh:34
static Scalar solidHeatCapacity(Scalar temperature)
The specific heat capacity of CaO2H2.
Definition: cao2h2.hh:72
static Scalar solidThermalConductivity(Scalar temperature)
The thermal conductivity of the porous material.
Definition: cao2h2.hh:80
static constexpr Scalar molarMass()
The molar mass of CaOH2 in .
Definition: cao2h2.hh:47
static const char * name()
A human readable name for the CaO2H2.
Definition: cao2h2.hh:39
static Scalar solidDensity(Scalar temperature)
The mass density of CaO2H2.
Definition: cao2h2.hh:55
static Scalar solidMolarDensity(Scalar temperature)
The molar density of CaO2H2. Molar density at 293 K. Literature value from Shao et al....
Definition: cao2h2.hh:64
Interface for components that have a solid state.
Definition: solid.hh:29
Base class for all components Components provide the thermodynamic relations for the liquid,...
Some exceptions thrown in DuMux
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39
Definition: adapt.hh:17
Interface for components that have a solid state.