GRINS-0.6.0
|
Wrapper class for evaluating Wilke transport properties using Antioch. More...
#include <antioch_wilke_transport_evaluator.h>
Public Member Functions | |
AntiochWilkeTransportEvaluator (const AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity > &mixture) | |
virtual | ~AntiochWilkeTransportEvaluator () |
libMesh::Real | mu (const CachedValues &cache, unsigned int qp) |
libMesh::Real | k (const CachedValues &cache, unsigned int qp) |
void | mu_and_k (const CachedValues &cache, unsigned int qp, libMesh::Real &mu, libMesh::Real &k) |
void | D (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &D) |
libMesh::Real | mu (const libMesh::Real T, const std::vector< libMesh::Real > &Y) |
libMesh::Real | k (const libMesh::Real T, const std::vector< libMesh::Real > &Y) |
void | D (const libMesh::Real rho, const libMesh::Real cp, const libMesh::Real k, std::vector< libMesh::Real > &D) |
libMesh::Real | M (unsigned int species) const |
libMesh::Real | M_mix (const std::vector< libMesh::Real > &mass_fractions) const |
libMesh::Real | R (unsigned int species) const |
libMesh::Real | R_mix (const std::vector< libMesh::Real > &mass_fractions) const |
libMesh::Real | X (unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const |
void | X (libMesh::Real M, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &mole_fractions) const |
unsigned int | species_index (const std::string &species_name) const |
std::string | species_name (unsigned int species_index) const |
libMesh::Real | cp (const CachedValues &cache, unsigned int qp) |
libMesh::Real | cp (const libMesh::Real &T, const std::vector< libMesh::Real > &Y) |
template<> | |
libMesh::Real | cp (const CachedValues &cache, unsigned int qp) |
template<> | |
libMesh::Real | cp (const CachedValues &cache, unsigned int qp) |
template<> | |
libMesh::Real | cp (const libMesh::Real &T, const std::vector< libMesh::Real > &Y) |
template<> | |
libMesh::Real | cp (const libMesh::Real &T, const std::vector< libMesh::Real > &Y) |
libMesh::Real | cv (const CachedValues &cache, unsigned int qp) |
template<> | |
libMesh::Real | cv (const CachedValues &cache, unsigned int qp) |
template<> | |
libMesh::Real | cv (const CachedValues &cache, unsigned int qp) |
libMesh::Real | h_s (const CachedValues &cache, unsigned int qp, unsigned int species) |
void | h_s (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &h_s) |
libMesh::Real | h_s (const libMesh::Real &T, unsigned int species) |
template<> | |
libMesh::Real | h_s (const libMesh::Real &T, unsigned int species) |
template<> | |
libMesh::Real | h_s (const libMesh::Real &T, unsigned int species) |
template<> | |
libMesh::Real | h_s (const CachedValues &cache, unsigned int qp, unsigned int species) |
template<> | |
libMesh::Real | h_s (const CachedValues &cache, unsigned int qp, unsigned int species) |
template<> | |
void | h_s (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &h_s) |
template<> | |
void | h_s (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &h_s) |
void | omega_dot (const CachedValues &cache, unsigned int qp, std::vector< libMesh::Real > &omega_dot) |
void | omega_dot (const libMesh::Real &T, libMesh::Real rho, const std::vector< libMesh::Real > mass_fractions, std::vector< libMesh::Real > &omega_dot) |
Protected Member Functions | |
void | check_and_reset_temp_cache (const libMesh::Real &T) |
Helper method for managing _temp_cache. More... | |
void | build_thermo (const AntiochMixture &mixture) |
Protected Attributes | |
boost::scoped_ptr< Antioch::WilkeEvaluator< Viscosity, Conductivity > > | _wilke_evaluator |
const Diffusivity & | _diffusivity |
const AntiochMixture & | _chem |
boost::scoped_ptr< Thermo > | _thermo |
boost::scoped_ptr< AntiochKinetics > | _kinetics |
boost::scoped_ptr< Antioch::TempCache< libMesh::Real > > | _temp_cache |
Private Member Functions | |
AntiochWilkeTransportEvaluator () | |
Wrapper class for evaluating Wilke transport properties using Antioch.
This class is expected to be constructed after threads have been forked and will only live during the lifetime of the thread. By default, Antioch is working in SI units. Note that this documentation will always be built regardless if Antioch is included in the GRINS build or not. Check configure output to confirm that Antioch was included in the build.
Definition at line 54 of file antioch_wilke_transport_evaluator.h.
GRINS::AntiochWilkeTransportEvaluator< Thermo, Viscosity, Conductivity, Diffusivity >::AntiochWilkeTransportEvaluator | ( | const AntiochWilkeTransportMixture< Thermo, Viscosity, Conductivity, Diffusivity > & | mixture | ) |
Definition at line 39 of file antioch_wilke_transport_evaluator.C.
|
virtual |
Definition at line 48 of file antioch_wilke_transport_evaluator.C.
|
private |
|
inlineprotectedinherited |
Definition at line 126 of file antioch_evaluator.h.
References GRINS::AntiochEvaluator< Thermo >::specialized_build_thermo().
Referenced by GRINS::AntiochEvaluator< Thermo >::AntiochEvaluator().
|
protectedinherited |
Helper method for managing _temp_cache.
T MUST be pass-by-reference because of the structure of Antioch::TempCache!
Definition at line 85 of file antioch_evaluator.C.
|
inherited |
Referenced by GRINS::AntiochEvaluator< Thermo >::cp(), do_transport_eval(), and test_evaluator().
|
inherited |
|
inherited |
Definition at line 96 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 108 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 118 of file antioch_evaluator.C.
|
inherited |
Definition at line 127 of file antioch_evaluator.C.
References GRINS::AntiochEvaluator< Thermo >::cp().
|
inherited |
Referenced by test_evaluator().
|
inherited |
Definition at line 134 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 160 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
void GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::D | ( | const CachedValues & | cache, |
unsigned int | qp, | ||
std::vector< libMesh::Real > & | D | ||
) |
Definition at line 83 of file antioch_wilke_transport_evaluator.C.
References GRINS::CachedValues::get_cached_values(), and GRINS::Cache::MIXTURE_DENSITY.
Referenced by do_transport_eval(), and test_evaluator().
void GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::D | ( | const libMesh::Real | rho, |
const libMesh::Real | cp, | ||
const libMesh::Real | k, | ||
std::vector< libMesh::Real > & | D | ||
) |
Definition at line 112 of file antioch_wilke_transport_evaluator.C.
|
inherited |
Referenced by test_evaluator().
|
inherited |
|
inherited |
|
inherited |
Definition at line 146 of file antioch_evaluator.C.
|
inherited |
Definition at line 154 of file antioch_evaluator.C.
|
inherited |
Definition at line 170 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 180 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 190 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), and GRINS::Cache::TEMPERATURE.
|
inherited |
Definition at line 204 of file antioch_evaluator.C.
libMesh::Real GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::k | ( | const CachedValues & | cache, |
unsigned int | qp | ||
) |
Definition at line 63 of file antioch_wilke_transport_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
Referenced by do_transport_eval(), and test_evaluator().
libMesh::Real GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::k | ( | const libMesh::Real | T, |
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 105 of file antioch_wilke_transport_evaluator.C.
|
inlineinherited |
Definition at line 154 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 161 of file antioch_evaluator.h.
libMesh::Real GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::mu | ( | const CachedValues & | cache, |
unsigned int | qp | ||
) |
Definition at line 54 of file antioch_wilke_transport_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
Referenced by do_transport_eval(), and test_evaluator().
libMesh::Real GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::mu | ( | const libMesh::Real | T, |
const std::vector< libMesh::Real > & | Y | ||
) |
Definition at line 98 of file antioch_wilke_transport_evaluator.C.
void GRINS::AntiochWilkeTransportEvaluator< Th, V, C, D >::mu_and_k | ( | const CachedValues & | cache, |
unsigned int | qp, | ||
libMesh::Real & | mu, | ||
libMesh::Real & | k | ||
) |
Definition at line 72 of file antioch_wilke_transport_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, and GRINS::Cache::TEMPERATURE.
Referenced by test_evaluator().
|
inherited |
Definition at line 60 of file antioch_evaluator.C.
References GRINS::CachedValues::get_cached_values(), GRINS::CachedValues::get_cached_vector_values(), GRINS::Cache::MASS_FRACTIONS, GRINS::Cache::MIXTURE_DENSITY, and GRINS::Cache::TEMPERATURE.
Referenced by test_evaluator().
|
inherited |
Definition at line 73 of file antioch_evaluator.C.
|
inlineinherited |
Definition at line 168 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 175 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 198 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 205 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 182 of file antioch_evaluator.h.
|
inlineinherited |
Definition at line 189 of file antioch_evaluator.h.
|
protectedinherited |
Definition at line 108 of file antioch_evaluator.h.
|
protected |
Definition at line 86 of file antioch_wilke_transport_evaluator.h.
|
protectedinherited |
Definition at line 113 of file antioch_evaluator.h.
|
protectedinherited |
Definition at line 115 of file antioch_evaluator.h.
|
protectedinherited |
Definition at line 111 of file antioch_evaluator.h.
|
protected |
Definition at line 84 of file antioch_wilke_transport_evaluator.h.