OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim > Class Template Reference

Class used to calculate the boundary liquid flux through the boundaries (GDL) in the MEA model. More...

#include <response_water_capillary.h>

Inheritance diagram for FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >:
Collaboration graph
[legend]

Public Member Functions

Constructor, declaration and initialization
 BoundaryLiquidResponse (const FuelCell::SystemManagement &sm)
 
 ~BoundaryLiquidResponse ()
 
void declare_parameters (ParameterHandler &param) const
 
void initialize (ParameterHandler &param)
 Initialize class parameters. More...
 

Compute functional

FuelCellShop::Equation::VariableInfo p_liquid_water
 VariableInfo structure corresponding to the capillary pressure. More...
 
FuelCellShop::Equation::VariableInfo t_rev
 VariableInfo structure corresponding to the temperature. More...
 
void compute_responses (const typename DoFApplication< dim >::FaceInfo &bdry_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 >::FaceInfo &bdry_info, 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...
 

Detailed Description

template<int dim>
class FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >

Class used to calculate the boundary liquid flux through the boundaries (GDL) in the MEA model.

Note that this class will only work if an object of type gas diffusion layer is passed as an argument.

Author
J. Zhou, 2015

Constructor & Destructor Documentation

Member Function Documentation

template<int dim>
void FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >::compute_responses ( const typename DoFApplication< dim >::FaceInfo &  bdry_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.

In order to compute the current density, the following functional is evaluated

\[ I = int_{\Omega} i dV \]

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:

* ORR_responses[FuelCellShop::PostProcessing::ResponsesNames::current]
*

The coverages are accessed using FuelCellShop::PostProcessing::ResponsesNames::O_coverage and FuelCellShop::PostProcessing::ResponsesNames::OH_coverage

template<int dim>
void FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >::compute_responses ( std::vector< FuelCellShop::SolutionVariable solution_variables,
const typename DoFApplication< dim >::FaceInfo &  bdry_info,
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)

template<int dim>
void FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >::declare_parameters ( ParameterHandler &  param) const
template<int dim>
void FuelCellShop::PostProcessing::BoundaryLiquidResponse< dim >::initialize ( ParameterHandler &  param)

Initialize class parameters.

Member Data Documentation

VariableInfo structure corresponding to the capillary pressure.

VariableInfo structure corresponding to the temperature.


The documentation for this class was generated from the following file: