Cantera  3.0.0
Loading...
Searching...
No Matches
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 * @deprecated To be removed after %Cantera 3.0.
24 */
26{
27public:
28 //! Default Constructor
30
31 //! @name Molar Thermodynamic Properties of the Species Standard State
32 //! @{
33
34 // See PDSS.h for documentation of functions overridden from Class PDSS
35
36 double intEnergy_mole() const override;
37 double cv_mole() const override;
38
39 //! @}
40 //! @name Mechanical Equation of State Properties
41 //! @{
42
43 double pressure() const override;
44 void setPressure(double pres) override;
45 void setTemperature(double temp) override;
46 void setState_TP(double temp, double pres) override;
47 void setState_TR(double temp, double rho) override;
48
49 //! @}
50 //! @name Initialization of the Object
51 //! @{
52
53 void initThermo() override;
54 void getParameters(AnyMap& eosNode) const override;
55 //! @}
56};
57}
58
59#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:427
Derived class for pressure dependent standard states of an ideal gas species.
void setPressure(double pres) override
Sets the pressure in the object.
void setTemperature(double temp) override
Set the internal temperature.
double pressure() const override
Returns the pressure (Pa)
void initThermo() override
Initialization routine.
double cv_mole() const override
Return the molar const volume heat capacity in units of J kmol-1 K-1.
void setState_TR(double temp, double rho) override
Set the internal temperature and density.
void getParameters(AnyMap &eosNode) const override
Store the parameters needed to reconstruct a copy of this PDSS object.
double intEnergy_mole() const override
Return the molar internal Energy in units of J kmol-1.
PDSS_IdealGas()
Default Constructor.
void setState_TP(double temp, double pres) override
Set the internal temperature and pressure.
Base class for PDSS classes which compute nondimensional properties directly.
Definition PDSS.h:487
Namespace for the Cantera kernel.
Definition AnyMap.cpp:564