GRINS-0.8.0
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity > Class Template Reference

Wrapper class for storing state for computing Wilke transport properties using Antioch. More...

#include <antioch_mixture_averaged_transport_mixture.h>

Inheritance diagram for GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >:
Collaboration graph
[legend]

Public Types

typedef AntiochChemistry ChemistryParent
 

Public Member Functions

 AntiochMixtureAveragedTransportMixture (const GetPot &input, const std::string &material)
 Deprecated Constructor. More...
 
 AntiochMixtureAveragedTransportMixture (libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > &chem_mixture, libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > &reaction_set, libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > &kinetics_thermo_mix, libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > &trans_mix, libMesh::UniquePtr< Antioch::MixtureAveragedTransportMixture< libMesh::Real > > &wilke_mix, libMesh::UniquePtr< Antioch::MixtureViscosity< Viscosity, libMesh::Real > > &visc, libMesh::UniquePtr< Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > > &diff, libMesh::Real min_T=-std::numeric_limits< libMesh::Real >::max(), bool clip_negative_rho=false)
 Constructor with user-built objects. More...
 
virtual ~AntiochMixtureAveragedTransportMixture ()
 
const Antioch::MixtureAveragedTransportMixture< libMesh::Real > & wilke_mixture () const
 
const Antioch::MixtureViscosity< Viscosity, libMesh::Real > & viscosity () const
 
const Antioch::MixtureConductivity< Conductivity, libMesh::Real > & conductivity () const
 
const Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > & diffusivity () const
 
- Public Member Functions inherited from GRINS::AntiochMixture< KineticsThermoCurveFit >
 AntiochMixture (const GetPot &input, const std::string &material)
 Deprecated Constructor. More...
 
 AntiochMixture (libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > &chem_mixture, libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > &reaction_set, libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > &nasa_mixture, libMesh::Real min_T=-std::numeric_limits< libMesh::Real >::max(), bool clip_negative_rho=false)
 Constructor with user-built objects. More...
 
virtual ~AntiochMixture ()
 
virtual void register_parameter (const std::string &param_name, libMesh::ParameterMultiAccessor< libMesh::Number > &param_pointer) const
 Each subclass will register its copy of an independent. More...
 
const Antioch::ReactionSet< libMesh::Real > & reaction_set () const
 
const Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > & nasa_mixture () const
 
libMesh::Real h_stat_mech_ref_correction (unsigned int species) const
 
libMesh::Real minimum_T () const
 
bool clip_negative_rho () const
 
- Public Member Functions inherited from GRINS::AntiochChemistry
 AntiochChemistry (const GetPot &input, const std::string &material)
 Deprecated Constructor. More...
 
 AntiochChemistry (libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > &chem_mixture)
 User passes in built ChemicalMixture and this class takes ownership. More...
 
virtual ~AntiochChemistry ()
 
libMesh::Real M (unsigned int species) const
 Species molar mass (molecular weight), [kg/mol]. More...
 
libMesh::Real M_mix (const std::vector< libMesh::Real > &mass_fractions) const
 Mixture molar mass (molecular weight), [kg/mol]. More...
 
libMesh::Real R (unsigned int species) const
 Species gas constant, [J/kg-K]. More...
 
libMesh::Real R_mix (const std::vector< libMesh::Real > &mass_fractions) const
 Mixture gas constant, [J/kg-K]. More...
 
libMesh::Real X (unsigned int species, libMesh::Real M, libMesh::Real mass_fraction) const
 Species mole fraction, unitless. More...
 
void X (libMesh::Real M, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &mole_fractions) const
 Mole fraction for all species, unitless. More...
 
libMesh::Real molar_density (const unsigned int species, const libMesh::Real rho, const libMesh::Real mass_fraction) const
 Species molar density, [mol/m^3]. More...
 
void molar_densities (const libMesh::Real rho, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &molar_densities) const
 Molar density for all species, [mol/m^3]. More...
 
unsigned int n_species () const
 
unsigned int species_index (const std::string &species_name) const
 
std::string species_name (unsigned int species_index) const
 
const Antioch::ChemicalMixture< libMesh::Real > & chemical_mixture () const
 Accessor to underlying Antioch object. More...
 
const AntiochChemistrychemistry () const
 Accessor for this class. More...
 
- Public Member Functions inherited from GRINS::ParameterUser
 ParameterUser (const std::string &user_name)
 
virtual ~ParameterUser ()
 
