|
|
|
specieThermo Class Template ReferenceInheritance diagram for specieThermo:![]() Detailed Descriptiontemplate<class thermo>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| specieThermo (const thermo &sp) | |
| construct from components | |
| specieThermo (Istream &) | |
| Construct from Istream. | |
| specieThermo (const word &name, const specieThermo &) | |
| Construct as named copy. | |
| scalar | cv (const scalar T) const |
| Heat capacity at constant volume [J/(kmol K)]. | |
| scalar | gamma (const scalar T) const |
| gamma = cp/cv [] | |
| scalar | e (const scalar T) const |
| Internal energy [J/kmol]. | |
| scalar | g (const scalar T) const |
| Gibbs free energy [J/kmol]. | |
| scalar | a (const scalar T) const |
| Helmholtz free energy [J/kmol]. | |
| scalar | Cp (const scalar T) const |
| Heat capacity at constant pressure [J/(kg K)]. | |
| scalar | Cv (const scalar T) const |
| Heat capacity at constant volume [J/(kg K)]. | |
| scalar | H (const scalar T) const |
| Enthalpy [J/kg]. | |
| scalar | S (const scalar T) const |
| Entropy [J/(kg K)]. | |
| scalar | E (const scalar T) const |
| Internal energy [J/kg]. | |
| scalar | G (const scalar T) const |
| Gibbs free energy [J/kg]. | |
| scalar | A (const scalar T) const |
| Helmholtz free energy [J/kg]. | |
| scalar | K (const scalar T) const |
| Equilibrium constant [] i.t.o fugacities. | |
| scalar | Kp (const scalar T) const |
| Equilibrium constant [] i.t.o. partial pressures. | |
| scalar | Kc (const scalar T) const |
| Equilibrium constant i.t.o. concentration. | |
| scalar | Kx (const scalar T, const scalar p) const |
| Equilibrium constant [] i.t.o. mole-fractions. | |
| scalar | Kn (const scalar T, const scalar p, const scalar n) const |
| Equilibrium constant [] i.t.o. number of moles. | |
| scalar | TH (const scalar H, const scalar T0) const |
| Temperature from Enthalpy given an initial temperature T0. | |
| scalar | TE (const scalar E, const scalar T0) const |
| Temperature from internal energy given an initial temperature T0. | |
| void | operator+= (const specieThermo &) |
| void | operator-= (const specieThermo &) |
| void | operator *= (const scalar) |
Friends | |
| specieThermo | operator+ (const specieThermo &, const specieThermo &) |
| specieThermo | operator- (const specieThermo &, const specieThermo &) |
| specieThermo | operator * (const scalar s, const specieThermo &) |
| specieThermo | operator== (const specieThermo &, const specieThermo &) |
| Ostream & | operator (Ostream &, const specieThermo &) |
| specieThermo | ( | const thermo & | sp | ) | [inline] |
construct from components
Definition at line 54 of file specieThermoI.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and Foam::mag().
Here is the call graph for this function:

| specieThermo | ( | Istream & | ) |
Construct from Istream.
| specieThermo | ( | const word & | name, | |
| const specieThermo< thermo > & | ||||
| ) | [inline] |
Construct as named copy.
Definition at line 106 of file specieThermoI.H.
References Foam::cp().
Here is the call graph for this function:

| scalar cv | ( | const scalar | T | ) | const [inline] |
Heat capacity at constant volume [J/(kmol K)].
Definition at line 124 of file specieThermoI.H.
References Foam::cp().
Referenced by specieThermo::Cp().
Here is the call graph for this function:

Here is the caller graph for this function:

| scalar gamma | ( | const scalar | T | ) | const [inline] |
| scalar e | ( | const scalar | T | ) | const [inline] |
Internal energy [J/kmol].
Definition at line 139 of file specieThermoI.H.
Referenced by specieThermo::g(), and specieThermo::S().
Here is the caller graph for this function:

| scalar g | ( | const scalar | T | ) | const [inline] |
Gibbs free energy [J/kmol].
Definition at line 146 of file specieThermoI.H.
References specieThermo::e().
Referenced by specieThermo::A(), and specieThermo::E().
Here is the call graph for this function:

Here is the caller graph for this function:

| scalar a | ( | const scalar | T | ) | const [inline] |
Helmholtz free energy [J/kmol].
Definition at line 153 of file specieThermoI.H.
References Foam::cp().
Referenced by specieThermo::G().
Here is the call graph for this function:

Here is the caller graph for this function:

