version 3.8
calcite.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_CALCITE_HH
13#define DUMUX_CALCITE_HH
14
17
20
21namespace Dumux {
22namespace Components {
23
28template <class Scalar>
30: public Components::Base<Scalar, Calcite<Scalar> >
31, public Components::Solid<Scalar, Calcite<Scalar> >
32{
33
34public:
40 static std::string name()
41 { return "Calcite"; }
42
46 static constexpr Scalar molarMass()
47 { return CalciumIon::molarMass() + CarbonateIon::molarMass(); } // kg/mol
48
52 static constexpr bool solidIsCompressible()
53 { return false; }
54
62 { return 2.71e3; }
63
70 { return 3.849; }
71
78 { return 837; }
79};
80
81} // end namespace Components
82} // end namespace Dumux
83
84#endif
A class for the Ca2+ (Calcium ion) component properties.
A class for the CO3 ion properties.
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 CaCO3 mineral phase properties.
Definition: calcite.hh:32
static constexpr Scalar solidDensity(Scalar temperature)
The density in of the component at a given pressure in and temperature in .
Definition: calcite.hh:61
static constexpr bool solidIsCompressible()
Returns true if the solid phase is assumed to be compressible.
Definition: calcite.hh:52
static Scalar solidThermalConductivity(Scalar temperature)
Thermal conductivity of the component as a solid.
Definition: calcite.hh:69
static std::string name()
A human readable name for calcite.
Definition: calcite.hh:40
static constexpr Scalar molarMass()
The molar mass in of calcite.
Definition: calcite.hh:46
static Scalar solidHeatCapacity(Scalar temperature)
Specific isobaric heat capacity of the component as a solid.
Definition: calcite.hh:77
A class for the Ca2+ (Calcium ion) component properties.
Definition: calciumion.hh:29
static constexpr Scalar molarMass()
The molar mass in of the Ca ion.
Definition: calciumion.hh:40
A class for the CO3 fluid properties.
Definition: carbonateion.hh:29
static constexpr Scalar molarMass()
The molar mass in of the CO3 ion.
Definition: carbonateion.hh:40
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,...
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.