Cantera  2.1.2
PDSS_HKFT.h
Go to the documentation of this file.
1 /**
2  * @file PDSS_HKFT.h
3  * Declarations for the class PDSS_HKFT (pressure dependent standard state)
4  * which handles calculations for a single species in a phase using the
5  * HKFT standard state
6  * (see \ref pdssthermo and class \link Cantera::PDSS_HKFT PDSS_HKFT\endlink).
7  */
8 /*
9  * Copyright (2006) Sandia Corporation. Under the terms of
10  * Contract DE-AC04-94AL85000 with Sandia Corporation, the
11  * U.S. Government retains certain rights in this software.
12  */
13 
14 #ifndef CT_PDSS_HKFT_H
15 #define CT_PDSS_HKFT_H
16 
17 class WaterPropsIAPWS;
18 #include "PDSS.h"
19 
20 namespace Cantera
21 {
22 class XML_Node;
23 class VPStandardState;
24 class PDSS_Water;
25 class WaterProps;
26 
27 //! Class for pressure dependent standard states corresponding to
28 //! ionic solutes in electrolyte water.
29 /*!
30  * @ingroup pdssthermo
31  */
32 class PDSS_HKFT : public PDSS
33 {
34 public:
35  //! @name Constructors
36  //! @{
37 
38  //! Constructor that initializes the object by examining the XML entries
39  //! from the ThermoPhase object
40  /*!
41  * This function calls the constructPDSS member function.
42  *
43  * @param tp Pointer to the ThermoPhase object pertaining to the phase
44  * @param spindex Species index of the species in the phase
45  */
46  PDSS_HKFT(VPStandardStateTP* tp, size_t spindex);
47 
48  //! Copy Constructor
49  /*!
50  * @param b object to be copied
51  */
52  PDSS_HKFT(const PDSS_HKFT& b);
53 
54  //! Assignment operator
55  /*!
56  * @param b Object to be copied
57  */
58  PDSS_HKFT& operator=(const PDSS_HKFT& b);
59 
60  //! Constructor that initializes the object by examining the input file
61  //! of the ThermoPhase object
62  /*!
63  * This function calls the constructPDSSFile member function.
64  *
65  * @param vptp_ptr Pointer to the ThermoPhase object pertaining to the phase
66  * @param spindex Species index of the species in the phase
67  * @param inputFile String name of the input file
68  * @param id String name of the phase in the input file. The default
69  * is the empty string, in which case the first phase in the
70  * file is used.
71  */
72  PDSS_HKFT(VPStandardStateTP* vptp_ptr, size_t spindex,
73  const std::string& inputFile, const std::string& id = "");
74 
75  //! Constructor that initializes the object by examining the input file
76  //! of the ThermoPhase object
77  /*!
78  * This function calls the constructPDSSXML member function.
79  *
80  * @param vptp_ptr Pointer to the ThermoPhase object pertaining to the phase
81  * @param spindex Species index of the species in the phase
82  * @param speciesNode Reference to the species XML tree.
83  * @param phaseRef Reference to the XML tree containing the phase information.
84  * @param spInstalled Boolean indicating whether the species is installed yet
85  * or not.
86  */
87  PDSS_HKFT(VPStandardStateTP* vptp_ptr, size_t spindex, const XML_Node& speciesNode,
88  const XML_Node& phaseRef, bool spInstalled);
89 
90  //! Destructor for the phase
91  virtual ~PDSS_HKFT();
92 
93  virtual PDSS* duplMyselfAsPDSS() const;
94 
95  //! @}
96  //! @name Molar Thermodynamic Properties of the Solution
97  //! @{
98 
99  // See PDSS.h for documentation of functions overridden from Class PDSS
100 
101  virtual doublereal enthalpy_mole() const;
102 
103 #ifdef DEBUG_MODE
104  //! Return the molar enthalpy in units of J kmol-1
105  /*!
106  * Returns the species standard state enthalpy in J kmol-1 at the
107  * current temperature and pressure.
108  *
109  * Note this is just an extra routine to check the arithmetic
110  *
111  * @return returns the species standard state enthalpy in J kmol-1
112  * @deprecated
113  */
114  doublereal enthalpy_mole2() const;
115 #endif
116 
117  virtual doublereal enthalpy_RT() const;
118  virtual doublereal intEnergy_mole() const;
119  virtual doublereal entropy_mole() const;
120  virtual doublereal gibbs_mole() const;
121  virtual doublereal cp_mole() const;
122  virtual doublereal cv_mole() const;
123  virtual doublereal molarVolume() const;
124  virtual doublereal density() const;
125 
126  //! @}
127  //! @name Properties of the Reference State of the Species in the Solution
128  //! @{
129 
130  doublereal refPressure() const {
131  return m_p0;
132  }
133 
134  virtual doublereal gibbs_RT_ref() const;
135  virtual doublereal enthalpy_RT_ref() const;
136  virtual doublereal entropy_R_ref() const;
137  virtual doublereal cp_R_ref() const;
138  virtual doublereal molarVolume_ref() const;
139 
140  //! @}
141  //! @name Mechanical Equation of State Properties
142  //! @{
143 
144  virtual doublereal pressure() const;
145  virtual void setPressure(doublereal pres);
146  virtual void setTemperature(doublereal temp);
147  doublereal temperature() const;
148  virtual void setState_TP(doublereal temp, doublereal pres);
149 
150  //! @}
151  //! @name Miscellaneous properties of the standard state
152  //! @{
153 
154  virtual doublereal critTemperature() const;
155  virtual doublereal critPressure() const;
156  virtual doublereal critDensity() const;
157 
158  //! @}
159  //! @name Initialization of the Object
160  //! @{
161 
162  virtual void initThermo();
163 
164  //! Initialization of a PDSS object using an input XML file.
165  /*!
166  * This routine is a precursor to constructPDSSXML(XML_Node*)
167  * routine, which does most of the work.
168  *
169  * @param vptp_ptr Pointer to the Variable pressure %ThermoPhase object
170  * This object must have already been malloced.
171  * @param spindex Species index within the phase
172  * @param inputFile XML file containing the description of the
173  * phase
174  * @param id Optional parameter identifying the name of the
175  * phase. If none is given, the first XML
176  * phase element will be used.
177  */
178  void constructPDSSFile(VPStandardStateTP* vptp_ptr, size_t spindex,
179  const std::string& inputFile, const std::string& id);
180 
181  //! Initialization of a PDSS object using an xml tree
182  /*!
183  * This routine is a driver for the initialization of the object.
184  *
185  * basic logic:
186  * - initThermo() (cascade)
187  * - getStuff from species Part of XML file
188  * - initThermoXML(phaseNode) (cascade)
189  *
190  * @param vptp_ptr Pointer to the Variable pressure %ThermoPhase object
191  * This object must have already been malloced.
192  * @param spindex Species index within the phase
193  * @param speciesNode XML Node containing the species information
194  * @param phaseNode Reference to the phase Information for the phase
195  * that owns this species.
196  * @param spInstalled Boolean indicating whether the species is
197  * already installed.
198  */
199  void constructPDSSXML(VPStandardStateTP* vptp_ptr, size_t spindex,
200  const XML_Node& speciesNode,
201  const XML_Node& phaseNode, bool spInstalled);
202 
203  virtual void initThermoXML(const XML_Node& phaseNode, const std::string& id);
204  virtual void initAllPtrs(VPStandardStateTP* vptp_ptr, VPSSMgr* vpssmgr_ptr,
205  SpeciesThermo* spthermo_ptr);
206 
207  //! This utility function reports back the type of parameterization and
208  //! all of the parameters for the species, index.
209  /*!
210  * The following parameters are reported
211  *
212  * - c[0] = m_deltaG_formation_tr_pr;
213  * - c[1] = m_deltaH_formation_tr_pr;
214  * - c[2] = m_Mu0_tr_pr;
215  * - c[3] = m_Entrop_tr_pr;
216  * - c[4] = m_a1;
217  * - c[5] = m_a2;
218  * - c[6] = m_a3;
219  * - c[7] = m_a4;
220  * - c[8] = m_c1;
221  * - c[9] = m_c2;
222  * - c[10] = m_omega_pr_tr;
223  * .
224  *
225  * @param kindex Species index
226  * @param type Integer type of the standard type
227  * @param c Vector of coefficients used to set the
228  * parameters for the standard state.
229  * @param minTemp output - Minimum temperature
230  * @param maxTemp output - Maximum temperature
231  * @param refPressure output - reference pressure (Pa).
232  * @deprecated
233  */
234  virtual void reportParams(size_t& kindex, int& type, doublereal* const c,
235  doublereal& minTemp, doublereal& maxTemp,
236  doublereal& refPressure) const;
237 
238  //@}
239 
240 private:
241  //! Main routine that actually calculates the gibbs free energy difference
242  //! between the reference state at Tr, Pr and T,P
243  /*!
244  * This is eEqn. 59 in Johnson et al. (1992).
245  */
246  doublereal deltaG() const;
247 
248  //! Main routine that actually calculates the entropy difference
249  //! between the reference state at Tr, Pr and T,P
250  /*!
251  * This is Eqn. 61 in Johnson et al. (1992). Actually, there appears to
252  * be an error in the latter. This is a correction.
253  */
254  doublereal deltaS() const;
255 
256 #ifdef DEBUG_MODE
257  //! Routine that actually calculates the enthalpy difference
258  //! between the reference state at Tr, Pr and T,P
259  /*!
260  * This is an extra routine that was added to check the arithmetic
261  * @deprecated
262  */
263  doublereal deltaH() const;
264 #endif
265 
266  //! Internal formula for the calculation of a_g()
267  /*!
268  * The output of this is in units of Angstroms
269  *
270  * @param temp Temperature (K)
271  *
272  * @param ifunc parameters specifying the desired information
273  * - 0 function value
274  * - 1 derivative wrt temperature
275  * - 2 2nd derivative wrt temperature
276  * - 3 derivative wrt pressure
277  */
278  doublereal ag(const doublereal temp, const int ifunc = 0) const;
279 
280  //! Internal formula for the calculation of b_g()
281  /*!
282  * the output of this is unitless
283  *
284  * @param temp Temperature (K)
285  *
286  * @param ifunc parameters specifying the desired information
287  * - 0 function value
288  * - 1 derivative wrt temperature
289  * - 2 2nd derivative wrt temperature
290  * - 3 derivative wrt pressure
291  */
292  doublereal bg(const doublereal temp, const int ifunc = 0) const;
293 
294  //! function g appearing in the formulation
295  /*!
296  * Function g appearing in the Johnson et al formulation
297  *
298  * @param temp Temperature kelvin
299  * @param pres Pressure (pascal)
300  * @param ifunc parameters specifying the desired information
301  * - 0 function value
302  * - 1 derivative wrt temperature
303  * - 2 2nd derivative wrt temperature
304  * - 3 derivative wrt pressure
305  */
306  doublereal g(const doublereal temp, const doublereal pres, const int ifunc = 0) const;
307 
308  //! Difference function f appearing in the formulation
309  /*!
310  * Function f appearing in the Johnson et al formulation of omega_j
311  * Eqn. 33 ref
312  *
313  * @param temp Temperature kelvin
314  * @param pres Pressure (pascal)
315  * @param ifunc parameters specifying the desired information
316  * - 0 function value
317  * - 1 derivative wrt temperature
318  * - 2 2nd derivative wrt temperature
319  * - 3 derivative wrt pressure
320  */
321  doublereal f(const doublereal temp, const doublereal pres, const int ifunc = 0) const;
322 
323  //! Evaluate the Gstar value appearing in the HKFT formulation
324  /*!
325  * @param temp Temperature kelvin
326  * @param pres Pressure (pascal)
327  * @param ifunc parameters specifying the desired information
328  * - 0 function value
329  * - 1 derivative wrt temperature
330  * - 2 2nd derivative wrt temperature
331  * - 3 derivative wrt pressure
332  */
333  doublereal gstar(const doublereal temp, const doublereal pres,
334  const int ifunc = 0) const;
335 
336  //! Function to look up Element Free Energies
337  /*!
338  * This function looks up the argument string in the element database and
339  * returns the associated 298 K Gibbs Free energy of the element in its
340  * stable state.
341  *
342  * @param elemName String. Only the first 3 characters are significant
343  *
344  * @return value contains the Gibbs free energy for that element
345  *
346  * @exception CanteraError
347  * If a match is not found, a CanteraError is thrown as well
348  */
349  doublereal LookupGe(const std::string& elemName);
350 
351  //! Translate a Gibbs free energy of formation value to a NIST-based Chemical potential
352  /*!
353  * Internally, this function is used to translate the input value,
354  * m_deltaG_formation_tr_pr, to the internally stored value, m_Mu0_tr_pr.
355  */
356  void convertDGFormation();
357 
358 private:
359  //! Water standard state calculator
360  /*!
361  * derived from the equation of state for water.
362  * This object doesn't own the object. Just a shallow pointer.
363  */
365 
366  //! density of standard-state water
367  /*!
368  * internal temporary variable
369  */
370  mutable doublereal m_densWaterSS;
371 
372  //! Pointer to the water property calculator
374 
375  //! Born coefficient for the current ion or species
376  doublereal m_born_coeff_j;
377 
378  //! Electrostatic radii
379  doublereal m_r_e_j;
380 
381  //! Input value of deltaG of Formation at Tr and Pr (cal gmol-1)
382  /*!
383  * Tr = 298.15 Pr = 1 atm
384  *
385  * This is the delta G for the formation reaction of the
386  * ion from elements in their stable state at Tr, Pr.
387  */
389 
390  //! Input value of deltaH of Formation at Tr and Pr (cal gmol-1)
391  /*!
392  * Tr = 298.15 Pr = 1 atm
393  *
394  * This is the delta H for the formation reaction of the
395  * ion from elements in their stable state at Tr, Pr.
396  */
398 
399  //! Value of the Absolute Gibbs Free Energy NIST scale at T_r and P_r
400  /*!
401  * This is the NIST scale value of Gibbs free energy at T_r = 298.15
402  * and P_r = 1 atm.
403  *
404  * J kmol-1
405  */
406  doublereal m_Mu0_tr_pr;
407 
408  //! Input value of S_j at Tr and Pr (cal gmol-1 K-1)
409  /*!
410  * Tr = 298.15 Pr = 1 atm
411  */
412  doublereal m_Entrop_tr_pr;
413 
414  //! Input a1 coefficient (cal gmol-1 bar-1)
415  doublereal m_a1;
416 
417  //! Input a2 coefficient (cal gmol-1)
418  doublereal m_a2;
419 
420  //! Input a3 coefficient (cal K gmol-1 bar-1)
421  doublereal m_a3;
422 
423  //! Input a4 coefficient (cal K gmol-1)
424  doublereal m_a4;
425 
426  //! Input c1 coefficient (cal gmol-1 K-1)
427  doublereal m_c1;
428 
429  //! Input c2 coefficient (cal K gmol-1)
430  doublereal m_c2;
431 
432  //! Input omega_pr_tr coefficient(cal gmol-1)
433  doublereal m_omega_pr_tr;
434 
435  //! y = dZdT = 1/(esp*esp) desp/dT at 298.15 and 1 bar
436  doublereal m_Y_pr_tr;
437 
438  //! Z = -1 / relEpsilon at 298.15 and 1 bar
439  doublereal m_Z_pr_tr;
440 
441  //! Reference pressure is 1 atm in units of bar= 1.0132
442  doublereal m_presR_bar;
443 
444  //! small value that is not quite zero
445  doublereal m_domega_jdT_prtr;
446 
447  //! Charge of the ion
448  doublereal m_charge_j;
449 };
450 
451 }
452 
453 #endif
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
Definition: PDSS_HKFT.cpp:222
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
Definition: PDSS_HKFT.cpp:204
doublereal m_a4
Input a4 coefficient (cal K gmol-1)
Definition: PDSS_HKFT.h:424
virtual void setTemperature(doublereal temp)
Set the internal temperature.
Definition: PDSS_HKFT.cpp:482
doublereal m_densWaterSS
density of standard-state water
Definition: PDSS_HKFT.h:370
virtual doublereal density() const
Return the standard state density at standard state.
Definition: PDSS_HKFT.cpp:414
doublereal f(const doublereal temp, const doublereal pres, const int ifunc=0) const
Difference function f appearing in the formulation.
Definition: PDSS_HKFT.cpp:990
virtual doublereal critTemperature() const
critical temperature
Definition: PDSS_HKFT.cpp:499
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
Definition: PDSS_HKFT.cpp:492
doublereal bg(const doublereal temp, const int ifunc=0) const
Internal formula for the calculation of b_g()
Definition: PDSS_HKFT.cpp:975
doublereal m_deltaG_formation_tr_pr
Input value of deltaG of Formation at Tr and Pr (cal gmol-1)
Definition: PDSS_HKFT.h:388
doublereal gstar(const doublereal temp, const doublereal pres, const int ifunc=0) const
Evaluate the Gstar value appearing in the HKFT formulation.
Definition: PDSS_HKFT.cpp:1093
doublereal maxTemp() const
return the minimum temperature
Definition: PDSS.h:375
Virtual base class for the classes that manage the calculation of standard state properties for all t...
Definition: VPSSMgr.h:238
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
Definition: PDSS_HKFT.cpp:353
doublereal m_Mu0_tr_pr
Value of the Absolute Gibbs Free Energy NIST scale at T_r and P_r.
Definition: PDSS_HKFT.h:406
doublereal enthalpy_mole2() const
Return the molar enthalpy in units of J kmol-1.
Definition: PDSS_HKFT.cpp:230
doublereal deltaG() const
Main routine that actually calculates the gibbs free energy difference between the reference state at...
Definition: PDSS_HKFT.cpp:857
doublereal m_c2
Input c2 coefficient (cal K gmol-1)
Definition: PDSS_HKFT.h:430
virtual doublereal pressure() const
Returns the pressure (Pa)
Definition: PDSS_HKFT.cpp:471
Class XML_Node is a tree-based representation of the contents of an XML file.
Definition: xml.h:100
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
Definition: PDSS_HKFT.cpp:257
virtual ~PDSS_HKFT()
Destructor for the phase.
Definition: PDSS_HKFT.cpp:194
doublereal m_a3
Input a3 coefficient (cal K gmol-1 bar-1)
Definition: PDSS_HKFT.h:421
doublereal minTemp() const
return the minimum temperature
Definition: PDSS.h:370
doublereal deltaS() const
Main routine that actually calculates the entropy difference between the reference state at Tr...
Definition: PDSS_HKFT.cpp:903
PDSS_HKFT & operator=(const PDSS_HKFT &b)
Assignment operator.
Definition: PDSS_HKFT.cpp:152
doublereal m_omega_pr_tr
Input omega_pr_tr coefficient(cal gmol-1)
Definition: PDSS_HKFT.h:433
Pure Virtual base class for the species thermo manager classes.
doublereal m_Y_pr_tr
y = dZdT = 1/(esp*esp) desp/dT at 298.15 and 1 bar
Definition: PDSS_HKFT.h:436
virtual void initAllPtrs(VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, SpeciesThermo *spthermo_ptr)
Initialize or Reinitialize all shallow pointers in the object.
Definition: PDSS_HKFT.cpp:587
doublereal g(const doublereal temp, const doublereal pres, const int ifunc=0) const
function g appearing in the formulation
Definition: PDSS_HKFT.cpp:1033
virtual void initThermo()
Initialization routine for all of the shallow pointers.
Definition: PDSS_HKFT.cpp:517
doublereal m_a2
Input a2 coefficient (cal gmol-1)
Definition: PDSS_HKFT.h:418
doublereal m_charge_j
Charge of the ion.
Definition: PDSS_HKFT.h:448
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
Definition: PDSS_HKFT.cpp:245
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
void constructPDSSXML(VPStandardStateTP *vptp_ptr, size_t spindex, const XML_Node &speciesNode, const XML_Node &phaseNode, bool spInstalled)
Initialization of a PDSS object using an xml tree.
Definition: PDSS_HKFT.cpp:596
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
Definition: PDSS_HKFT.cpp:477
The WaterProps class is used to house several approximation routines for properties of water...
Definition: WaterProps.h:96
PDSS_HKFT(VPStandardStateTP *tp, size_t spindex)
Constructor that initializes the object by examining the XML entries from the ThermoPhase object...
Definition: PDSS_HKFT.cpp:27
Class for the liquid water pressure dependent standard state.
Definition: PDSS_Water.h:54
doublereal m_deltaH_formation_tr_pr
Input value of deltaH of Formation at Tr and Pr (cal gmol-1)
Definition: PDSS_HKFT.h:397
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
Definition: PDSS_HKFT.cpp:441
doublereal deltaH() const
Routine that actually calculates the enthalpy difference between the reference state at Tr...
Definition: PDSS_HKFT.cpp:795
doublereal m_Entrop_tr_pr
Input value of S_j at Tr and Pr (cal gmol-1 K-1)
Definition: PDSS_HKFT.h:412
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
Definition: PDSS_HKFT.cpp:461
WaterProps * m_waterProps
Pointer to the water property calculator.
Definition: PDSS_HKFT.h:373
void convertDGFormation()
Translate a Gibbs free energy of formation value to a NIST-based Chemical potential.
Definition: PDSS_HKFT.cpp:1133
virtual doublereal molarVolume() const
Return the molar volume at standard state.
Definition: PDSS_HKFT.cpp:359
doublereal m_presR_bar
Reference pressure is 1 atm in units of bar= 1.0132.
Definition: PDSS_HKFT.h:442
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual doublereal critPressure() const
critical pressure
Definition: PDSS_HKFT.cpp:505
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
Definition: PDSS_HKFT.cpp:431
doublereal m_domega_jdT_prtr
small value that is not quite zero
Definition: PDSS_HKFT.h:445
virtual doublereal gibbs_RT_ref() const
Return the molar gibbs free energy divided by RT at reference pressure.
Definition: PDSS_HKFT.cpp:421
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...
Definition: PDSS_HKFT.cpp:1164
PDSS_Water * m_waterSS
Water standard state calculator.
Definition: PDSS_HKFT.h:364
doublereal ag(const doublereal temp, const int ifunc=0) const
Internal formula for the calculation of a_g()
Definition: PDSS_HKFT.cpp:960
virtual void initThermoXML(const XML_Node &phaseNode, const std::string &id)
Initialization routine for the PDSS object based on the phaseNode.
Definition: PDSS_HKFT.cpp:582
doublereal LookupGe(const std::string &elemName)
Function to look up Element Free Energies.
Definition: PDSS_HKFT.cpp:1118
doublereal m_Z_pr_tr
Z = -1 / relEpsilon at 298.15 and 1 bar.
Definition: PDSS_HKFT.h:439
Virtual base class for a species with a pressure dependent standard state.
Definition: PDSS.h:195
Class for pressure dependent standard states corresponding to ionic solutes in electrolyte water...
Definition: PDSS_HKFT.h:32
doublereal m_c1
Input c1 coefficient (cal gmol-1 K-1)
Definition: PDSS_HKFT.h:427
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
Definition: PDSS_HKFT.cpp:199
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
Definition: PDSS_HKFT.cpp:251
doublereal m_r_e_j
Electrostatic radii.
Definition: PDSS_HKFT.h:379
doublereal m_born_coeff_j
Born coefficient for the current ion or species.
Definition: PDSS_HKFT.h:376
virtual doublereal critDensity() const
critical density
Definition: PDSS_HKFT.cpp:511
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
Definition: PDSS_HKFT.cpp:451
doublereal m_p0
Reference state pressure of the species.
Definition: PDSS.h:579
doublereal m_a1
Input a1 coefficient (cal gmol-1 bar-1)
Definition: PDSS_HKFT.h:415
void constructPDSSFile(VPStandardStateTP *vptp_ptr, size_t spindex, const std::string &inputFile, const std::string &id)
Initialization of a PDSS object using an input XML file.
Definition: PDSS_HKFT.cpp:756
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
Definition: PDSS_HKFT.cpp:238