| scalar Cp | ( | const scalar | T | ) | const [inline] |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 163 of file specieThermoI.H.
References specieThermo::cv().
Referenced by eConstThermo::s().
Here is the call graph for this function:

Here is the caller graph for this function:

| scalar Cv | ( | const scalar | T | ) | const [inline] |
| scalar H | ( | const scalar | T | ) | const [inline] |
| scalar S | ( | const scalar | T | ) | const [inline] |
Entropy [J/(kg K)].
Definition at line 184 of file specieThermoI.H.
References specieThermo::e().
Here is the call graph for this function:

| scalar E | ( | const scalar | T | ) | const [inline] |
Internal energy [J/kg].
Definition at line 191 of file specieThermoI.H.
References specieThermo::g().
Here is the call graph for this function:

| scalar G | ( | const scalar | T | ) | const [inline] |
Gibbs free energy [J/kg].
Definition at line 198 of file specieThermoI.H.
References specieThermo::a().
Here is the call graph for this function:

| scalar A | ( | const scalar | T | ) | const [inline] |
Helmholtz free energy [J/kg].
Definition at line 205 of file specieThermoI.H.
References Foam::exp(), and specieThermo::g().
Here is the call graph for this function:

| scalar K | ( | const scalar | T | ) | const [inline] |
Equilibrium constant [] i.t.o fugacities.
= PIi(fi/Pstd)^nui
Definition at line 215 of file specieThermoI.H.
| scalar Kp | ( | const scalar | T | ) | const [inline] |
Equilibrium constant [] i.t.o. partial pressures.
= PIi(pi/Pstd)^nui For low pressures (where the gas mixture is near perfect) Kp = K
Definition at line 235 of file specieThermoI.H.
References Foam::equal(), and Foam::pow().
Referenced by specieThermo::Kc(), and specieThermo::Kx().
Here is the call graph for this function:

Here is the caller graph for this function:

| scalar Kc | ( | const scalar | T | ) | const [inline] |
Equilibrium constant i.t.o. concentration.
= PIi(ci/cstd)^nui For low pressures (where the gas mixture is near perfect) Kc = Kp(pstd/(RR*T))^nu
Definition at line 247 of file specieThermoI.H.
References Foam::equal(), specieThermo::Kp(), and Foam::pow().
Here is the call graph for this function:

| scalar Kx | ( | const scalar | T, | |
| const scalar | p | |||
| ) | const [inline] |
Equilibrium constant [] i.t.o. mole-fractions.
For low pressures (where the gas mixture is near perfect) Kx = Kp(pstd/p)^nui
Definition at line 266 of file specieThermoI.H.
References Foam::equal(), specieThermo::Kp(), and Foam::pow().
Here is the call graph for this function:

| scalar Kn | ( | const scalar | T, | |
| const scalar | p, | |||
| const scalar | n | |||
| ) | const [inline] |
Equilibrium constant [] i.t.o. number of moles.
For low pressures (where the gas mixture is near perfect) Kn = Kp(n*pstd/p)^nui where n = number of moles in mixture
Definition at line 286 of file specieThermoI.H.
| scalar TH | ( | const scalar | H, | |
| const scalar | T0 | |||
| ) | const [inline] |
Temperature from Enthalpy given an initial temperature T0.
Reimplemented in eConstThermo.
Definition at line 307 of file specieThermoI.H.
| scalar TE | ( | const scalar | E, | |
| const scalar | T0 | |||
| ) | const [inline] |
Temperature from internal energy given an initial temperature T0.
Reimplemented in eConstThermo.
Definition at line 315 of file specieThermoI.H.
| void operator+= | ( | const specieThermo< thermo > & | ) | [inline] |
Definition at line 324 of file specieThermoI.H.
| void operator-= | ( | const specieThermo< thermo > & | ) | [inline] |
Definition at line 330 of file specieThermoI.H.
| void operator *= | ( | const | scalar | ) | [inline] |
Definition at line 336 of file specieThermoI.H.
| specieThermo operator+ | ( | const specieThermo< thermo > & | , | |
| const specieThermo< thermo > & | ||||
| ) | [friend] |
| specieThermo operator- | ( | const specieThermo< thermo > & | , | |
| const specieThermo< thermo > & | ||||
| ) | [friend] |
| specieThermo operator * | ( | const scalar | s, | |
| const specieThermo< thermo > & | ||||
| ) | [friend] |
| specieThermo operator== | ( | const specieThermo< thermo > & | , | |
| const specieThermo< thermo > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const specieThermo< thermo > & | ||||
| ) | [friend] |
Referenced by eConstThermo::TE().