Reaktoro  v2.13.0
A unified framework for modeling chemically reactive systems
ChemicalPropsPhaseBaseData< TypeOp > Struct Template Reference

The base type for primary chemical property data of a phase from which others are computed. More...

#include <ChemicalPropsPhase.hpp>

Public Member Functions

template<template< typename > typename OtherTypeOp>
auto operator= (const ChemicalPropsPhaseBaseData< OtherTypeOp > &other)
 Assign a ChemicalPropsPhaseBaseData object to this.
 
template<template< typename > typename OtherTypeOp>
 operator ChemicalPropsPhaseBaseData< OtherTypeOp > ()
 Convert this ChemicalPropsPhaseBaseData object into another.
 
template<template< typename > typename OtherTypeOp>
 operator ChemicalPropsPhaseBaseData< OtherTypeOp > () const
 Convert this ChemicalPropsPhaseBaseData object into another.
 
auto operator= (const ArrayStream< real > &array)
 Assign the given array data to this ChemicalPropsPhaseBaseData object.
 
 operator ArrayStream< real > () const
 Convert this ChemicalPropsPhaseBaseData object into an array.
 

Public Attributes

TypeOp< real > T
 The temperature of the phase (in K).
 
TypeOp< real > P
 The pressure of the phase (in Pa).
 
TypeOp< ArrayXr > n
 The amounts of each species in the phase (in mol).
 
TypeOp< real > nsum
 The amount of the phase as the sum of species amounts (in mol).
 
TypeOp< real > msum
 The mass of the phase as the sum of species masses (in kg).
 
TypeOp< ArrayXr > x
 The mole fractions of the species in the phase (in mol/mol).
 
TypeOp< ArrayXr > G0
 The standard molar Gibbs energies of formation of the species in the phase (in J/mol)
 
TypeOp< ArrayXr > H0
 The standard molar enthalpies of formation of the species in the phase (in J/mol)
 
TypeOp< ArrayXr > V0
 The standard molar volumes of the species in the phase (in m³/mol)
 
TypeOp< ArrayXr > VT0
 The temperature derivative of the standard molar volumes of the species in the phase (in m³/(mol·K)).
 
TypeOp< ArrayXr > VP0
 The pressure derivative of the standard molar volumes of the species in the phase (in m³/(mol·Pa)).
 
TypeOp< ArrayXr > Cp0
 The standard molar isobaric heat capacities of the species in the phase (in J/(mol·K))
 
TypeOp< real > Vx
 The corrective molar volume of the phase (in m³/mol).
 
TypeOp< real > VxT
 The derivative of the corrective molar volume with respect to temperature at constant pressure and species mole fractions (in m³/(mol⋅K)).
 
TypeOp< real > VxP
 The derivative of the corrective molar volume with respect to pressure at constant temperature and species mole fractions (in m³/(mol⋅Pa)).
 
TypeOp< ArrayXr > Vxi
 The derivatives of the corrective molar volume with respect to species mole fractions at constant temperature and pressure (in m³/mol).
 
TypeOp< real > Gx
 The corrective molar Gibbs energy of the phase (in units of J/mol).
 
TypeOp< real > Hx
 The corrective molar enthalpy of the phase (in units of J/mol).
 
TypeOp< real > Cpx
 The corrective molar isobaric heat capacity of the phase (in units of J/(mol·K)).
 
TypeOp< ArrayXr > ln_g
 The activity coefficients (natural log) of the species in the phase.
 
TypeOp< ArrayXr > ln_a
 The activities (natural log) of the species in the phase.
 
TypeOp< ArrayXr > u
 The chemical potentials of the species in the phase.
 
TypeOp< StateOfMatter > som
 The state of matter of the phase.
 

Detailed Description

template<template< typename > typename TypeOp>
struct Reaktoro::ChemicalPropsPhaseBaseData< TypeOp >

The base type for primary chemical property data of a phase from which others are computed.


The documentation for this struct was generated from the following file: