version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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-FileCopyrightText: 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::Components {
18
23template <class Scalar>
25: public Components::Base<Scalar, Ammonia<Scalar> >
26{
27public:
28
32 static std::string name()
33 { return "NH3"; }
34
39 { return 0.017031; } // kg/mol
40
41};
42
43} // end namespace Dumux::Components
44
45#endif
A class for the Ammonia (NH3) component properties.
Definition: ammonia.hh:26
static std::string name()
A human readable name for NH3.
Definition: ammonia.hh:32
static Scalar molarMass()
The molar mass in of NH3.
Definition: ammonia.hh:38
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
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: air.hh:22