17 #ifndef _FUELCELLSHOP__DUAL_PATH_KINETICS_H
18 #define _FUELCELLSHOP__DUAL_PATH_KINETICS_H
24 #include <deal.II/base/parameter_handler.h>
25 #include <deal.II/base/point.h>
26 #include <deal.II/base/function.h>
27 #include <deal.II/lac/vector.h>
28 #include <deal.II/fe/fe_values.h>
34 using namespace dealii;
36 namespace FuelCellShop
98 virtual void declare_parameters(ParameterHandler ¶m)
const;
104 virtual void initialize(ParameterHandler ¶m);
116 name_reaction_kinetics = name;
120 const std::type_info& info =
typeid(*this);
121 FcstUtilities::log <<
"Only HOR reaction is to be implemented in " << __FUNCTION__ <<
" called in Class " << info.name() << std::endl;
145 virtual void derivative_current (std::map<
VariableNames, std::vector<double> >&);
157 virtual boost::shared_ptr<FuelCellShop::Kinetics::BaseKinetics >
create_replica ()
175 Assert( !kin_param_initialized, ExcInternalError() );
176 Assert( catalyst != NULL, ExcMessage(
"Catalyst object not initialized in the DualPathKinetics object.") );
177 Assert( catalyst->get_reaction_name() ==
HOR, ExcMessage(
"Catalyst object in the DualPathKinetics not set to HOR reaction name.") );
178 Assert( phi_m.is_initialized() && phi_s.is_initialized() && T.is_initialized(), ExcMessage(
"Either phi_m/phi_s/T is not set in the DualPathKinetics object.") );
179 Assert( reactants_map.find(
hydrogen_concentration) != reactants_map.end(), ExcMessage(
"Hydrogen concentration is not set in the DualPathKinetics object.") );
182 std::map< VariableNames, double > cref_map;
183 catalyst->reference_concentration(names, cref_map);
186 kin_param_initialized =
true;
213 #endif //_FUELCELLSHOP__DUAL_PATH_KINETICS_H
Definition: system_management.h:181
double j_0H
HV exchange current density [A/cm^2].
Definition: dual_path_kinetics.h:196
Definition: system_management.h:88
double ref_potential
Reference potential.
Definition: dual_path_kinetics.h:202
VariableNames
The enumeration containing the names of some of the available FCST solution variables and their deriv...
Definition: system_management.h:63
virtual void set_reaction_kinetics(const ReactionNames &name)
Member function used to set the reaction name in the Dual path kinetics object.
Definition: dual_path_kinetics.h:113
This class will contain the implementation of the dual path kinetic kinetic model as developed by Wan...
Definition: dual_path_kinetics.h:56
virtual boost::shared_ptr< FuelCellShop::Kinetics::BaseKinetics > create_replica()
This member function is used to create an object of type gas diffusion layer.
Definition: dual_path_kinetics.h:157
double potential_constant
Potential range constant.
Definition: dual_path_kinetics.h:199
static const std::string concrete_name
Concrete name used for objects of this class.
Definition: dual_path_kinetics.h:73
FCSTLogStream log
Object used to output data to file and, if file attached recorded to a file as well.
ReactionNames
Definition: system_management.h:177
Definition: system_management.h:80
Virtual class used to provide the interface for all kinetic/reaction children.
Definition: base_kinetics.h:102
virtual void init_kin_param()
Method used to initialize reference concentration of hydrogen for the reaction, and number of quadrat...
Definition: dual_path_kinetics.h:173
double j_0T
TV exchange current density [A/cm^2].
Definition: dual_path_kinetics.h:193
static DualPathKinetics const * PROTOTYPE
Create prototype for the layer.
Definition: dual_path_kinetics.h:164
double ref_conc_H2
Reference concentration for hydrogen, .
Definition: dual_path_kinetics.h:190