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
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 */
24 class PDSS_IdealGas : public PDSS_Nondimensional
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 virtual void getParameters(AnyMap& eosNode) const;
54 //! @}
55};
56}
57
58#endif
PDSS.h
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Cantera::AnyMap
A map of string keys to values whose type can vary at runtime.
Definition: AnyMap.h:399
Cantera::PDSS_IdealGas
Derived class for pressure dependent standard states of an ideal gas species.
Definition: PDSS_IdealGas.h:25
Cantera::PDSS_IdealGas::getParameters
virtual void getParameters(AnyMap &eosNode) const
Store the parameters needed to reconstruct a copy of this PDSS object.
Definition: PDSS_IdealGas.cpp:31
Cantera::PDSS_IdealGas::pressure
virtual doublereal pressure() const
Returns the pressure (Pa)
Definition: PDSS_IdealGas.cpp:47
Cantera::PDSS_IdealGas::setPressure
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
Definition: PDSS_IdealGas.cpp:52
Cantera::PDSS_IdealGas::setState_TP
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
Definition: PDSS_IdealGas.cpp:72
Cantera::PDSS_IdealGas::cv_mole
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
Definition: PDSS_IdealGas.cpp:42
Cantera::PDSS_IdealGas::setTemperature
virtual void setTemperature(doublereal temp)
Set the internal temperature.
Definition: PDSS_IdealGas.cpp:59
Cantera::PDSS_IdealGas::initThermo
virtual void initThermo()
Initialization routine.
Definition: PDSS_IdealGas.cpp:23
Cantera::PDSS_IdealGas::PDSS_IdealGas
PDSS_IdealGas()
Default Constructor.
Definition: PDSS_IdealGas.cpp:19
Cantera::PDSS_IdealGas::setState_TR
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
Definition: PDSS_IdealGas.cpp:78
Cantera::PDSS_IdealGas::intEnergy_mole
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
Definition: PDSS_IdealGas.cpp:37
Cantera::PDSS_Nondimensional
Base class for PDSS classes which compute nondimensional properties directly.
Definition: PDSS.h:493
Cantera
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:557