GRINS-0.8.0
|
Wrapper class for evaluating thermo properties using Cantera. More...
#include <cantera_thermo.h>
Public Member Functions | |
CanteraThermodynamics (CanteraMixture &mixture) | |
~CanteraThermodynamics () | |
libMesh::Real | cp (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | cv (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | h (const libMesh::Real &T, unsigned int species) |
Protected Attributes | |
CanteraMixture & | _cantera_mixture |
Cantera::IdealGasMix & | _cantera_gas |
Private Member Functions | |
CanteraThermodynamics () | |
Wrapper class for evaluating thermo properties using Cantera.
This class is expected to be constructed after threads have been forked and will only live during the lifetime of the thread. Note that this documentation will always be built regardless if Cantera is included in the GRINS build or not. Check configure output to confirm that Cantera was included in the build if you wish to use it.
Definition at line 61 of file cantera_thermo.h.
GRINS::CanteraThermodynamics::CanteraThermodynamics | ( | CanteraMixture & | mixture | ) |
Definition at line 43 of file cantera_thermo.C.
|
inline |
Definition at line 66 of file cantera_thermo.h.
|
private |
libMesh::Real GRINS::CanteraThermodynamics::cp | ( | const libMesh::Real & | T, |
const libMesh::Real | P, | ||
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 48 of file cantera_thermo.C.
References _cantera_gas.
Referenced by GRINS::CanteraEvaluator::cp().
libMesh::Real GRINS::CanteraThermodynamics::cv | ( | const libMesh::Real & | T, |
const libMesh::Real | P, | ||
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 78 of file cantera_thermo.C.
References _cantera_gas.
Referenced by GRINS::CanteraEvaluator::cv().
libMesh::Real GRINS::CanteraThermodynamics::h | ( | const libMesh::Real & | T, |
unsigned int | species | ||
) |
Definition at line 108 of file cantera_thermo.C.
References _cantera_gas, _cantera_mixture, and GRINS::CanteraMixture::R().
Referenced by GRINS::CanteraEvaluator::h_s().
|
protected |
Definition at line 78 of file cantera_thermo.h.
|
protected |
Definition at line 76 of file cantera_thermo.h.
Referenced by h().