Reaktoro
A unified framework for modeling chemically reactive systems
PhaseThermoModel.hpp
1 // Reaktoro is a unified framework for modeling chemically reactive systems.
2 //
3 // Copyright (C) 2014-2018 Allan Leal
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library. If not, see <http://www.gnu.org/licenses/>.
17 
18 #pragma once
19 
20 // C++ includes
21 #include <functional>
22 
23 // Reaktoro includes
24 #include <Reaktoro/Common/ThermoScalar.hpp>
25 #include <Reaktoro/Common/ThermoVector.hpp>
26 
27 namespace Reaktoro {
28 
30 template<typename VectorType>
32 {
35 
38 
41 
44 
47 
50 };
51 
54 
57 
60 
61 } // namespace Reaktoro
VectorType ln_activity_constants
The natural log of the activity constants of the species.
Definition: PhaseThermoModel.hpp:49
std::function< void(PhaseThermoModelResult &, Temperature, Pressure)> PhaseThermoModel
The signature of the chemical model function that calculates the thermodynamic properties of the spec...
Definition: PhaseThermoModel.hpp:59
A type that describes pressure in units of Pa.
Definition: ThermoScalar.hpp:194
VectorType standard_partial_molar_volumes
The standard partial molar volumes of the species (in units of m3/mol).
Definition: PhaseThermoModel.hpp:40
VectorType standard_partial_molar_gibbs_energies
The standard partial molar Gibbs energies of the species (in units of J/mol).
Definition: PhaseThermoModel.hpp:34
VectorType standard_partial_molar_heat_capacities_cp
The standard partial molar isobaric heat capacities of the species (in units of J/(mol*K)).
Definition: PhaseThermoModel.hpp:43
VectorType standard_partial_molar_enthalpies
The standard partial molar enthalpies of the species (in units of J/mol).
Definition: PhaseThermoModel.hpp:37
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
A type that describes temperature in units of K.
Definition: ThermoScalar.hpp:177
VectorType standard_partial_molar_heat_capacities_cv
The standard partial molar isochoric heat capacities of the species (in units of J/(mol*K)).
Definition: PhaseThermoModel.hpp:46
The result of a thermodynamic model function that calculates the thermodynamic properties of species.
Definition: PhaseThermoModel.hpp:32