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::PhaseChangeResponse< dim > Class Template Reference

Class used to calculate the evaporated liquid water in CCL. More...

#include <response_water_capillary.h>

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

Public Member Functions

Constructor, declaration and initialization
 PhaseChangeResponse (const FuelCell::SystemManagement &sm)
 
 ~PhaseChangeResponse ()
 
void declare_parameters (ParameterHandler &param) const
 Declare any necessary parameters to compute the functional. More...
 
void initialize (ParameterHandler &param)
 Initialize class parameters. More...
 

Compute functional

FuelCellShop::Equation::VariableInfo t_rev
 VariableInfo structure corresponding to the temperature. More...
 
FuelCellShop::Equation::VariableInfo p_liquid_water
 VariableInfo structure corresponding to the capillary pressure. More...
 
FuelCellShop::Equation::VariableInfo x_water
 VariableInfo structure corresponding to the water vapor. More...
 
double evaporation_rate_constant
 Evaporation rate of liquid water. More...
 
double condensation_rate_constant
 Condensation rate of liquid water. 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 evaporated water in the catalyst layer. 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::SystemManagementsystem_management
 Pointer to system management. More...
 

Detailed Description

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

Class used to calculate the evaporated liquid water in CCL.

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

Author
J. Zhou, 2015

Constructor & Destructor Documentation

Member Function Documentation

template<int dim>
void FuelCellShop::PostProcessing::PhaseChangeResponse< dim >::compute_responses ( const typename DoFApplication< dim >::CellInfo &  info,
FuelCellShop::Layer::BaseLayer< dim > *const  layer,
std::map< FuelCellShop::PostProcessing::ResponsesNames, double > &  resp 
) const
virtual

This member function computes the evaporated water in the catalyst layer.

In order to access the water evaporated at the electrode use:

* PhaseChangeResponse[FuelCellShop::PostProcessing::ResponsesNames::Evaporated_water]
*

Implements FuelCellShop::PostProcessing::BaseResponse< dim >.

template<int dim>
void FuelCellShop::PostProcessing::PhaseChangeResponse< dim >::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
virtual

Routine used in order to compute the response with a modified solution (not the one stored in info)

Implements FuelCellShop::PostProcessing::BaseResponse< dim >.

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

Declare any necessary parameters to compute the functional.

Reimplemented from FuelCellShop::PostProcessing::BaseResponse< dim >.

template<int dim>
void FuelCellShop::PostProcessing::PhaseChangeResponse< dim >::initialize ( ParameterHandler &  param)
virtual

Initialize class parameters.

Reimplemented from FuelCellShop::PostProcessing::BaseResponse< dim >.

Member Data Documentation

template<int dim>
double FuelCellShop::PostProcessing::PhaseChangeResponse< dim >::condensation_rate_constant
private

Condensation rate of liquid water.

template<int dim>
double FuelCellShop::PostProcessing::PhaseChangeResponse< dim >::evaporation_rate_constant
private

Evaporation rate of liquid water.

VariableInfo structure corresponding to the capillary pressure.

VariableInfo structure corresponding to the temperature.

VariableInfo structure corresponding to the water vapor.


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