Cantera  2.3.0
Public Member Functions | List of all members
PDSS_Nondimensional Class Reference

Base class for PDSS classes which compute nondimensional properties directly. More...

#include <PDSS.h>

Inheritance diagram for PDSS_Nondimensional:
[legend]
Collaboration diagram for PDSS_Nondimensional:
[legend]

Public Member Functions

virtual doublereal enthalpy_mole () const
 Return the molar enthalpy in units of J kmol-1. More...
 
virtual doublereal entropy_mole () const
 Return the molar entropy in units of J kmol-1 K-1. More...
 
virtual doublereal gibbs_mole () const
 Return the molar Gibbs free energy in units of J kmol-1. More...
 
virtual doublereal cp_mole () const
 Return the molar const pressure heat capacity in units of J kmol-1 K-1. More...
 
- Public Member Functions inherited from PDSS
 PDSS ()
 Empty Constructor. More...
 
 PDSS (VPStandardStateTP *tp, size_t spindex)
 Constructor that initializes the object by examining the XML entries from the ThermoPhase object. More...
 
 PDSS (const PDSS &b)
 
PDSSoperator= (const PDSS &b)
 
virtual ~PDSS ()
 
virtual PDSSduplMyselfAsPDSS () const
 Duplication routine for objects which inherit from PDSS. More...
 
PDSS_enumType reportPDSSType () const
 Returns the type of the standard state parameterization. More...
 
virtual doublereal enthalpy_RT () const
 Return the standard state molar enthalpy divided by RT. More...
 
virtual doublereal intEnergy_mole () const
 Return the molar internal Energy in units of J kmol-1. More...
 
virtual doublereal entropy_R () const
 Return the standard state entropy divided by RT. More...
 
virtual doublereal gibbs_RT () const
 Return the molar Gibbs free energy divided by RT. More...
 
virtual doublereal cp_R () const
 Return the molar const pressure heat capacity divided by RT. More...
 
virtual doublereal cv_mole () const
 Return the molar const volume heat capacity in units of J kmol-1 K-1. More...
 
virtual doublereal molarVolume () const
 Return the molar volume at standard state. More...
 
virtual doublereal density () const
 Return the standard state density at standard state. More...
 
virtual doublereal enthalpyDelp_mole () const
 Get the difference in the standard state enthalpy between the current pressure and the reference pressure, p0. More...
 
virtual doublereal entropyDelp_mole () const
 Get the difference in the standard state entropy between the current pressure and the reference pressure, p0. More...
 
virtual doublereal gibbsDelp_mole () const
 Get the difference in the standard state Gibbs free energy between the current pressure and the reference pressure, p0. More...
 
virtual doublereal cpDelp_mole () const
 Get the difference in standard state heat capacity between the current pressure and the reference pressure, p0. More...
 
doublereal refPressure () const
 Return the reference pressure for this phase. More...
 
doublereal minTemp () const
 return the minimum temperature More...
 
doublereal maxTemp () const
 return the minimum temperature More...
 
virtual doublereal gibbs_RT_ref () const
 Return the molar Gibbs free energy divided by RT at reference pressure. More...
 
virtual doublereal enthalpy_RT_ref () const
 Return the molar enthalpy divided by RT at reference pressure. More...
 
virtual doublereal entropy_R_ref () const
 Return the molar entropy divided by R at reference pressure. More...
 
virtual doublereal cp_R_ref () const
 Return the molar heat capacity divided by R at reference pressure. More...
 
virtual doublereal molarVolume_ref () const
 Return the molar volume at reference pressure. More...
 
virtual doublereal pressure () const
 Returns the pressure (Pa) More...
 
virtual void setPressure (doublereal pres)
 Sets the pressure in the object. More...
 
virtual doublereal thermalExpansionCoeff () const
 Return the volumetric thermal expansion coefficient. Units: 1/K. More...
 
virtual void setTemperature (doublereal temp)
 Set the internal temperature. More...
 
virtual doublereal temperature () const
 Return the current stored temperature. More...
 
virtual void setState_TP (doublereal temp, doublereal pres)
 Set the internal temperature and pressure. More...
 
virtual void setState_TR (doublereal temp, doublereal rho)
 Set the internal temperature and density. More...
 
virtual doublereal critTemperature () const
 critical temperature More...
 
virtual doublereal critPressure () const
 critical pressure More...
 
virtual doublereal critDensity () const
 critical density More...
 
virtual doublereal satPressure (doublereal T)
 saturation pressure More...
 
doublereal molecularWeight () const
 Return the molecular weight of the species in units of kg kmol-1. More...
 
