version 3.8
cao.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_CAO_HH
13#define DUMUX_CAO_HH
14
16
17#include <cmath>
18#include <iostream>
19
22
23namespace Dumux {
24namespace Components {
25
30template <class Scalar>
31class CaO
32: public Components::Base<Scalar, CaO<Scalar> >
33, public Components::Solid<Scalar, CaO<Scalar> >
34{
35public:
39 static const char *name()
40 {
41 return "CaO";
42 }
43
47 static constexpr Scalar molarMass()
48 {
49 return 56.0774e-3;
50 }
51
56 {
57 return 3370;
58 }
59
65 {
67 }
68
73 {
74 return 934; //Nagel et al. (2014) : 934 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 CaO properties.
Definition: cao.hh:34
static Scalar solidThermalConductivity(Scalar temperature)
The thermal conductivity of the porous material.
Definition: cao.hh:80
static Scalar solidHeatCapacity(Scalar temperature)
The specific heat capacity of CaO.
Definition: cao.hh:72
static Scalar solidMolarDensity(Scalar temperature)
The molar density of CaO. Molar density at 293 K. Literature value from Shao et al....
Definition: cao.hh:64
static const char * name()
A human readable name for the CaO.
Definition: cao.hh:39
static constexpr Scalar molarMass()
The molar mass of CaOH2 in .
Definition: cao.hh:47
static Scalar solidDensity(Scalar temperature)
The mass density of CaO.
Definition: cao.hh:55
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.