Catera with additional transport models
of standard states and the specification of activities independent of each other. PDSS Behavior ------------------------- PDSS is an object that carries out and reports on the evaluation of the pressure dependent standard state of a single species in a mixture. VPSSMgr Point of View -------------------------------------- This is the calculator for the standard states. From The Point of View of the ThermoPhase Function --------------------------------------------------------- At the VPStandardStateTP object, the ThermoPhase object is enriched to include a new object called VPSSMgr. VPSSMgr is a base class that is responsible for calculating the standard states of all of the species in the mixture. It is analogous to the SpeciesThermo virtual base class, which handles all of the reference state calculations for a class. The VPSSMgr class usurps all calculations. There are PDSS objects for each species. VPStandardStateTP contains a vector of pointers to PDSS, of length nSpecies in the phase. It owns the list. VPSSMgr also contains the same vector of pointers to PDSS, of length nSpecies in the phase. VPSSMgr is a methods class. It organizes how to calculate the SS values efficiently. It may also have specific rules for how to handle the pressure dependence (i.e., there will be a specific class for ideal gases). The VPSSMgr organizes when to update the internal states of the PDSS objects. The determination of which VPSSMgr virtual class to use with which phase is determined by the phase itself. It know which method to use. setState Treatment with Temperature and Pressure ------------------------------------------------------ The VPStandardStateTP object always has the current value of T and P held within it. It determines when T and P have changed. If it determines that T or P has changed, it calls VPSSMgr so that VPSSMgr may update its internal states. VPSSMgr contains the current T and P, also, separately. If it determines that T or P has changed, it recalculates its own internal state. PDSS Object point of View ----------------------------------------- During the evaluation of the phase thermodynamics, the PDSS object may be called to evaluate the (T,P) Standard State and RefState information. The PDSS object may or may not own the reference state calculation. If it doesn't own the calculation, the ThermoPhase object owns the calculation through its m_spthermo object. Then the PDSS objects uses pointers into the m_spthermo object to satisfy its requirement to supply (T,P) ss information. It may own or surplant the reference state calculation. For example, for waterPDSS, there is no specific reference state calculation, since the regular temperature polynomial process is ignored (except to set the basis state). The reference state functions are evaluated the same as other standard state functions. If PDSS owns the calculation of the reference state thermo, then the m_spthermo pointer within the PDSS object is zero. It does it's own reference state calculation. If PDSS uses the SpeciesThermo object to calculate the reference state, it needs to know whether the SpeciesThermo object calculations are current. It checks this. If it is, then it retrieves the result from storage in VPSSMgr object. If it isn't, then it recalculates the results. PDSS has its own storage for the current state of T and P. |
||
|---|---|---|
| apps | ||
| bin | ||
| Cantera | ||
| cmake | ||
| config | ||
| data | ||
| examples | ||
| ext | ||
| include | ||
| test_problems | ||
| tools | ||
| .cvsignore | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| config.cmake | ||
| config.h.in | ||
| config.h_cmake.in | ||
| config_cantera.cmake | ||
| configure | ||
| configure.in | ||
| License.rtf | ||
| License.txt | ||
| Makefile.in | ||
| preconfig | ||
| README.txt | ||
| winconfig.h | ||
C A N T E R A
release 1.7
11/2006
Copyright (c) 2001-2006 California Institute of Technology
***************************************************************
***
*** For information on installing and using Cantera, see
*** http://www.cantera.org/Documentation
***
***************************************************************
License information
===================
See the file "License.txt" for information on the terms & conditions
for usage, and a DISCLAIMER OF ALL WARRANTIES.
All trademarks referenced herein are property of their respective
holders.
Web sites
==========
The main Cantera web site is http://www.cantera.org. This serves as a
gateway to three other web sites:
1. The Cantera User's Group. http://groups.yahoo.com/groups/cantera.
This site has a message board, and some miscellaneous files and utilities.
2. The Cantera Sourceforge site. Distribution of the Cantera source code is
done using Sourceforge. The site is http://sourceforge.net/projects/cantera.
3. The Cantera wiki. http://www.cantera.org/wiki.