virtual void set_parameter (libMesh::Number &param_variable, const GetPot &input, const std::string &param_name, libMesh::Number param_default)
 Each subclass can simultaneously read a parameter value from. More...
 
virtual void set_parameter (libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &func, const GetPot &input, const std::string &func_param_name, const std::string &param_default)
 Each subclass can simultaneously read a parsed function from. More...
 
virtual void set_parameter (libMesh::ParsedFEMFunction< libMesh::Number > &func, const GetPot &input, const std::string &func_param_name, const std::string &param_default)
 Each subclass can simultaneously read a parsed function from. More...
 
virtual void move_parameter (const libMesh::Number &old_parameter, libMesh::Number &new_parameter)
 When cloning an object, we need to update parameter pointers. More...
 
virtual void move_parameter (const libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &old_func, libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &new_func)
 When cloning an object, we need to update parameter pointers. More...
 
virtual void move_parameter (const libMesh::ParsedFEMFunction< libMesh::Number > &old_func, libMesh::ParsedFEMFunction< libMesh::Number > &new_func)
 When cloning an object, we need to update parameter pointers. More...
 

Protected Member Functions

void build_thermo ()
 
void build_viscosity (const GetPot &input, const std::string &material)
 
void build_conductivity ()
 
void build_diffusivity (const GetPot &input, const std::string &material)
 
- Protected Member Functions inherited from GRINS::AntiochMixture< KineticsThermoCurveFit >
void build_stat_mech_ref_correction ()
 

Protected Attributes

libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
 
libMesh::UniquePtr< Antioch::MixtureAveragedTransportMixture< libMesh::Real > > _wilke_mixture
 
libMesh::UniquePtr< Thermo > _thermo
 
libMesh::UniquePtr< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit > > _nasa_evaluator
 For some Thermo types, we also need to cache a NASAEvaluator. More...
 
libMesh::UniquePtr< Antioch::MixtureViscosity< Viscosity, libMesh::Real > > _viscosity
 
libMesh::UniquePtr< Antioch::MixtureConductivity< Conductivity, libMesh::Real > > _conductivity
 
libMesh::UniquePtr< Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > > _diffusivity
 
- Protected Attributes inherited from GRINS::AntiochMixture< KineticsThermoCurveFit >
libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > _reaction_set
 
libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > _nasa_mixture
 
std::vector< libMesh::Real > _h_stat_mech_ref_correction
 
libMesh::Real _minimum_T
 
bool _clip_negative_rho
 
- Protected Attributes inherited from GRINS::AntiochChemistry
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > _antioch_gas
 

Private Member Functions

 AntiochMixtureAveragedTransportMixture ()
 
void specialized_build_thermo (libMesh::UniquePtr< Antioch::StatMechThermodynamics< libMesh::Real > > &thermo, thermo_type< Antioch::StatMechThermodynamics< libMesh::Real > >)
 
void specialized_build_thermo (libMesh::UniquePtr< Antioch::IdealGasMicroThermo< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit >, libMesh::Real > > &thermo, thermo_type< Antioch::IdealGasMicroThermo< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit >, libMesh::Real > >)
 
void specialized_build_viscosity (const GetPot &input, const std::string &material, libMesh::UniquePtr< Antioch::MixtureViscosity< Antioch::SutherlandViscosity< libMesh::Real >, libMesh::Real > > &viscosity, viscosity_type< Antioch::SutherlandViscosity< libMesh::Real > >)
 
void specialized_build_viscosity (const GetPot &input, const std::string &material, libMesh::UniquePtr< Antioch::MixtureViscosity< Antioch::BlottnerViscosity< libMesh::Real >, libMesh::Real > > &viscosity, viscosity_type< Antioch::BlottnerViscosity< libMesh::Real > >)
 
void specialized_build_conductivity (libMesh::UniquePtr< Antioch::MixtureConductivity< Antioch::EuckenThermalConductivity< Thermo >, libMesh::Real > > &conductivity, conductivity_type< Antioch::EuckenThermalConductivity< Thermo > >)
 
void specialized_build_diffusivity (const GetPot &input, const std::string &material, libMesh::UniquePtr< Antioch::MixtureDiffusion< Antioch::ConstantLewisDiffusivity< libMesh::Real >, libMesh::Real > > &diffusivity, diffusivity_type< Antioch::ConstantLewisDiffusivity< libMesh::Real > >)
 

Additional Inherited Members

- Static Public Attributes inherited from GRINS::ParameterUser
static std::string zero_vector_function = std::string("{0}")
 A parseable function string with LIBMESH_DIM components, all 0. More...
 

