OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
An agglomerate model which considers a combination of agglomerates. More...
#include <poly_agglomerate.h>
Public Member Functions | |
PolyAgglomerate (std::string) | |
PolyAgglomerate () | |
virtual | ~PolyAgglomerate () |
virtual SolutionMap | compute_current () |
Function used to compute the current density produced by the micro structure. More... | |
virtual std::vector< double > | compute_derivative_current () |
Function to compute the derivative of the current density at the local operating conditions. More... | |
virtual bool | has_derivatives () |
Returns true if the class instance can calculate current density derivatives. More... | |
virtual std::string | get_name () |
Return name of class instance, i.e. More... | |
virtual void | print_properties () |
Print out key micro-structural dimensions, defined by child. More... | |
virtual double | aux_volume_fraction () |
MicroScale object may have extra contribution to volume of layer, e.g. More... | |
virtual void | make_thread_safe (ParameterHandler ¶m, unsigned int thread_index) |
Initalization | |
virtual void | set_solution (const std::map< VariableNames, SolutionVariable > &sols, const VariableNames &name, const int &index) |
Function for setting the solution map(reactant concentration, phi_s, phi_m, etc.). More... | |
Public Member Functions inherited from FuelCellShop::MicroScale::MicroScaleBase | |
virtual | ~MicroScaleBase () |
Destructor. More... | |
Static Public Attributes | |
static const std::string | concrete_name |
Protected Member Functions | |
virtual void | declare_parameters (ParameterHandler ¶m) const |
virtual void | initialize (ParameterHandler ¶m) |
virtual void | set_structure () |
Instance Delivery (Private functions) | |
virtual boost::shared_ptr < MicroScaleBase > | create_replica () |
This member function is used to create an object of MicroScaleBase. More... | |
Protected Member Functions inherited from FuelCellShop::MicroScale::MicroScaleBase | |
void | set_layer (FuelCellShop::Layer::MultiScaleCL< deal_II_dimension > *_layer) |
MicroScaleBase () | |
Static Protected Attributes | |
static PolyAgglomerate const * | PROTOTYPE |
Private Attributes | |
MicroSet | micro |
Static Private Attributes | |
static bool | inf_loop_preventor |
static int | num_sub_micro |
Additional Inherited Members | |
Static Public Member Functions inherited from FuelCellShop::MicroScale::MicroScaleBase | |
static void | declare_MicroScale_parameters (ParameterHandler ¶m) |
Function used to declare all the data necessary in the parameter files for all MicroScale children. More... | |
static boost::shared_ptr < FuelCellShop::MicroScale::MicroScaleBase > | create_MicroStructure (ParameterHandler ¶m, FuelCellShop::Layer::MultiScaleCL< deal_II_dimension > *layer) |
Function used to select the appropriate MicroScale type as specified in the ParameterHandler under line. More... | |
Protected Types inherited from FuelCellShop::MicroScale::MicroScaleBase | |
typedef std::map< std::string, MicroScaleBase * > | _mapFactory |
This object is used to store all objects of type MicroScaleBase. More... | |
Static Protected Member Functions inherited from FuelCellShop::MicroScale::MicroScaleBase | |
static _mapFactory * | get_mapFactory () |
This member function is used to create an object of type MicroScaleBase. More... | |
Protected Attributes inherited from FuelCellShop::MicroScale::MicroScaleBase | |
FuelCellShop::Layer::MultiScaleCL < deal_II_dimension > * | layer |
An agglomerate model which considers a combination of agglomerates.
A combination of different micro structural formations may exist within the micro structure of PEFC catalyst layer. This model allows us to assess a combination of different micro structural models
LIST OF INPUT PARAMETERS FOR THE CLASS.
FuelCellShop::MicroScale::PolyAgglomerate::PolyAgglomerate | ( | std::string | ) |
|
inline |
|
virtual |
|
virtual |
MicroScale object may have extra contribution to volume of layer, e.g.
water.
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
virtual |
Function used to compute the current density produced by the micro structure.
Returns current density in [A/cm^3 of solid/liquid phase micro structure]
Solves for solution variables set by the last call to set_solution.
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
inlinevirtual |
Function to compute the derivative of the current density at the local operating conditions.
Returns current density derivatives
Solves for solution variables set by the last call to set_solution.
Call has_derivatives to check if it is OK to call this function.
Reimplemented from FuelCellShop::MicroScale::MicroScaleBase.
|
inlineprotectedvirtual |
This member function is used to create an object of MicroScaleBase.
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
protectedvirtual |
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
inlinevirtual |
Return name of class instance, i.e.
concrete name.
Implements FuelCellShop::MicroScale::MicroScaleBase.
References concrete_name.
|
inlinevirtual |
Returns true if the class instance can calculate current density derivatives.
Call this function if unsure whether or not to call compute_derivative_current.
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
protectedvirtual |
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
virtual |
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
inlinevirtual |
Print out key micro-structural dimensions, defined by child.
Implements FuelCellShop::MicroScale::MicroScaleBase.
References FuelCellShop::MicroScale::MicroSet::at(), FcstUtilities::log, micro, FuelCellShop::MicroScale::MicroSet::size(), and FuelCellShop::MicroScale::MicroSet::volAt().
|
virtual |
Function for setting the solution map(reactant concentration, phi_s, phi_m, etc.).
First argument provide the map of SolutionVariable. The second argument provide the name of the primary reactant. The final argument is the index of the solution map that the micro scale object should solve for.
This function should be called immediatly before compute_current or compute_derivative_current.
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
protectedvirtual |
Implements FuelCellShop::MicroScale::MicroScaleBase.
|
static |
Referenced by get_name().
|
staticprivate |
|
private |
Referenced by print_properties().
|
staticprivate |
|
staticprotected |