OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Class used to calculate the current density at the anode catalyst layer. More...
#include <response_current_density.h>
Public Member Functions | |
Constructor, declaration and initialization | |
HORCurrentDensityResponse (const FuelCell::SystemManagement &sm) | |
~HORCurrentDensityResponse () | |
void | declare_parameters (ParameterHandler ¶m) const |
Declare any necessary parameters to compute the functional. More... | |
void | initialize (ParameterHandler ¶m) |
Initialize class parameters. More... | |
Compute functional | |
double | S_CL |
Surface area. More... | |
double | V_CL |
Volume. More... | |
FuelCellShop::Equation::VariableInfo | phiM |
VariableInfo structure corresponding to the reactant_molar_fraction. More... | |
FuelCellShop::Equation::VariableInfo | phiS |
VariableInfo structure corresponding to the electronic phase potential. More... | |
void | compute_responses (const typename DoFApplication< dim >::CellInfo &info, FuelCellShop::Layer::BaseLayer< dim > *const layer, std::map< FuelCellShop::PostProcessing::ResponsesNames, double > &resp) const |
This member function computes the volumetric current density produced inside the electrode due to the oxygen reduction reaction. More... | |
void | compute_responses (std::vector< FuelCellShop::SolutionVariable > solution_variables, const typename DoFApplication< dim >::CellInfo &info, FuelCellShop::Layer::BaseLayer< dim > *const layer, std::map< FuelCellShop::PostProcessing::ResponsesNames, double > &resp) const |
Routine used in order to compute the response with a modified solution (not the one stored in info) More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FuelCellShop::PostProcessing::BaseResponse< dim > | |
BaseResponse (const FuelCell::SystemManagement &sm) | |
Constructor. More... | |
virtual | ~BaseResponse () |
Destructor. More... | |
Protected Attributes inherited from FuelCellShop::PostProcessing::BaseResponse< dim > | |
const FuelCell::SystemManagement * | system_management |
Pointer to system management. More... | |
Class used to calculate the current density at the anode catalyst layer.
Since the surface area and volume of the catalyst layer is not known, the layer return the total current density produced, i.e.
In order for the class to provide current density and average coverage, the returned quantity has to be divided by surface area and catalyst layer volume respectively. If the surface area and volume are known at the input file, they can be specified and the quantities will automatically be corrected.
Note that this class will only work if an object of type CatalystLayer is passed as an argument.
|
inline |
|
inline |
|
virtual |
This member function computes the volumetric current density produced inside the electrode due to the oxygen reduction reaction.
In order to compute the current density, the following functional is evaluated
In addition, if the catalyst layer uses a kinetic model that provides coverages those values are also provided in the response parameter, i.e., resp.
In order to access the current produced at the electrode use:
The coverages are accessed using FuelCellShop::PostProcessing::ResponsesNames::O_coverage and FuelCellShop::PostProcessing::ResponsesNames::OH_coverage
Implements FuelCellShop::PostProcessing::BaseResponse< dim >.
|
virtual |
Routine used in order to compute the response with a modified solution (not the one stored in info)
Implements FuelCellShop::PostProcessing::BaseResponse< dim >.
|
virtual |
Declare any necessary parameters to compute the functional.
Reimplemented from FuelCellShop::PostProcessing::BaseResponse< dim >.
|
virtual |
Initialize class parameters.
Reimplemented from FuelCellShop::PostProcessing::BaseResponse< dim >.
|
private |
VariableInfo structure corresponding to the reactant_molar_fraction.
VariableInfo structure corresponding to the electrolyte potential.
|
private |
VariableInfo structure corresponding to the electronic phase potential.
|
private |
Surface area.
|
private |
Volume.