opm-common
Toggle main menu visibility
Loading...
Searching...
No Matches
C10.hpp
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
This file is part of the Open Porous Media project (OPM).
5
6
OPM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 2 of the License, or
9
(at your option) any later version.
10
11
OPM is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with OPM. If not, see <http://www.gnu.org/licenses/>.
18
19
Consult the COPYING file in the top-level source directory of this
20
module for the precise wording of the license and the list of
21
copyright holders.
22
*/
27
#ifndef OPM_C10_HPP
28
#define OPM_C10_HPP
29
30
#include "
Component.hpp
"
31
32
#include <
opm/material/IdealGas.hpp
>
33
#include <
opm/material/common/MathToolbox.hpp
>
34
35
#include <cmath>
36
#include <string_view>
37
38
namespace
Opm
39
{
40
48
template
<
class
Scalar>
49
class
C10
:
public
Component
<Scalar, C10<Scalar> >
50
{
51
typedef ::Opm::IdealGas<Scalar> IdealGas;
52
53
public
:
57
static
std::string_view
name
()
58
{
return
"C10"
; }
59
63
static
Scalar
molarMass
()
64
{
return
0.142;}
65
69
static
Scalar
criticalTemperature
()
70
{
return
617.7;
/* [K] */
}
71
75
static
Scalar
criticalPressure
()
76
{
return
2.10e6;
/* [N/m^2] */
}
77
81
static
Scalar
criticalVolume
() {
return
6.098e-1; }
82
86
static
Scalar
acentricFactor
() {
return
0.488; }
87
88
89
};
90
91
}
// namespace Opm
92
93
#endif
Component.hpp
Abstract base class of a pure chemical species.
IdealGas.hpp
Relations valid for an ideal gas.
MathToolbox.hpp
A traits class which provides basic mathematical functions for arbitrary scalar floating point values...
Opm::C10
Properties of pure molecular n-Decane .
Definition
C10.hpp:50
Opm::C10::criticalVolume
static Scalar criticalVolume()
Critical volume of [m3/kmol].
Definition
C10.hpp:81
Opm::C10::name
static std::string_view name()
A human readable name for NDecane.
Definition
C10.hpp:57
Opm::C10::criticalPressure
static Scalar criticalPressure()
Returns the critical pressure of molecular n-Decane.
Definition
C10.hpp:75
Opm::C10::criticalTemperature
static Scalar criticalTemperature()
Returns the critical temperature of molecular n-Decane.
Definition
C10.hpp:69
Opm::C10::molarMass
static Scalar molarMass()
The molar mass in of molecular n-Decane.
Definition
C10.hpp:63
Opm::C10::acentricFactor
static Scalar acentricFactor()
Acentric factor of .
Definition
C10.hpp:86
Opm::Component
Abstract base class of a pure chemical species.
Definition
Component.hpp:44
Opm
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition
Exceptions.hpp:30
opm
material
components
C10.hpp
Generated by
1.17.0