Equation Class Reference
Calculates thermodynamic properties of fluid phases based on a cubic equation of state model. More...
#include <CubicEOS.hpp>
Public Member Functions | |
| Equation (EquationSpecs const &specs) | |
| Construct an Equation object representing a cubic equation of state. | |
| Equation (Equation const &other) | |
| Construct a copy of an Equation object. | |
| virtual | ~Equation () |
| Destroy this Equation object. | |
| auto | operator= (Equation other) -> Equation & |
| Assign an Equation object to this. | |
| auto | equationSpecs () const -> EquationSpecs const & |
| Return the underlying EquationSpecs object used to create this Equation object. | |
| auto | compute (Props &props, real const &T, real const &P, ArrayXrConstRef const &x) -> void |
| Compute the thermodynamic properties of the phase. More... | |
Detailed Description
Calculates thermodynamic properties of fluid phases based on a cubic equation of state model.
Member Function Documentation
◆ compute()
| auto compute | ( | Props & | props, |
| real const & | T, | ||
| real const & | P, | ||
| ArrayXrConstRef const & | x | ||
| ) | -> void |
Compute the thermodynamic properties of the phase.
- Parameters
-
[in] props The evaluated thermodynamic properties of the phase. T The temperature of the phase (in K) P The pressure of the phase (in Pa) x The mole fractions of the species in the phase (in mol/mol)
The documentation for this class was generated from the following file:
- Reaktoro/Models/ActivityModels/Support/CubicEOS.hpp