GRINS-0.6.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 CachedValues &cache, unsigned int qp) const |
libMesh::Real | k (const CachedValues &cache, unsigned int qp) const |
void | D (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &D) const |
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.
GRINS::CanteraTransport::~CanteraTransport | ( | ) |
Definition at line 56 of file cantera_transport.C.
|
private |
void GRINS::CanteraTransport::D | ( | const CachedValues & | cache, |
unsigned int | qp, | ||
std::vector< libMesh::Real > & | D | ||
) | const |
Definition at line 123 of file cantera_transport.C.
References _cantera_gas, _cantera_transport, GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, GRINS::Cache::TEMPERATURE, and GRINS::Cache::THERMO_PRESSURE.
Referenced by GRINS::CanteraEvaluator::D(), and main().
libMesh::Real GRINS::CanteraTransport::k | ( | const CachedValues & | cache, |
unsigned int | qp | ||
) | const |
Definition at line 92 of file cantera_transport.C.
References _cantera_gas, _cantera_transport, GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, GRINS::Cache::TEMPERATURE, and GRINS::Cache::THERMO_PRESSURE.
Referenced by GRINS::CanteraEvaluator::k(), main(), and GRINS::CanteraEvaluator::mu_and_k().
libMesh::Real GRINS::CanteraTransport::mu | ( | const CachedValues & | cache, |
unsigned int | qp | ||
) | const |
Definition at line 61 of file cantera_transport.C.
References _cantera_gas, _cantera_transport, GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, GRINS::Cache::TEMPERATURE, and GRINS::Cache::THERMO_PRESSURE.
Referenced by main(), GRINS::CanteraEvaluator::mu(), and GRINS::CanteraEvaluator::mu_and_k().
|
protected |
Definition at line 79 of file cantera_transport.h.
|
protected |
Definition at line 81 of file cantera_transport.h.