GRINS-0.8.0
|
Wrapper class for evaluating transport properties using Cantera. More...
#include <cantera_transport.h>
Public Member Functions | |
CanteraTransport (CanteraMixture &mixture) | |
~CanteraTransport () | |
libMesh::Real | mu (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
libMesh::Real | k (const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y) |
void | mu_and_k_and_D (const libMesh::Real T, const libMesh::Real rho, const libMesh::Real cp, const std::vector< libMesh::Real > &Y, libMesh::Real &mu, libMesh::Real &k, std::vector< libMesh::Real > &D) |
Protected Attributes | |
Cantera::IdealGasMix & | _cantera_gas |
Cantera::Transport & | _cantera_transport |
Private Member Functions | |
CanteraTransport () | |
Wrapper class for evaluating transport 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 63 of file cantera_transport.h.
GRINS::CanteraTransport::CanteraTransport | ( | CanteraMixture & | mixture | ) |
Definition at line 49 of file cantera_transport.C.
|
inline |
Definition at line 69 of file cantera_transport.h.
|
private |
libMesh::Real GRINS::CanteraTransport::k | ( | const libMesh::Real & | T, |
const libMesh::Real | P, | ||
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 83 of file cantera_transport.C.
References _cantera_gas, and _cantera_transport.
Referenced by GRINS::CanteraEvaluator::k(), and GRINS::CanteraEvaluator::mu_and_k().
libMesh::Real GRINS::CanteraTransport::mu | ( | const libMesh::Real & | T, |
const libMesh::Real | P, | ||
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 54 of file cantera_transport.C.
References _cantera_gas, and _cantera_transport.
Referenced by GRINS::CanteraEvaluator::mu(), and GRINS::CanteraEvaluator::mu_and_k().
void GRINS::CanteraTransport::mu_and_k_and_D | ( | const libMesh::Real | T, |
const libMesh::Real | rho, | ||
const libMesh::Real | cp, | ||
const std::vector< libMesh::Real > & | Y, | ||
libMesh::Real & | mu, | ||
libMesh::Real & | k, | ||
std::vector< libMesh::Real > & | D | ||
) |
Definition at line 112 of file cantera_transport.C.
References _cantera_gas, and _cantera_transport.
Referenced by main(), and GRINS::CanteraEvaluator::mu_and_k_and_D().
|
protected |
Definition at line 84 of file cantera_transport.h.
Referenced by k(), mu(), and mu_and_k_and_D().
|
protected |
Definition at line 86 of file cantera_transport.h.
Referenced by k(), mu(), and mu_and_k_and_D().