Detailed Description

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
class GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >

Wrapper class for storing state for computing Wilke transport properties using Antioch.

This class is expected to be constructed before threads have been forked and will live during the whole program. 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 85 of file antioch_mixture_averaged_transport_mixture.h.

Member Typedef Documentation

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
typedef AntiochChemistry GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::ChemistryParent

Constructor & Destructor Documentation

template<typename KT , typename T , typename V , typename C , typename D >
GRINS::AntiochMixtureAveragedTransportMixture< KT, T, V, C, D >::AntiochMixtureAveragedTransportMixture ( const GetPot &  input,
const std::string &  material 
)

Deprecated Constructor.

Definition at line 43 of file antioch_mixture_averaged_transport_mixture.C.

44  : AntiochMixture<KT>(input,material)
45  {
46  {
47  std::string warning = "==============================================\n";
48  warning += "WARNING: This AntiochMixtureAveragedTransportMixture constructor is DEPREACTED!\n";
49  warning += " Prefer alternate constructor where parsing\n";
50  warning += " is done outside this class.\n";
51  warning += "==============================================\n";
52 
53  libmesh_warning(warning);
54  }
55 
56  std::string transport_data_filename =
57  input( "Materials/"+material+"/GasMixture/Antioch/transport_data", "default" );
58 
59  if( transport_data_filename == std::string("default") )
60  transport_data_filename = Antioch::DefaultInstallFilename::transport_mixture();
61 
62  bool verbose_transport_read =
63  input( "Materials/"+material+"/GasMixture/Antioch/verbose_transport_read", false );
64 
65  _trans_mixture.reset( new Antioch::TransportMixture<libMesh::Real>( *(this->_antioch_gas.get()),
66  transport_data_filename,
67  verbose_transport_read,
68  Antioch::ParsingType::ASCII ) );
69 
70  _wilke_mixture.reset( new Antioch::MixtureAveragedTransportMixture<libMesh::Real>(*(_trans_mixture.get()) ) );
71 
72  this->build_thermo();
73 
74  this->build_viscosity( input, material );
75 
76  this->build_conductivity( );
77 
78  this->build_diffusivity( input, material );
79  }
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > _antioch_gas
void build_diffusivity(const GetPot &input, const std::string &material)
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
libMesh::UniquePtr< Antioch::MixtureAveragedTransportMixture< libMesh::Real > > _wilke_mixture
void build_viscosity(const GetPot &input, const std::string &material)
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::AntiochMixtureAveragedTransportMixture ( libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > &  chem_mixture,
libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > &  reaction_set,
libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > &  kinetics_thermo_mix,
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > &  trans_mix,
libMesh::UniquePtr< Antioch::MixtureAveragedTransportMixture< libMesh::Real > > &  wilke_mix,
libMesh::UniquePtr< Antioch::MixtureViscosity< Viscosity, libMesh::Real > > &  visc,
libMesh::UniquePtr< Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > > &  diff,
libMesh::Real  min_T = -std::numeric_limits< libMesh::Real >::max(),
bool  clip_negative_rho = false 
)

Constructor with user-built objects.

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
virtual GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::~AntiochMixtureAveragedTransportMixture ( )
inlinevirtual

Definition at line 103 of file antioch_mixture_averaged_transport_mixture.h.

103 {}
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::AntiochMixtureAveragedTransportMixture ( )
private

Member Function Documentation

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_conductivity ( )
inlineprotected

Definition at line 142 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_conductivity().

143  { specialized_build_conductivity( _conductivity, conductivity_type<Conductivity>() ); }
void specialized_build_conductivity(libMesh::UniquePtr< Antioch::MixtureConductivity< Antioch::EuckenThermalConductivity< Thermo >, libMesh::Real > > &conductivity, conductivity_type< Antioch::EuckenThermalConductivity< Thermo > >)
libMesh::UniquePtr< Antioch::MixtureConductivity< Conductivity, libMesh::Real > > _conductivity
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_diffusivity ( const GetPot &  input,
const std::string &  material 
)
inlineprotected

Definition at line 145 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_diffusivity().

146  { specialized_build_diffusivity( input, material, _diffusivity, diffusivity_type<Diffusivity>() ); }
void specialized_build_diffusivity(const GetPot &input, const std::string &material, libMesh::UniquePtr< Antioch::MixtureDiffusion< Antioch::ConstantLewisDiffusivity< libMesh::Real >, libMesh::Real > > &diffusivity, diffusivity_type< Antioch::ConstantLewisDiffusivity< libMesh::Real > >)
libMesh::UniquePtr< Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > > _diffusivity
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_thermo ( )
inlineprotected

