Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assuming thermodynamic equilibrium.  
|  | 
|  | CompositionalFluidState ()=default | 
|  | default constructor 
 | 
|  | 
| template<class FluidState, typename std::enable_if_t<!std::is_same< FluidState, CompositionalFluidState >::value, int > = 0> | 
|  | CompositionalFluidState (const FluidState &fs) | 
|  | copy constructor from arbitrary fluid state 
 | 
|  | 
|  | CompositionalFluidState (const CompositionalFluidState &fs)=default | 
|  | 
|  | CompositionalFluidState (CompositionalFluidState &&fs)=default | 
|  | 
| CompositionalFluidState & | operator= (const CompositionalFluidState &fs)=default | 
|  | 
| CompositionalFluidState & | operator= (CompositionalFluidState &&fs)=default | 
|  | 
| int | wettingPhase () const | 
|  | Returns the index of the most wetting phase in the fluid-solid configuration (for porous medium systems). 
 | 
|  | 
| Scalar | saturation (int phaseIdx) const | 
|  | Returns the saturation \(S_\alpha\) of a fluid phase \(\alpha\) in \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | moleFraction (int phaseIdx, int compIdx) const | 
|  | Returns the molar fraction \(x^\kappa_\alpha\) of the component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | massFraction (int phaseIdx, int compIdx) const | 
|  | Returns the mass fraction \(X^\kappa_\alpha\) of component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | phaseMassFraction (int phaseIdx) const | 
|  | Returns the phase mass fraction, i.e. phase mass per total mass \(\mathrm{[kg/kg]}\). 
 | 
|  | 
| Scalar | averageMolarMass (int phaseIdx) const | 
|  | The average molar mass \(\overline M_\alpha\) of phase \(\alpha\) in \(\mathrm{[kg/mol]}\). 
 | 
|  | 
| Scalar | molarity (int phaseIdx, int compIdx) const | 
|  | The molar concentration \(c^\kappa_\alpha\) of component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). 
 | 
|  | 
| Scalar | fugacity (int phaseIdx, int compIdx) const | 
|  | The fugacity \(f^\kappa_\alpha\) of component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[Pa]}\). 
 | 
|  | 
| Scalar | fugacityCoefficient (int phaseIdx, int compIdx) const | 
|  | The fugacity coefficient \(\Phi^\kappa_\alpha\) of component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[-]}\). 
 | 
|  | 
| Scalar | molarVolume (int phaseIdx) const | 
|  | The molar volume \(v_{mol,\alpha}\) of a fluid phase \(\alpha\) in \(\mathrm{[m^3/mol]}\). 
 | 
|  | 
| Scalar | density (int phaseIdx) const | 
|  | The mass density \(\rho_\alpha\) of the fluid phase \(\alpha\) in \(\mathrm{[kg/m^3]}\). 
 | 
|  | 
| Scalar | molarDensity (int phaseIdx) const | 
|  | The molar density \(\rho_\alpha\) of the fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). 
 | 
|  | 
| Scalar | temperature (int phaseIdx) const | 
|  | The absolute temperature \(T_\alpha\) of a fluid phase \(\alpha\) in \(\mathrm{[K]}\). 
 | 
|  | 
| Scalar | pressure (int phaseIdx) const | 
|  | The pressure \(p_\alpha\) of a fluid phase \(\alpha\) in \(\mathrm{[Pa]}\). 
 | 
|  | 
| Scalar | partialPressure (int phaseIdx, int compIdx) const | 
|  | The partial pressure of a component in a phase \(\mathrm{[Pa]}\). 
 | 
|  | 
| Scalar | enthalpy (int phaseIdx) const | 
|  | The specific enthalpy \(h_\alpha\) of a fluid phase \(\alpha\) in \(\mathrm{[J/kg]}\). 
 | 
|  | 
| Scalar | internalEnergy (int phaseIdx) const | 
|  | The specific internal energy \(u_\alpha\) of a fluid phase \(\alpha\) in \(\mathrm{[J/kg]}\). 
 | 
|  | 
| Scalar | viscosity (int phaseIdx) const | 
|  | The dynamic viscosity \(\mu_\alpha\) of fluid phase \(\alpha\) in \(\mathrm{[Pa s]}\). 
 | 
|  | 
| Scalar | temperature () const | 
|  | The temperature within the domain \(\mathrm{[K]}\). 
 | 
|  | 
| Scalar | fugacity (int compIdx) const | 
|  | The fugacity of a component \(\mathrm{[Pa]}\). 
 | 
|  | 
| template<class FluidState> | 
| void | assign (const FluidState &fs) | 
|  | Retrieve all parameters from an arbitrary fluid state. 
 | 
|  | 
| void | setTemperature (Scalar value) | 
|  | Set the temperature \(\mathrm{[K]}\) of all phases. 
 | 
|  | 
| void | setTemperature (const int phaseIdx, const Scalar value) | 
|  | Set the temperature \(\mathrm{[K]}\) of a specific phase. This is not implemented in this fluidstate. 
 | 
|  | 
| void | setPressure (int phaseIdx, Scalar value) | 
|  | Set the fluid pressure of a phase \(\mathrm{[Pa]}\). 
 | 
|  | 
| void | setSaturation (int phaseIdx, Scalar value) | 
|  | Set the saturation of a phase \(\mathrm{[-]}\). 
 | 
|  | 
| void | setMoleFraction (int phaseIdx, int compIdx, Scalar value) | 
|  | Set the mole fraction of a component in a phase \(\mathrm{[-]}\) and update the average molar mass \(\mathrm{[kg/mol]}\) according to the current composition of the phase. 
 | 
|  | 
| void | setMassFraction (int phaseIdx, int compIdx, Scalar value) | 
|  | Set the mass fraction of a component in a phase \(\mathrm{[-]}\) and update the average molar mass \(\mathrm{[kg/mol]}\) according to the current composition of the phase. 
 | 
|  | 
| void | setFugacityCoefficient (int phaseIdx, int compIdx, Scalar value) | 
|  | Set the fugacity coefficient \(\Phi^\kappa_\alpha\) of component \(\kappa\) in fluid phase \(\alpha\) in \(\mathrm{[-]}\). 
 | 
|  | 
| void | setDensity (int phaseIdx, Scalar value) | 
|  | Set the density of a phase \(\mathrm{[kg / m^3]}\). 
 | 
|  | 
| void | setMolarDensity (int phaseIdx, Scalar value) | 
|  | Set the molar density of a phase \(\mathrm{[mol / m^3]}\). 
 | 
|  | 
| void | setEnthalpy (int phaseIdx, Scalar value) | 
|  | Set the specific enthalpy of a phase \(\mathrm{[J/kg]}\). 
 | 
|  | 
| void | setViscosity (int phaseIdx, Scalar value) | 
|  | Set the dynamic viscosity of a phase \(\mathrm{[Pa s]}\). 
 | 
|  | 
| void | setWettingPhase (int phaseIdx) | 
|  | Set the index of the most wetting phase. 
 | 
|  |