Cantera  2.5.1
PDSS_IdealGas.h
Go to the documentation of this file.
1 /**
2  * @file PDSS_IdealGas.h
3  * Declarations for the class PDSS_IdealGas (pressure dependent standard state)
4  * which handles calculations for a single ideal gas species in a phase
5  * (see \ref pdssthermo and class \link Cantera::PDSS_IdealGas PDSS_IdealGas\endlink).
6  */
7 
8 // This file is part of Cantera. See License.txt in the top-level directory or
9 // at https://cantera.org/license.txt for license and copyright information.
10 
11 #ifndef CT_PDSS_IDEALGAS_H
12 #define CT_PDSS_IDEALGAS_H
13 
14 #include "PDSS.h"
15 
16 namespace Cantera
17 {
18 //! Derived class for pressure dependent standard states of an ideal gas species
19 /*!
20  * This class is for a single Ideal Gas species.
21  *
22  * @ingroup pdssthermo
23  */
25 {
26 public:
27  //! Default Constructor
28  PDSS_IdealGas();
29 
30  //! @name Molar Thermodynamic Properties of the Species Standard State in the Solution
31  //! @{
32 
33  // See PDSS.h for documentation of functions overridden from Class PDSS
34 
35  virtual doublereal intEnergy_mole() const;
36  virtual doublereal cv_mole() const;
37 
38  //! @}
39  //! @name Mechanical Equation of State Properties
40  //! @{
41 
42  virtual doublereal pressure() const;
43  virtual void setPressure(doublereal pres);
44  virtual void setTemperature(doublereal temp);
45  virtual void setState_TP(doublereal temp, doublereal pres);
46  virtual void setState_TR(doublereal temp, doublereal rho);
47 
48  //! @}
49  //! @name Initialization of the Object
50  //! @{
51 
52  virtual void initThermo();
53  //@}
54 };
55 }
56 
57 #endif
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Derived class for pressure dependent standard states of an ideal gas species.
Definition: PDSS_IdealGas.h:25
virtual doublereal pressure() const
Returns the pressure (Pa)
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
virtual void setTemperature(doublereal temp)
Set the internal temperature.
virtual void initThermo()
Initialization routine.
PDSS_IdealGas()
Default Constructor.
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
Base class for PDSS classes which compute nondimensional properties directly.
Definition: PDSS.h:502
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264