Definition at line 136 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo().

137  { specialized_build_thermo( _thermo, thermo_type<Thermo>() ); }
void specialized_build_thermo(libMesh::UniquePtr< Antioch::StatMechThermodynamics< libMesh::Real > > &thermo, thermo_type< Antioch::StatMechThermodynamics< libMesh::Real > >)
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_viscosity ( const GetPot &  input,
const std::string &  material 
)
inlineprotected

Definition at line 139 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_viscosity().

140  { specialized_build_viscosity( input, material, _viscosity, viscosity_type<Viscosity>() ); }
void specialized_build_viscosity(const GetPot &input, const std::string &material, libMesh::UniquePtr< Antioch::MixtureViscosity< Antioch::SutherlandViscosity< libMesh::Real >, libMesh::Real > > &viscosity, viscosity_type< Antioch::SutherlandViscosity< libMesh::Real > >)
libMesh::UniquePtr< Antioch::MixtureViscosity< Viscosity, libMesh::Real > > _viscosity
template<typename KT , typename T , typename V , typename C , typename D >
const Antioch::MixtureConductivity< C, libMesh::Real > & GRINS::AntiochMixtureAveragedTransportMixture< KT, T, V, C, D >::conductivity ( ) const
inline
template<typename KT , typename T , typename V , typename C , typename D >
const Antioch::MixtureDiffusion< D, libMesh::Real > & GRINS::AntiochMixtureAveragedTransportMixture< KT, T, V, C, D >::diffusivity ( ) const
inline
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_conductivity ( libMesh::UniquePtr< Antioch::MixtureConductivity< Antioch::EuckenThermalConductivity< Thermo >, libMesh::Real > > &  conductivity,
conductivity_type< Antioch::EuckenThermalConductivity< Thermo > >   
)
inlineprivate

Definition at line 205 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::conductivity().

Referenced by GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_conductivity().

207  {
208  conductivity.reset( new Antioch::MixtureConductivity<Antioch::EuckenThermalConductivity<Thermo>,libMesh::Real>(*(_trans_mixture.get())) );
209  Antioch::build_eucken_thermal_conductivity<Thermo,libMesh::Real>(*(conductivity.get()),*(_thermo.get()));
210  return;
211  }
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
const Antioch::MixtureConductivity< Conductivity, libMesh::Real > & conductivity() const
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_diffusivity ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< Antioch::MixtureDiffusion< Antioch::ConstantLewisDiffusivity< libMesh::Real >, libMesh::Real > > &  diffusivity,
diffusivity_type< Antioch::ConstantLewisDiffusivity< libMesh::Real > >   
)
inlineprivate

Definition at line 223 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::diffusivity(), and GRINS::MaterialsParsing::parse_lewis_number().

Referenced by GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_diffusivity().

227  {
228  libMesh::Real Le = MaterialsParsing::parse_lewis_number(input,material);
229 
230  diffusivity.reset( new Antioch::MixtureDiffusion<Antioch::ConstantLewisDiffusivity<libMesh::Real>,libMesh::Real>(*(_trans_mixture.get())) );
231 
232  Antioch::build_constant_lewis_diffusivity<libMesh::Real>( *(diffusivity.get()), Le);
233  return;
234  }
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
const Antioch::MixtureDiffusion< Diffusivity, libMesh::Real > & diffusivity() const
static libMesh::Real parse_lewis_number(const GetPot &input, const std::string &material)
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo ( libMesh::UniquePtr< Antioch::StatMechThermodynamics< libMesh::Real > > &  thermo,
thermo_type< Antioch::StatMechThermodynamics< libMesh::Real > >   
)
inlineprivate

Definition at line 152 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochChemistry::_antioch_gas.

Referenced by GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_thermo().

154  {
155  thermo.reset( new Antioch::StatMechThermodynamics<libMesh::Real>( *(this->_antioch_gas.get()) ) );
156  }
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > _antioch_gas
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_thermo ( libMesh::UniquePtr< Antioch::IdealGasMicroThermo< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit >, libMesh::Real > > &  thermo,
thermo_type< Antioch::IdealGasMicroThermo< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit >, libMesh::Real > >   
)
inlineprivate

Definition at line 158 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochChemistry::_antioch_gas, and GRINS::AntiochMixture< KineticsThermoCurveFit >::nasa_mixture().

