version 3.8
ammonia.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_MATERIAL_COMPONENTS_NH3_HH
13#define DUMUX_MATERIAL_COMPONENTS_NH3_HH
14
16
17namespace Dumux {
18namespace Components {
19
24template <class Scalar>
26: public Components::Base<Scalar, Ammonia<Scalar> >
27{
28public:
29
33 static std::string name()
34 { return "NH3"; }
35
40 { return 0.017031; } // kg/mol
41
42};
43
44} // end namespace Components
45} // end namespace Dumux
46
47#endif
A class for the Ammonia (NH3) component properties.
Definition: ammonia.hh:27
static std::string name()
A human readable name for NH3.
Definition: ammonia.hh:33
static Scalar molarMass()
The molar mass in of NH3.
Definition: ammonia.hh:39
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
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: adapt.hh:17