version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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-FileCopyrightText: 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::Components {
22
27template <class Scalar>
29: public Components::Base<Scalar, Calcite<Scalar> >
30, public Components::Solid<Scalar, Calcite<Scalar> >
31{
32
33public:
39 static std::string name()
40 { return "Calcite"; }
41
45 static constexpr Scalar molarMass()
46 { return CalciumIon::molarMass() + CarbonateIon::molarMass(); } // kg/mol
47
51 static constexpr bool solidIsCompressible()
52 { return false; }
53
61 { return 2.71e3; }
62
69 { return 3.849; }
70
77 { return 837; }
78};
79
80} // end namespace Dumux::Components
81
82#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:46
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:50
A class for the CaCO3 mineral phase properties.
Definition: calcite.hh:31
static constexpr Scalar solidDensity(Scalar temperature)
The density in of the component at a given pressure in and temperature in .
Definition: calcite.hh:60
static constexpr bool solidIsCompressible()
Returns true if the solid phase is assumed to be compressible.
Definition: calcite.hh:51
static Scalar solidThermalConductivity(Scalar temperature)
Thermal conductivity of the component as a solid.
Definition: calcite.hh:68
static std::string name()
A human readable name for calcite.
Definition: calcite.hh:39
static constexpr Scalar molarMass()
The molar mass in of calcite.
Definition: calcite.hh:45
static Scalar solidHeatCapacity(Scalar temperature)
Specific isobaric heat capacity of the component as a solid.
Definition: calcite.hh:76
A class for the Ca2+ (Calcium ion) component properties.
Definition: calciumion.hh:28
static constexpr Scalar molarMass()
The molar mass in of the Ca ion.
Definition: calciumion.hh:39
A class for the CO3 fluid properties.
Definition: carbonateion.hh:28
static constexpr Scalar molarMass()
The molar mass in of the CO3 ion.
Definition: carbonateion.hh:39
Interface for components that have a solid state.
Definition: solid.hh:28
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: air.hh:22
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39
Interface for components that have a solid state.