17 #ifndef _FUELCELLSHOP__DUMMY_CL__H 
   18 #define _FUELCELLSHOP__DUMMY_CL__H 
   26 namespace FuelCellShop
 
   93             virtual void initialize (ParameterHandler ¶m);
 
  164             virtual void current_density(std::vector<double>& current, std::vector<double>& effectiveness)
 
  167                 effectiveness.assign(current.size(), 1.0);
 
  184                                      ParameterHandler ¶m)
 const 
  189                 param.enter_subsection(
"Fuel cell data");
 
  191                     param.enter_subsection(name);
 
  195                             param.declare_entry (
"Oxygen diffusion coefficient, [cm^2/s]",
 
  197                                                  Patterns::Map( Patterns::Integer(0,255), Patterns::Double(0) ),
 
  198                                                  "Oxygen diffusion coefficient given by experiment");
 
  199                             param.declare_entry (
"Water vapour diffusion coefficient, [cm^2/s]",
 
  201                                                  Patterns::Map( Patterns::Integer(0,255), Patterns::Double(0) ),
 
  202                                                  "Water vapour diffusion coefficient given by experiment");
 
  203                             param.declare_entry (
"Electrical conductivity, [S/cm]",
 
  205                                                  Patterns::Map( Patterns::Integer(0,255), Patterns::Double(0) ),
 
  206                                                  "Effective cond. if given is used, otherwise conductivity of the raw material. Units [S/cm]");
 
  207                             param.declare_entry (
"Protonic conductivity, [S/cm]",
 
  209                                                  Patterns::Map( Patterns::Integer(0,255), Patterns::Double(0) ),
 
  210                                                  "Effective cond. if given is used, otherwise conductivity of the raw material. Units [S/cm]");
 
  211                             param.declare_entry (
"Active area [cm^2/cm^3]",
 
  213                                                  Patterns::Map( Patterns::Integer(0,255), Patterns::Double(0)));
 
  215                         param.leave_subsection();
 
  218                     param.leave_subsection();
 
  220                 param.leave_subsection();
 
  234             virtual boost::shared_ptr<FuelCellShop::Layer::CatalystLayer<dim> > 
create_replica (
const std::string &
name)
 
  247             std::map< unsigned int, double > 
D_O2;
 
  249             std::map< unsigned int, double > 
D_wv;
 
  255             std::map< unsigned int, double > 
Av;
 
virtual void current_density(std::vector< double > &)
This member function will use a FuelCellShop::Kinetics class in order to compute the current density ...
 
void set_cell_id(const unsigned int &)
This routine is not used for this layer. 
Definition: dummy_CL.h:148
 
DummyCL()
Prototype Constructor. 
 
static const std::string concrete_name
Concrete name used for objects of this class. 
Definition: dummy_CL.h:62
 
void derivative_effective_gas_diffusivity(std::map< VariableNames, std::vector< Tensor< 2, dim > > > &dprop_eff) const 
Return the derivative of effective diffusivity w.r.t solution variables/design parameters for nonisot...
 
virtual void effective_proton_conductivity(double &) const 
Compute the effective proton conductivity in the CL. 
 
virtual void current_density(std::vector< double > ¤t, std::vector< double > &effectiveness)
This member function computes the current density production in the CL. 
Definition: dummy_CL.h:164
 
void declare_parameters(const std::string &name, ParameterHandler ¶m) const 
Declare parameters for a parameter file. 
Definition: dummy_CL.h:183
 
std::map< unsigned int, double > D_O2
Oxygen diffusion coefficient. 
Definition: dummy_CL.h:247
 
VariableNames
The enumeration containing the names of some of the available FCST solution variables and their deriv...
Definition: system_management.h:63
 
virtual void declare_parameters(const std::string &name, ParameterHandler ¶m) const 
Default virtual declare parameters for a parameter file. 
 
const std::string name
Name of the layer. 
Definition: base_layer.h:336
 
virtual void effective_gas_diffusivity(Table< 2, Tensor< 2, dim > > &) const 
Compute the effective diffusivty in the CL. 
 
virtual void derivative_current_density(std::map< VariableNames, std::vector< double > > &)
This member function will use a FuelCellShop::Kinetics class in order to compute the derivative of th...
 
std::map< unsigned int, double > Av
Active area of catalyst per unit volume of catalyst layer. 
Definition: dummy_CL.h:255
 
virtual void derivative_effective_proton_conductivity(std::map< VariableNames, std::vector< double > > &) const 
Compute the derivative of the effective proton conductivity in the CL with respect to either the solu...
 
This class characterizes a macro-homogeneous catalyst layer and should be used in the case of constan...
Definition: dummy_CL.h:41
 
double get_active_area_Pt() const 
Get the active area of platinum per unit volume of CL. 
Definition: dummy_CL.h:143
 
static DummyCL< dim > const * PROTOTYPE
Definition: dummy_CL.h:241
 
virtual void declare_parameters(ParameterHandler ¶m) const 
Declare all necessary parameters in order to compute the coefficients. 
Definition: dummy_CL.h:84
 
std::map< unsigned int, double > sigma_e
Solid network conductivity. 
Definition: dummy_CL.h:251
 
virtual boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > > create_replica(const std::string &name)
This member function is used to create an object of type gas diffusion layer. 
Definition: dummy_CL.h:234
 
std::map< unsigned int, double > sigma_m
Membrane phase conductivity. 
Definition: dummy_CL.h:253
 
unsigned int local_material_id() const 
Return the local material id of the layer, performs a check. 
Definition: base_layer.h:215
 
std::map< unsigned int, double > D_wv
Water vapour diffusion coefficient. 
Definition: dummy_CL.h:249
 
virtual void initialize(ParameterHandler ¶m)
Member function used to read in data and initialize the necessary data to compute the coefficients...
 
Virtual class used to provide the interface for all CatalystLayer children. 
Definition: catalyst_layer.h:124
 
virtual void effective_electron_conductivity(double &) const 
Compute the effective electron conductivity in the CL.