Cantera 2.6.0
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
16namespace 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{
26public:
27 //! Default Constructor
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 virtual void getParameters(AnyMap& eosNode) const;
54 //! @}
55};
56}
57
58#endif
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
A map of string keys to values whose type can vary at runtime.
Definition: AnyMap.h:399
Derived class for pressure dependent standard states of an ideal gas species.
Definition: PDSS_IdealGas.h:25
virtual void getParameters(AnyMap &eosNode) const
Store the parameters needed to reconstruct a copy of this PDSS object.
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:493
Namespace for the Cantera kernel.
Definition: AnyMap.h:29