26 #ifndef GRINS_ANTIOCH_CONSTANT_TRANSPORT_MIXTURE_BUILDER_H
27 #define GRINS_ANTIOCH_CONSTANT_TRANSPORT_MIXTURE_BUILDER_H
29 #include "grins_config.h"
31 #ifdef GRINS_HAVE_ANTIOCH
42 #include "antioch/constant_lewis_diffusivity.h"
53 template<
typename KineticsThermoCurveFit,
typename Conductivity>
54 libMesh::UniquePtr<AntiochConstantTransportMixture<KineticsThermoCurveFit,Conductivity> >
55 build_mixture(
const GetPot & input,
const std::string & material );
57 libMesh::UniquePtr<ConstantViscosity>
60 return libMesh::UniquePtr<ConstantViscosity>(
new ConstantViscosity(input,material) );
63 template<
typename Conductivity>
64 libMesh::UniquePtr<Conductivity>
70 libMesh::UniquePtr<Antioch::ConstantLewisDiffusivity<libMesh::Real> >
74 return libMesh::UniquePtr<Antioch::ConstantLewisDiffusivity<libMesh::Real> >
75 (
new Antioch::ConstantLewisDiffusivity<libMesh::Real>(Le) );
80 libMesh::UniquePtr<ConstantConductivity>
87 libMesh::UniquePtr<ConstantPrandtlConductivity>
96 template<
typename KineticsThermoCurveFit,
typename Conductivity>
98 libMesh::UniquePtr<AntiochConstantTransportMixture<KineticsThermoCurveFit,Conductivity> >
101 libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > chem_mix =
104 libMesh::UniquePtr<Antioch::ReactionSet<libMesh::Real> > reaction_set =
107 libMesh::UniquePtr<Antioch::NASAThermoMixture<libMesh::Real,KineticsThermoCurveFit> > kinetics_thermo =
108 this->build_nasa_thermo_mix<KineticsThermoCurveFit>(input,material,*chem_mix);
110 libMesh::UniquePtr<ConstantViscosity> visc =
113 libMesh::UniquePtr<Conductivity> cond =
114 this->build_constant_conductivity<Conductivity>(input,material);
116 libMesh::UniquePtr<Antioch::ConstantLewisDiffusivity<libMesh::Real> > diff =
119 libMesh::Real min_T = this->
parse_min_T(input,material);
122 return libMesh::UniquePtr<AntiochConstantTransportMixture<KineticsThermoCurveFit,Conductivity> >
124 (chem_mix, reaction_set, kinetics_thermo, visc, cond, diff, min_T, clip_negative_rho) );
129 #endif // GRINS_HAVE_ANTIOCH
131 #endif // GRINS_ANTIOCH_CONSTANT_TRANSPORT_MIXTURE_BUILDER_H
bool parse_clip_negative_rho(const GetPot &input, const std::string &material)
libMesh::UniquePtr< ConstantPrandtlConductivity > specialized_build_conductivity(const GetPot &input, const std::string &material, conductivity_type< ConstantPrandtlConductivity >)
libMesh::UniquePtr< AntiochConstantTransportMixture< KineticsThermoCurveFit, Conductivity > > build_mixture(const GetPot &input, const std::string &material)
libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > build_reaction_set(const GetPot &input, const std::string &material, const Antioch::ChemicalMixture< libMesh::Real > &chem_mix)
~AntiochConstantTransportMixtureBuilder()
Base class building Antioch mixture wrappers.
libMesh::UniquePtr< Antioch::ConstantLewisDiffusivity< libMesh::Real > > build_constant_lewis_diff(const GetPot &input, const std::string &material)
libMesh::UniquePtr< ConstantViscosity > build_constant_viscosity(const GetPot &input, const std::string &material)
AntiochConstantTransportMixtureBuilder()
static libMesh::Real parse_lewis_number(const GetPot &input, const std::string &material)
libMesh::UniquePtr< ConstantConductivity > specialized_build_conductivity(const GetPot &input, const std::string &material, conductivity_type< ConstantConductivity >)
libMesh::UniquePtr< Conductivity > build_constant_conductivity(const GetPot &input, const std::string &material)
libMesh::Real parse_min_T(const GetPot &input, const std::string &material)
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > build_chem_mix(const GetPot &input, const std::string &material)
Wrapper class for storing state for constant transport properties, including Antioch::ConstantLewisDi...