|
|
|
specieThermo< thermo > Class Template ReferenceBasic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the template argument type thermo. All other properties are derived from these primitive functions. More...
Collaboration diagram for specieThermo< thermo >:
![]()
Detailed Descriptiontemplate<class thermo>
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the template argument type thermo. All other properties are derived from these primitive functions.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| specieThermo | ( | const thermo & | sp | ) | [inline] |
| specieThermo | ( | Istream & | is | ) | [inline] |
| specieThermo | ( | const word & | name, | |
| const specieThermo< thermo > & | st | |||
| ) | [inline] |
| Foam::scalar cv | ( | const scalar | T | ) | const [inline] |
Heat capacity at constant volume [J/(kmol K)].
Definition at line 85 of file specieThermoI.H.
Referenced by specieThermo< thermo >::H().

| Foam::scalar gamma | ( | const scalar | T | ) | const [inline] |
gamma = cp/cv []
Definition at line 92 of file specieThermoI.H.
References Foam::cp().

| Foam::scalar e | ( | const scalar | T | ) | const [inline] |
Internal energy [J/kmol].
Definition at line 100 of file specieThermoI.H.
References Foam::cp().
Referenced by specieThermo< thermo >::Cp(), and specieThermo< thermo >::G().


| Foam::scalar es | ( | const scalar | T | ) | const [inline] |
| Foam::scalar g | ( | const scalar | T | ) | const [inline] |
Gibbs free energy [J/kmol].
Definition at line 114 of file specieThermoI.H.
Referenced by specieThermo< thermo >::A().

| Foam::scalar a | ( | const scalar | T | ) | const [inline] |
Helmholtz free energy [J/kmol].
Definition at line 121 of file specieThermoI.H.
References h.
Referenced by specieThermo< thermo >::K().

| Foam::scalar Cp | ( | const scalar | T | ) | const [inline] |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 128 of file specieThermoI.H.
References specieThermo< thermo >::e().

| Foam::scalar Cv | ( | const scalar | T | ) | const [inline] |
Heat capacity at constant volume [J/(kg K)].
Definition at line 135 of file specieThermoI.H.
References Foam::cp().

| Foam::scalar H | ( | const scalar | T | ) | const [inline] |
Enthalpy [J/kg].
Definition at line 142 of file specieThermoI.H.
References specieThermo< thermo >::cv().

| Foam::scalar Hs | ( | const scalar | T | ) | const [inline] |
| Foam::scalar Hc | ( | ) | const [inline] |
| Foam::scalar S | ( | const scalar | T | ) | const [inline] |
| Foam::scalar E | ( | const scalar | T | ) | const [inline] |
| Foam::scalar G | ( | const scalar | T | ) | const [inline] |
Gibbs free energy [J/kg].
Definition at line 177 of file specieThermoI.H.
References specieThermo< thermo >::e().

| Foam::scalar A | ( | const scalar | T | ) | const [inline] |
Helmholtz free energy [J/kg].
Definition at line 184 of file specieThermoI.H.
References specieThermo< thermo >::g().

| Foam::scalar K | ( | const scalar | T | ) | const [inline] |
Equilibrium constant [] i.t.o fugacities.
= PIi(fi/Pstd)^nui
Definition at line 191 of file specieThermoI.H.
References specieThermo< thermo >::a().
Referenced by specieThermo< thermo >::Kc().


| Foam::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 207 of file specieThermoI.H.
Referenced by specieThermo< thermo >::Kn(), specieThermo< thermo >::Kx(), and specieThermo< thermo >::TH().

| Foam::scalar Kc | ( | const scalar | T | ) | const [inline] |
Equilibrium constant i.t.o. molar concentration.
= PIi(ci/cstd)^nui For low pressures (where the gas mixture is near perfect) Kc = Kp(pstd/(RR*T))^nu
Definition at line 214 of file specieThermoI.H.
References specieThermo< thermo >::K().

| Foam::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 229 of file specieThermoI.H.
References specieThermo< thermo >::Kp(), and Foam::pow().

| Foam::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 247 of file specieThermoI.H.
References specieThermo< thermo >::Kp(), and Foam::pow().

| Foam::scalar TH | ( | const scalar | H, | |
| const scalar | T0 | |||
| ) | const [inline] |
Temperature from Enthalpy given an initial temperature T0.
Definition at line 266 of file specieThermoI.H.
References specieThermo< thermo >::Kp(), and Foam::pow().

| Foam::scalar TE | ( | const scalar | E, | |
| const scalar | T0 | |||
| ) | const [inline] |
Temperature from internal energy given an initial temperature T0.
Definition at line 277 of file specieThermoI.H.
| void operator+= | ( | const specieThermo< thermo > & | ) | [inline] |
| void operator-= | ( | const specieThermo< thermo > & | ) | [inline] |
| void operator*= | ( | const scalar | s | ) | [inline] |
Definition at line 307 of file specieThermoI.H.
Referenced by Foam::operator+().

| 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] |