GRINS-0.6.0
Public Member Functions | Protected Attributes | List of all members
GRINS::CatalyticWallBase< Chemistry > Class Template Referenceabstract

#include <catalytic_wall_base.h>

Inheritance diagram for GRINS::CatalyticWallBase< Chemistry >:
Inheritance graph
[legend]

Public Member Functions

 CatalyticWallBase (const Chemistry &chem_mixture, CatalycityBase &gamma, const unsigned int reactant_species_idx)
 
virtual ~CatalyticWallBase ()
 
virtual void apply_fluxes (AssemblyContext &context, const CachedValues &cache, const bool request_jacobian)=0
 
virtual void init (const libMesh::FEMSystem &system)
 
void set_axisymmetric (bool is_axisymmetric)
 
libMesh::Real omega_dot (const libMesh::Real rho_s, const libMesh::Real T) const
 $ \rho_s \gamma \sqrt{ \frac{R_s T}{2\pi} } $ More...
 
libMesh::Real domega_dot_dws (const libMesh::Real rho_s, const libMesh::Real w_s, const libMesh::Real T, const libMesh::Real R) const
 
libMesh::Real domega_dot_dT (const libMesh::Real rho_s, const libMesh::Real T) const
 
void set_catalycity_params (const std::vector< libMesh::Real > &params)
 

Protected Attributes

const Chemistry & _chemistry
 
boost::scoped_ptr< CatalycityBase_gamma_s
 
const libMesh::Real _C
 $ \sqrt{ \frac{R_s}{2\pi} } $ More...
 
bool _is_axisymmetric
 

Detailed Description

template<typename Chemistry>
class GRINS::CatalyticWallBase< Chemistry >

Definition at line 49 of file catalytic_wall_base.h.

Constructor & Destructor Documentation

template<typename Chemistry >
GRINS::CatalyticWallBase< Chemistry >::CatalyticWallBase ( const Chemistry &  chem_mixture,
CatalycityBase gamma,
const unsigned int  reactant_species_idx 
)

Definition at line 40 of file catalytic_wall_base.C.

43  : _chemistry(chemistry),
44  _gamma_s( gamma.clone() ),
45  _C( std::sqrt( chemistry.R(reactant_species_idx)/(GRINS::Constants::two_pi) ) ),
46  _is_axisymmetric(false)
47  {
48  return;
49  }
const libMesh::Real _C
boost::scoped_ptr< CatalycityBase > _gamma_s
const Chemistry & _chemistry
const libMesh::Real two_pi
template<typename Chemistry >
GRINS::CatalyticWallBase< Chemistry >::~CatalyticWallBase ( )
virtual

Definition at line 52 of file catalytic_wall_base.C.

53  {
54  return;
55  }

Member Function Documentation

template<typename Chemistry>
virtual void GRINS::CatalyticWallBase< Chemistry >::apply_fluxes ( AssemblyContext context,
const CachedValues cache,
const bool  request_jacobian 
)
pure virtual
template<typename Chemistry >
libMesh::Real GRINS::CatalyticWallBase< Chemistry >::domega_dot_dT ( const libMesh::Real  rho_s,
const libMesh::Real  T 
) const
inline

Definition at line 108 of file catalytic_wall_base.h.

Referenced by test().

109  {
110  libMesh::Real sqrtT = std::sqrt(T);
111 
112  return rho_s*_C*( 0.5/sqrtT*(*_gamma_s)(T) + sqrtT*(*_gamma_s).dT(T) );
113  }
const libMesh::Real _C
template<typename Chemistry >
libMesh::Real GRINS::CatalyticWallBase< Chemistry >::domega_dot_dws ( const libMesh::Real  rho_s,
const libMesh::Real  w_s,
const libMesh::Real  T,
const libMesh::Real  R 
) const
inline

Definition at line 100 of file catalytic_wall_base.h.

Referenced by test().

102  {
103  return (1.0/w_s - rho_s/R)*(this->omega_dot( rho_s, T ));
104  }
libMesh::Real omega_dot(const libMesh::Real rho_s, const libMesh::Real T) const
template<typename Chemistry >
void GRINS::CatalyticWallBase< Chemistry >::init ( const libMesh::FEMSystem &  system)
virtual

Reimplemented in GRINS::GasSolidCatalyticWall< Chemistry >, and GRINS::GasRecombinationCatalyticWall< Chemistry >.

Definition at line 58 of file catalytic_wall_base.C.

59  {
60  return;
61  }
template<typename Chemistry >
libMesh::Real GRINS::CatalyticWallBase< Chemistry >::omega_dot ( const libMesh::Real  rho_s,
const libMesh::Real  T 
) const
inline

$ \rho_s \gamma \sqrt{ \frac{R_s T}{2\pi} } $

Definition at line 93 of file catalytic_wall_base.h.

Referenced by test().

94  {
95  return rho_s*(*_gamma_s)(T)*_C*std::sqrt(T);
96  }
const libMesh::Real _C
template<typename Chemistry >
void GRINS::CatalyticWallBase< Chemistry >::set_axisymmetric ( bool  is_axisymmetric)

Definition at line 64 of file catalytic_wall_base.C.

65  {
66  this->_is_axisymmetric = is_axisymmetric;
67 
68  return;
69  }
template<typename Chemistry >
void GRINS::CatalyticWallBase< Chemistry >::set_catalycity_params ( const std::vector< libMesh::Real > &  params)

Definition at line 73 of file catalytic_wall_base.C.

74  {
75  _gamma_s->set_params( params );
76  return;
77  }
boost::scoped_ptr< CatalycityBase > _gamma_s

Member Data Documentation

template<typename Chemistry>
const libMesh::Real GRINS::CatalyticWallBase< Chemistry >::_C
protected

$ \sqrt{ \frac{R_s}{2\pi} } $

Definition at line 84 of file catalytic_wall_base.h.

template<typename Chemistry>
const Chemistry& GRINS::CatalyticWallBase< Chemistry >::_chemistry
protected

Definition at line 79 of file catalytic_wall_base.h.

template<typename Chemistry>
boost::scoped_ptr<CatalycityBase> GRINS::CatalyticWallBase< Chemistry >::_gamma_s
protected

Definition at line 81 of file catalytic_wall_base.h.

template<typename Chemistry>
bool GRINS::CatalyticWallBase< Chemistry >::_is_axisymmetric
protected

Definition at line 86 of file catalytic_wall_base.h.


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

Generated on Mon Jun 22 2015 21:32:22 for GRINS-0.6.0 by  doxygen 1.8.9.1