19 m_pdssType(cPDSS_UNDEF),
44 m_pdssType(cPDSS_UNDEF),
75 m_pdssType(cPDSS_UNDEF),
84 m_spindex(b.m_spindex),
85 m_spthermo(b.m_spthermo),
86 m_h0_RT_ptr(b.m_h0_RT_ptr),
87 m_cp0_R_ptr(b.m_cp0_R_ptr),
88 m_s0_R_ptr(b.m_s0_R_ptr),
89 m_g0_RT_ptr(b.m_g0_RT_ptr),
91 m_hss_RT_ptr(b.m_hss_RT_ptr),
92 m_cpss_R_ptr(b.m_cpss_R_ptr),
93 m_sss_R_ptr(b.m_sss_R_ptr),
94 m_gss_RT_ptr(b.m_gss_RT_ptr),
95 m_Vss_ptr(b.m_Vss_ptr)
157 return new PDSS(*
this);
379 doublereal& minTemp_,
380 doublereal& maxTemp_,
381 doublereal& refPressure_)
const
virtual doublereal cpDelp_mole() const
Get the difference in standard state heat capacity between the current pressure and the reference pre...
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
vector_fp mPDSS_s0_R
species reference entropies - used by individual PDSS objects
doublereal molecularWeight(size_t k) const
Molecular weight of species k.
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
void initPtrs()
Initialize all of the internal shallow pointers that can be initialized.
CTML ("Cantera Markup Language") is the variant of XML that Cantera uses to store data...
virtual doublereal critPressure() const
critical pressure
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
SpeciesThermo * m_spthermo
Pointer to the species thermodynamic property manager.
vector_fp mPDSS_V0
species reference state molar Volumes - used by individual PDSS objects
An error indicating that an unimplemented function has been called.
doublereal * m_cpss_R_ptr
Standard state heat capacity divided by R.
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
virtual void initThermoXML(const XML_Node &phaseNode, const std::string &id)
Initialization routine for the PDSS object based on the phaseNode.
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
doublereal * m_h0_RT_ptr
Reference state enthalpy divided by RT.
const size_t npos
index returned by functions to indicate "no position"
virtual doublereal maxTemp(size_t k=npos) const
Maximum temperature.
virtual doublereal satPressure(doublereal T)
saturation pressure
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
doublereal m_pres
State of the system - pressure.
vector_fp mPDSS_cpss_R
species standard state heat capacities - used by individual PDSS objects
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
VPSSMgr * m_vpssmgr_ptr
Pointer to the VPSS manager for this object.
virtual void initAllPtrs(VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, SpeciesThermo *spthermo_ptr)
Initialize or Reinitialize all shallow pointers in the object.
virtual doublereal gibbs_RT_ref() const
Return the molar Gibbs free energy divided by RT at reference pressure.
size_t m_spindex
Species index in the ThermoPhase corresponding to this species.
virtual void initThermo()
virtual doublereal temperature() const
Return the current stored temperature.
void setMolecularWeight(doublereal mw)
Set the molecular weight of the species.
doublereal * m_gss_RT_ptr
Standard state Gibbs free energy divided by RT.
PDSS_enumType m_pdssType
Enumerated type describing the type of the PDSS object.
virtual doublereal enthalpyDelp_mole() const
Get the difference in the standard state enthalpy between the current pressure and the reference pres...
Pure Virtual base class for the species thermo manager classes.
doublereal * m_sss_R_ptr
Standard state entropy divided by R.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
vector_fp mPDSS_cp0_R
species reference heat capacities - used by individual PDSS objects
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
virtual void initThermo()
Initialization routine for all of the shallow pointers.
virtual doublereal critTemperature() const
critical temperature
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
virtual void setTemperature(doublereal temp)
Set the internal temperature.
PDSS_enumType
Types of PDSS's.
vector_fp mPDSS_g0_RT
species reference Gibbs free energies - used by individual PDSS objects
virtual doublereal refPressure(size_t k=npos) const
The reference-state pressure for the standard state.
virtual doublereal pressure() const
Returns the pressure (Pa)
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
#define AssertThrow(expr, procedure)
Assertion must be true or an error is thrown.
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
doublereal * m_s0_R_ptr
Reference state entropy divided by R.
virtual doublereal entropyDelp_mole() const
Get the difference in the standard state entropy between the current pressure and the reference press...
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
vector_fp mPDSS_sss_R
species standard state entropies - used by individual PDSS objects
vector_fp mPDSS_Vss
species standard state molar Volumes - used by individual PDSS objects
virtual doublereal density() const
Return the standard state density at standard state.
doublereal m_maxTemp
Maximum temperature.
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
doublereal m_minTemp
Minimum temperature.
virtual doublereal minTemp(size_t k=npos) const
Minimum temperature.
doublereal * m_hss_RT_ptr
Standard state enthalpy divided by RT.
vector_fp mPDSS_gss_RT
species standard state Gibbs free energies - used by individual PDSS objects
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal critDensity() const
critical density
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
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 spe...
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
Virtual base class for a species with a pressure dependent standard state.
vector_fp mPDSS_hss_RT
species standard state enthalpies - used by individual PDSS objects
doublereal molecularWeight() const
Return the molecular weight of the species in units of kg kmol-1.
VPStandardStateTP * m_tp
ThermoPhase which this species belongs to.
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
doublereal m_temp
Current temperature used by the PDSS object.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
PDSS & operator=(const PDSS &b)
Assignment operator.
doublereal * m_g0_RT_ptr
Reference state Gibbs free energy divided by RT.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
doublereal * m_cp0_R_ptr
Reference state heat capacity divided by R.
virtual SpeciesThermo & speciesThermo(int k=-1)
Return a changeable reference to the calculation manager for species reference-state thermodynamic pr...
virtual doublereal gibbsDelp_mole() const
Get the difference in the standard state Gibbs free energy between the current pressure and the refer...
doublereal * m_Vss_ptr
Standard State molar volume (m3 kg-1)
doublereal * m_V0_ptr
Reference state molar volume (m3 kg-1)
vector_fp mPDSS_h0_RT
species reference enthalpies - used by individual PDSS objects
VPSSMgr * provideVPSSMgr()
Return a pointer to the VPSSMgr for this phase.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
PDSS_enumType reportPDSSType() const
Returns the type of the standard state parameterization.
doublereal m_p0
Reference state pressure of the species.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
doublereal m_mw
Molecular Weight of the species.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.