25 #ifndef GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_H
26 #define GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_H
35 template<
typename Chemistry>
41 SharedPtr<CatalycityBase>& gamma,
42 const std::vector<VariableIndex>& species_vars,
45 unsigned int reactant_species_idx,
46 unsigned int product_species_idx );
51 const unsigned int reactant_species_idx,
52 const unsigned int product_species_idx );
57 virtual void init(
const libMesh::FEMSystem& system );
62 const bool request_jacobian );
64 virtual bool eval_flux(
bool compute_jacobian,
67 bool is_axisymmetric );
70 const libMesh::Real Y_r,
71 const libMesh::Real T );
74 const libMesh::Real Y_r,
75 const libMesh::Real T );
87 template<
typename Chemistry>
90 const libMesh::Real Y_r,
91 const libMesh::Real T )
93 const libMesh::Real rho_r = rho*Y_r;
95 const libMesh::Real omega_dot = this->omega_dot( rho_r, T );
100 template<
typename Chemistry>
103 const libMesh::Real Y_r,
104 const libMesh::Real T )
106 return -(this->compute_reactant_mass_flux(rho,Y_r,T));
111 #endif // GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_H
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
VariableIndex _reactant_var_idx
virtual ~GasRecombinationCatalyticWall()
const unsigned int _product_species_idx
virtual void init(const libMesh::FEMSystem &system)
Deprecated.
virtual void apply_fluxes(AssemblyContext &context, const CachedValues &cache, const bool request_jacobian)
Deprecated.
VariableIndex _product_var_idx
const unsigned int _reactant_species_idx
virtual bool eval_flux(bool compute_jacobian, AssemblyContext &context, libMesh::Real sign, bool is_axisymmetric)
libMesh::Real compute_reactant_mass_flux(const libMesh::Real rho, const libMesh::Real Y_r, const libMesh::Real T)
libMesh::Real compute_product_mass_flux(const libMesh::Real rho, const libMesh::Real Y_r, const libMesh::Real T)
GasRecombinationCatalyticWall(SharedPtr< Chemistry > &chem, SharedPtr< CatalycityBase > &gamma, const std::vector< VariableIndex > &species_vars, VariableIndex T_var, libMesh::Real p0, unsigned int reactant_species_idx, unsigned int product_species_idx)
libMesh::Real rho(libMesh::Real T, libMesh::Real p0, libMesh::Real R_mix) const