void setMolecularWeight (doublereal mw)
 Set the molecular weight of the species. More...
 
virtual void initThermo ()
 Initialization routine for all of the shallow pointers. More...
 
virtual void initThermoXML (const XML_Node &phaseNode, const std::string &id)
 Initialization routine for the PDSS object based on the phaseNode. More...
 
virtual void reportParams (size_t &kindex, int &type, doublereal *const c, doublereal &minTemp, doublereal &maxTemp, doublereal &refPressure) const
 This utility function reports back the type of parameterization and all of the parameters for the species, index. More...
 
virtual void initAllPtrs (VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, MultiSpeciesThermo *spthermo_ptr)
 Initialize or Reinitialize all shallow pointers in the object. More...
 

Additional Inherited Members

- Protected Attributes inherited from PDSS
PDSS_enumType m_pdssType
 Enumerated type describing the type of the PDSS object. More...
 
doublereal m_temp
 Current temperature used by the PDSS object. More...
 
doublereal m_pres
 State of the system - pressure. More...
 
doublereal m_p0
 Reference state pressure of the species. More...
 
doublereal m_minTemp
 Minimum temperature. More...
 
doublereal m_maxTemp
 Maximum temperature. More...
 
VPStandardStateTPm_tp
 ThermoPhase which this species belongs to. More...
 
VPSSMgrm_vpssmgr_ptr
 Pointer to the VPSS manager for this object. More...
 
doublereal m_mw
 Molecular Weight of the species. More...
 
size_t m_spindex
 Species index in the ThermoPhase corresponding to this species. More...
 
MultiSpeciesThermom_spthermo
 Pointer to the species thermodynamic property manager. More...
 
doublereal * m_h0_RT_ptr
 Reference state enthalpy divided by RT. More...
 
doublereal * m_cp0_R_ptr
 Reference state heat capacity divided by R. More...
 
doublereal * m_s0_R_ptr
 Reference state entropy divided by R. More...
 
doublereal * m_g0_RT_ptr
 Reference state Gibbs free energy divided by RT. More...
 
doublereal * m_V0_ptr
 Reference state molar volume (m3 kg-1) More...
 
doublereal * m_hss_RT_ptr
 Standard state enthalpy divided by RT. More...
 
doublereal * m_cpss_R_ptr
 Standard state heat capacity divided by R. More...
 
doublereal * m_sss_R_ptr
 Standard state entropy divided by R. More...
 
doublereal * m_gss_RT_ptr
 Standard state Gibbs free energy divided by RT. More...
 
doublereal * m_Vss_ptr
 Standard State molar volume (m3 kg-1) More...
 

Detailed Description

Base class for PDSS classes which compute nondimensional properties directly.

Definition at line 662 of file PDSS.h.

Member Function Documentation

◆ enthalpy_mole()

doublereal enthalpy_mole ( ) const
virtual

Return the molar enthalpy in units of J kmol-1.

Returns
the species standard state enthalpy in J kmol-1 at the current temperature and pressure.

Reimplemented from PDSS.

Definition at line 417 of file PDSS.cpp.

References PDSS::enthalpy_RT(), Cantera::GasConstant, and PDSS::temperature().

◆ entropy_mole()

doublereal entropy_mole ( ) const
virtual

Return the molar entropy in units of J kmol-1 K-1.

Returns
The species standard state entropy in J kmol-1 K-1 at the current temperature and pressure.

Reimplemented from PDSS.

Definition at line 422 of file PDSS.cpp.

References PDSS::entropy_R(), and Cantera::GasConstant.

◆ gibbs_mole()

doublereal gibbs_mole ( ) const
virtual

Return the molar Gibbs free energy in units of J kmol-1.

Returns
The species standard state Gibbs free energy in J kmol-1 at the current temperature and pressure.

Reimplemented from PDSS.

Definition at line 427 of file PDSS.cpp.

References Cantera::GasConstant, PDSS::gibbs_RT(), and PDSS::temperature().

◆ cp_mole()

doublereal cp_mole ( ) const
virtual

Return the molar const pressure heat capacity in units of J kmol-1 K-1.

Returns
The species standard state Cp in J kmol-1 K-1 at the current temperature and pressure.

Reimplemented from PDSS.

Definition at line 432 of file PDSS.cpp.

References PDSS::cp_R(), and Cantera::GasConstant.

Referenced by PDSS_ConstVol::cv_mole(), PDSS_IdealGas::cv_mole(), and PDSS_SSVol::cv_mole().


The documentation for this class was generated from the following files: