OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Class characterizing a carbon black support. More...
#include <carbon.h>
Public Member Functions | |
PROTOTYPE Constructor and destructor | |
CarbonBlack (const bool) | |
PROTOTYE Constructor. | |
~CarbonBlack () | |
Destructor. | |
Information and accessors | |
virtual double | get_electrical_conductivity () const |
Obtain the electrical conductivity [S/cm ] of carbon black support material. | |
virtual double | get_thermal_conductivity () const |
Obtain the thermal conductivity [W/ )] of carbon black support material. | |
virtual double | get_density () const |
Obtain the density [gm/cm^3 ] of carbon black support material. | |
Information and accessors | |
Public Member Functions inherited from FuelCellShop::Material::BaseMaterial | |
void | set_derivative_flags (const std::vector< VariableNames > &flags) |
Set the variables for which you would like to compute the derivatives. | |
const std::string & | name_material () |
Return the name of the layer. | |
virtual void | print_material_properties () const |
This function prints out the material properties. | |
Static Public Attributes | |
static const std::string | concrete_name |
Name of the class. | |
Private Member Functions | |
Constructors, destructor, and parameter initalization | |
CarbonBlack () | |
Constructor The constructor initialize parameters using the default values. | |
virtual void | declare_parameters (ParameterHandler ¶m) const |
Declare parameters. | |
virtual void | set_parameters (const std::vector< std::string > &name_dvar, const std::vector< double > &value_dvar, ParameterHandler ¶m) |
Member function used to change the values in the parameter file for a given list of parameters. | |
virtual void | initialize (ParameterHandler ¶m) |
Member function used to read in data and initialize the necessary data from the parameter file to compute the coefficients. | |
Instance Delivery | |
static CarbonBlack const * | PROTOTYPE |
Create prototype for the layer. | |
virtual boost::shared_ptr < FuelCellShop::Material::CatalystSupportBase > | create_replica () |
This member function is used to create an object of type carbon black material. | |
Additional Inherited Members | |
Static Public Member Functions inherited from FuelCellShop::Material::CatalystSupportBase | |
static void | declare_CatalystSupport_parameters (ParameterHandler ¶m) |
Function used to declare all the data necessary in the parameter files for all CatalystSupportBase children. | |
static void | set_CatalystSupport_parameters (const std::vector< std::string > &name_dvar, const std::vector< double > &value_dvar, ParameterHandler ¶m) |
static boost::shared_ptr < FuelCellShop::Material::CatalystSupportBase > | create_CatalystSupport (ParameterHandler ¶m, std::string support_name) |
Function called in create_CatalystLayer and used to select the appropriate CatalystSupportBase children that will be used in the layer. | |
Protected Types inherited from FuelCellShop::Material::CatalystSupportBase | |
typedef std::map< std::string, FuelCellShop::Material::CatalystSupportBase * > | _mapFactory |
This object is used to store all objects of type CatalystSupportBase. | |
Protected Member Functions inherited from FuelCellShop::Material::CatalystSupportBase | |
CatalystSupportBase () | |
Constructor. | |
CatalystSupportBase (std::string name) | |
Constructor The constructor initialize parameters using the default values. | |
~CatalystSupportBase () | |
Destructor. | |
Static Protected Member Functions inherited from FuelCellShop::Material::CatalystSupportBase | |
static _mapFactory * | get_mapFactory () |
Protected Attributes inherited from FuelCellShop::Material::CatalystSupportBase | |
double | electrical_conductivity |
Electrical conductivity [S/cm ] of catalyst support extrapolated to 100% solid phase. | |
double | thermal_conductivity |
Thermal conductivity [W/ )] of catalyst support extrapolated to 100% solid phase. | |
double | density |
Density of catalyst support [gm/cm^3 ]. | |
Class characterizing a carbon black support.
This material is commonly used in catalyst layers and micro-porous layers.
There are many types of carbon black used in fuel cells such as VulcanXC, Ketjen black, graphatized Ketjen black and HISPEC. Each one of these carbons have different densities and bulk propeties. This class provides an example for further development of other catalyst support objects. Note that in this case the propeties of the material can be modified in the input file. This is done in order to allow for investigation of different properties.
Parameters that can be specified in the input file for this class are as follows:
As with most routines you need to first declare_parameters, then set_parameters (only if using optimization/parameter estimation), then initialize. After this the class is ready for use.
See for example FuelCell::OperatingConditions class for more details.
FuelCellShop::Material::CarbonBlack::CarbonBlack | ( | const bool | ) |
PROTOTYE Constructor.
FuelCellShop::Material::CarbonBlack::~CarbonBlack | ( | ) |
Destructor.
|
private |
Constructor The constructor initialize parameters using the default values.
This is so that if I do not want to call declare_parameters and initialize, I can still use the routine with the hard coded values.
|
inlineprivatevirtual |
This member function is used to create an object of type carbon black material.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
|
privatevirtual |
Declare parameters.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
|
inlinevirtual |
Obtain the density [gm/cm^3
] of carbon black support material.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
References FuelCellShop::Material::CatalystSupportBase::density.
|
inlinevirtual |
Obtain the electrical conductivity [S/cm
] of carbon black support material.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
References FuelCellShop::Material::CatalystSupportBase::electrical_conductivity.
|
inlinevirtual |
Obtain the thermal conductivity [W/
(cm-K
)] of carbon black support material.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
References FuelCellShop::Material::CatalystSupportBase::thermal_conductivity.
|
privatevirtual |
Member function used to read in data and initialize the necessary data from the parameter file to compute the coefficients.
Reimplemented from FuelCellShop::Material::CatalystSupportBase.
|
privatevirtual |
Member function used to change the values in the parameter file for a given list of parameters.
name_dvar
should ideally contain the string as it would appear in the input parameter file.value_dvar
contains the value that the variable should be set at.param
is the ParameterHandler that contains all the information that has been read from file.List of available std::string that can be changed, i.e. name_dvar are
given below:
S/cm
] of carbon black support material.W/
(cm-K
)] of carbon black support material.gm/cm^3
] of carbon black support material. Reimplemented from FuelCellShop::Material::CatalystSupportBase.
|
static |
Name of the class.
This name is used to select the layer.
|
staticprivate |
Create prototype for the layer.