OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
carbon.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------
2 //
3 // FCST: Fuel Cell Simulation Toolbox
4 //
5 // Copyright (C) 2011-13 by Energy Systems Design Laboratory, University of Alberta
6 //
7 // This software is distributed under the MIT License.
8 // For more information, see the README file in /doc/LICENSE
9 //
10 // - Class: carbon.h
11 // - Description: Class characterizing a carbon black support
12 // - Developers: M. Secanell and Madhur Bhaiya
13 // - $Id: carbon.h 2605 2014-08-15 03:36:44Z secanell $
14 //
15 //---------------------------------------------------------------------------
16 
17 #ifndef _FUELCELLSHOP__CARBON_H
18 #define _FUELCELLSHOP__CARBON_H
19 
20 //Include STL
21 #include<cmath>
22 #include<iostream>
23 
24 // FCST
26 
27 
28 namespace FuelCellShop
29 {
30  namespace Material
31  {
68  class CarbonBlack :
69  public CatalystSupportBase
70  {
71  public:
72 
76  static const std::string concrete_name;
77 
79 
80 
84  CarbonBlack(const bool);
85 
89  ~CarbonBlack();
90 
91 
93 
95 
96 
97  virtual double get_electrical_conductivity() const
98  {
99  return this->electrical_conductivity;
100  }
101 
103  virtual double get_thermal_conductivity() const
104  {
105  return this->thermal_conductivity;
106  };
107 
109  virtual double get_density() const
110  {
111  return this->density;
112  };
114 
115  private:
117 
118 
124  CarbonBlack();
125 
129  virtual void declare_parameters(ParameterHandler &param) const;
130 
134  virtual void initialize (ParameterHandler &param);
136 
138 
139 
144  virtual boost::shared_ptr<FuelCellShop::Material::CatalystSupportBase > create_replica ()
145  {
146  return boost::shared_ptr<FuelCellShop::Material::CatalystSupportBase > (new FuelCellShop::Material::CarbonBlack ());
147  }
151  static CarbonBlack const* PROTOTYPE;
153 
154  };
155  }
156 }
157 
158 #endif
double thermal_conductivity
Thermal conductivity [W/(cm-K )] of catalyst support extrapolated to 100% solid phase.
Definition: catalyst_support_base.h:253
virtual double get_thermal_conductivity() const
Obtain the thermal conductivity [W/(cm-K )] of carbon black support material.
Definition: carbon.h:103
CarbonBlack()
Constructor The constructor initialize parameters using the default values.
Class characterizing a carbon black support.
Definition: carbon.h:68
static const std::string concrete_name
Name of the class.
Definition: carbon.h:76
static CarbonBlack const * PROTOTYPE
Create prototype for the layer.
Definition: carbon.h:151
This class implements the interface to compute the properties of a &quot;standard&quot; catalyst support...
Definition: catalyst_support_base.h:47
virtual boost::shared_ptr< FuelCellShop::Material::CatalystSupportBase > create_replica()
This member function is used to create an object of type carbon black material.
Definition: carbon.h:144
double density
Density of catalyst support [gm/cm^3].
Definition: catalyst_support_base.h:256
virtual void declare_parameters(ParameterHandler &param) const
Declare parameters.
virtual double get_density() const
Obtain the density [gm/cm^3] of carbon black support material.
Definition: carbon.h:109
double electrical_conductivity
Electrical conductivity [S/cm] of catalyst support extrapolated to 100% solid phase.
Definition: catalyst_support_base.h:250
virtual void initialize(ParameterHandler &param)
Member function used to read in data and initialize the necessary data from the parameter file to com...
virtual double get_electrical_conductivity() const
Obtain the electrical conductivity [S/cm] of carbon black support material.
Definition: carbon.h:97