Cantera
2.1.2
|
Calculation of Collision integrals. More...
#include <MMCollisionInt.h>
Public Member Functions | |
void | init (XML_Writer *xml, doublereal tsmin, doublereal tsmax, int loglevel=0) |
Initialize the object for calculation. More... | |
doublereal | omega22 (double ts, double deltastar) |
doublereal | astar (double ts, double deltastar) |
doublereal | bstar (double ts, double deltastar) |
doublereal | cstar (double ts, double deltastar) |
void | fit (std::ostream &logfile, int degree, doublereal deltastar, doublereal *astar, doublereal *bstar, doublereal *cstar) |
void | fit_omega22 (std::ostream &logfile, int degree, doublereal deltastar, doublereal *om22) |
doublereal | omega11 (double ts, double deltastar) |
Private Member Functions | |
doublereal | fitDelta (int table, int ntstar, int degree, doublereal *c) |
Private Attributes | |
std::vector< vector_fp > | m_o22poly |
std::vector< vector_fp > | m_apoly |
std::vector< vector_fp > | m_bpoly |
std::vector< vector_fp > | m_cpoly |
vector_fp | m_logTemp |
Log temp. More... | |
int | m_nmin |
int | m_nmax |
XML_Writer * | m_xml |
XML_Writer pointer. More... | |
int | m_loglevel |
loglevel More... | |
Static Private Attributes | |
static doublereal | delta [8] |
static doublereal | tstar22 [37] |
static doublereal | omega22_table [37 *8] |
Table of omega22 values from MM. More... | |
static doublereal | tstar [39] |
tstar More... | |
static doublereal | astar_table [39 *8] |
astar table from MM More... | |
static doublereal | bstar_table [39 *8] |
bstar table from MM More... | |
static doublereal | cstar_table [39 *8] |
cstar table from MM More... | |
Calculation of Collision integrals.
This class provides functions that interpolate the tabulated collision integrals in Monchick and Mason, "Transport Properties of Polar Gases," J. Chem. Phys. (1961)
Definition at line 25 of file MMCollisionInt.h.
void init | ( | XML_Writer * | xml, |
doublereal | tsmin, | ||
doublereal | tsmax, | ||
int | loglevel = 0 |
||
) |
Initialize the object for calculation.
xml | Pointer to the log file that will receive the debug output messages |
tsmin | Minimum value of Tstar to carry out the fitting |
tsmax | Maximum value of Tstar to carry out the fitting |
loglevel | Set the loglevel for the object. The default loglevel is zero, indicating no output. |
Definition at line 227 of file MMCollisionInt.cpp.
References DATA_PTR.
Referenced by TransportFactory::setupMM().
|
staticprivate |
Definition at line 63 of file MMCollisionInt.h.
|
staticprivate |
Definition at line 65 of file MMCollisionInt.h.
|
staticprivate |
Table of omega22 values from MM.
Definition at line 68 of file MMCollisionInt.h.
|
staticprivate |
tstar
table of tstar values
Definition at line 74 of file MMCollisionInt.h.
|
staticprivate |
astar table from MM
Definition at line 77 of file MMCollisionInt.h.
|
staticprivate |
bstar table from MM
Definition at line 80 of file MMCollisionInt.h.
|
staticprivate |
cstar table from MM
Definition at line 83 of file MMCollisionInt.h.
|
private |
Log temp.
Definition at line 86 of file MMCollisionInt.h.
|
private |
XML_Writer pointer.
Definition at line 93 of file MMCollisionInt.h.
|
private |
loglevel
Definition at line 96 of file MMCollisionInt.h.