FluidSpecies Class Reference
A type to describe the attributes of a fluids (gaseous or liquid) species. More...
#include <FluidSpecies.hpp>
Inheritance diagram for FluidSpecies:
Collaboration diagram for FluidSpecies:
Public Member Functions | |
FluidSpecies () | |
Construct a default FluidSpecies instance. | |
FluidSpecies (const Species &species) | |
Construct an FluidSpecies instance from a Species instance. | |
auto | setCriticalTemperature (double val) -> void |
Set the critical temperature of the fluids (gaseous or liquid) species (in units of K) | |
auto | setCriticalPressure (double val) -> void |
Set the critical pressure of the fluids (gaseous or liquid) species (in units of Pa) | |
auto | setAcentricFactor (double val) -> void |
Set the acentric factor of the fluids (gaseous or liquid) species. | |
auto | setThermoData (const FluidSpeciesThermoData &thermo) -> void |
Set the thermodynamic data of the fluids (gaseous or liquid) species. | |
auto | criticalTemperature () const -> double |
Return the critical temperature of the fluids (gaseous or liquid) species (in units of K) | |
auto | criticalPressure () const -> double |
Return the critical pressure of the fluids (gaseous or liquid) species (in units of Pa) | |
auto | acentricFactor () const -> double |
Return the acentric factor of the fluids (gaseous or liquid) species. | |
auto | thermoData () const -> const FluidSpeciesThermoData & |
Return the thermodynamic data of the fluids (gaseous or liquid) species. | |
Public Member Functions inherited from Species | |
Species () | |
Construct a default Species instance. | |
auto | setName (std::string name) -> void |
Set the name of the species. | |
auto | setFormula (std::string formula) -> void |
Set the formula of the species. | |
auto | setElements (const std::map< Element, double > &elements) -> void |
Set the elements of the species. | |
auto | numElements () const -> unsigned |
Return the number of elements of the species. | |
auto | name () const -> std::string |
Return the name of the species. | |
auto | formula () const -> std::string |
Return the formula of the species. | |
auto | elements () const -> const std::map< Element, double > & |
Return the elements that compose the species and their coefficients. | |
auto | molarMass () const -> double |
Return the molar mass of the species (in units of kg/mol). | |
auto | charge () const -> double |
Return the electrical charge of the species. | |
auto | elementCoefficient (std::string element) const -> double |
Return the stoichiometry of an element in the species. | |
Detailed Description
A type to describe the attributes of a fluids (gaseous or liquid) species.
The documentation for this class was generated from the following files:
- Reaktoro/Thermodynamics/Species/FluidSpecies.hpp
- Reaktoro/Thermodynamics/Species/FluidSpecies.cpp