GCC Code Coverage Report


Directory: ../../../builds/dumux-repositories/
File: /builds/dumux-repositories/dumux/dumux/material/components/cao.hh
Date: 2024-05-04 19:09:25
Exec Total Coverage
Lines: 0 6 0.0%
Functions: 0 3 0.0%
Branches: 0 0 -%

Line Branch Exec Source
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 //
7 /*!
8 * \file
9 * \ingroup Components
10 * \brief Material properties of pure Calcium-Oxide \f$CaO\f$.
11 */
12 #ifndef DUMUX_CAO_HH
13 #define DUMUX_CAO_HH
14
15 #include <dumux/common/exceptions.hh>
16
17 #include <cmath>
18 #include <iostream>
19
20 #include <dumux/material/components/base.hh>
21 #include <dumux/material/components/solid.hh>
22
23 namespace Dumux {
24 namespace Components {
25
26 /*!
27 * \ingroup Components
28 * \brief A class for the CaO properties
29 */
30 template <class Scalar>
31 class CaO
32 : public Components::Base<Scalar, CaO<Scalar> >
33 , public Components::Solid<Scalar, CaO<Scalar> >
34 {
35 public:
36 /*!
37 * \brief A human readable name for the CaO.
38 */
39 static const char *name()
40 {
41 return "CaO";
42 }
43
44 /*!
45 * \brief The molar mass of CaOH2 in \f$\mathrm{[kg/mol]}\f$.
46 */
47 static constexpr Scalar molarMass()
48 {
49 return 56.0774e-3;
50 }
51
52 /*!
53 * \brief The mass density \f$\mathrm{[kg/m^3]}\f$ of CaO.
54 */
55 static Scalar solidDensity(Scalar temperature)
56 {
57 return 3370;
58 }
59
60 /*!
61 * \brief The molar density \f$\mathrm{[mol/m^3]}\f$ of CaO.
62 * Molar density at 293 K. Literature value from Shao et al. (2013).
63 */
64 static Scalar solidMolarDensity(Scalar temperature)
65 {
66 return solidDensity(temperature)/molarMass();
67 }
68
69 /*!
70 * \brief The specific heat capacity \f$\mathrm{[J/kg K]}\f$ of CaO.
71 */
72 static Scalar solidHeatCapacity(Scalar temperature)
73 {
74 return 934; //Nagel et al. (2014) : 934 J/kgK
75 }
76
77 /*!
78 * \brief The thermal conductivity \f$\mathrm{[W/(m K)]}\f$ of the porous material.
79 */
80 static Scalar solidThermalConductivity(Scalar temperature)
81 {
82 return 0.4; //Nagel et al. (2014)
83 }
84 };
85
86 } // end namespace Components
87
88 } // end namespace Dumux
89
90 #endif
91