160  {
161  _nasa_evaluator.reset( new Antioch::NASAEvaluator<libMesh::Real,KineticsThermoCurveFit>(this->nasa_mixture()) );
162  thermo.reset( new Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,KineticsThermoCurveFit>, libMesh::Real>( *_nasa_evaluator, *(this->_antioch_gas.get()) ) );
163  }
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > _antioch_gas
libMesh::UniquePtr< Antioch::NASAEvaluator< libMesh::Real, KineticsThermoCurveFit > > _nasa_evaluator
For some Thermo types, we also need to cache a NASAEvaluator.
const Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > & nasa_mixture() const
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_viscosity ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< Antioch::MixtureViscosity< Antioch::SutherlandViscosity< libMesh::Real >, libMesh::Real > > &  viscosity,
viscosity_type< Antioch::SutherlandViscosity< libMesh::Real > >   
)
inlineprivate

Definition at line 165 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::viscosity().

Referenced by GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::build_viscosity().

169  {
170  viscosity.reset( new Antioch::MixtureViscosity<Antioch::SutherlandViscosity<libMesh::Real>,libMesh::Real>(*(_trans_mixture.get())) );
171 
172  std::string sutherland_data = input("Materials/"+material+"/GasMixture/Antioch/sutherland_data", "default");
173  if( sutherland_data == "default" )
174  sutherland_data = Antioch::DefaultInstallFilename::sutherland_data();
175 
176  Antioch::read_sutherland_data_ascii( *(viscosity.get()), sutherland_data );
177  }
const Antioch::MixtureViscosity< Viscosity, libMesh::Real > & viscosity() const
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
void GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::specialized_build_viscosity ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< Antioch::MixtureViscosity< Antioch::BlottnerViscosity< libMesh::Real >, libMesh::Real > > &  viscosity,
viscosity_type< Antioch::BlottnerViscosity< libMesh::Real > >   
)
inlineprivate

Definition at line 179 of file antioch_mixture_averaged_transport_mixture.h.

References GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::viscosity().

183  {
184  viscosity.reset( new Antioch::MixtureViscosity<Antioch::BlottnerViscosity<libMesh::Real>,libMesh::Real>(*(_trans_mixture.get())) );
185 
186  std::string blottner_data = input("Materials/"+material+"/GasMixture/Antioch/blottner_data", "default");
187  if( blottner_data == "default" )
188  blottner_data = Antioch::DefaultInstallFilename::blottner_data();
189 
190  Antioch::read_blottner_data_ascii( *(viscosity.get()), blottner_data );
191  }
const Antioch::MixtureViscosity< Viscosity, libMesh::Real > & viscosity() const
libMesh::UniquePtr< Antioch::TransportMixture< libMesh::Real > > _trans_mixture
template<typename KT , typename T , typename V , typename C , typename D >
const Antioch::MixtureViscosity< V, libMesh::Real > & GRINS::AntiochMixtureAveragedTransportMixture< KT, T, V, C, D >::viscosity ( ) const
inline
template<typename KT , typename T , typename V , typename C , typename D >
const Antioch::MixtureAveragedTransportMixture< libMesh::Real > & GRINS::AntiochMixtureAveragedTransportMixture< KT, T, V, C, D >::wilke_mixture ( ) const
inline

Definition at line 252 of file antioch_mixture_averaged_transport_mixture.h.

253  {
254  return *(_wilke_mixture.get());
255  }
libMesh::UniquePtr< Antioch::MixtureAveragedTransportMixture< libMesh::Real > > _wilke_mixture

Member Data Documentation

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::MixtureConductivity<Conductivity,libMesh::Real> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_conductivity
protected
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::MixtureDiffusion<Diffusivity,libMesh::Real> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_diffusivity
protected
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::NASAEvaluator<libMesh::Real,KineticsThermoCurveFit> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_nasa_evaluator
protected

For some Thermo types, we also need to cache a NASAEvaluator.

Definition at line 124 of file antioch_mixture_averaged_transport_mixture.h.

template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Thermo> GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_thermo
protected
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::TransportMixture<libMesh::Real> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_trans_mixture
protected
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::MixtureViscosity<Viscosity,libMesh::Real> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_viscosity
protected
template<typename KineticsThermoCurveFit, typename Thermo, typename Viscosity, typename Conductivity, typename Diffusivity>
libMesh::UniquePtr<Antioch::MixtureAveragedTransportMixture<libMesh::Real> > GRINS::AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity >::_wilke_mixture
protected

The documentation for this class was generated from the following files:

Generated on Tue Dec 19 2017 12:47:30 for GRINS-0.8.0 by  doxygen 1.8.9.1