OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Class used to calculate the heat generated due to sorption of water inside the catalyst layer. More...
#include <response_sorption_heat.h>
Public Member Functions | |
Constructor, declaration and initialization | |
SorptionHeatResponse (const FuelCell::SystemManagement &sm, const FuelCellShop::Equation::SorptionSourceTerms< dim > *sst) | |
~SorptionHeatResponse () | |
void | initialize (ParameterHandler ¶m) |
Initialize class. More... | |
Compute functional | |
void | compute_responses (const typename DoFApplication< dim >::CellInfo &info, FuelCellShop::Layer::BaseLayer< dim > *const layer, std::map< FuelCellShop::PostProcessing::ResponsesNames, double > &respMap) const |
This member function computes the heat generated due to sorption inside the 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 > &respMap) const |
Routine used in order to compute the response with a modified solution (not the one stored in CellInfo object.) More... | |
Private Attributes | |
const FuelCellShop::Equation::SorptionSourceTerms < dim > * | sorption_source |
Pointer to SorptionSourceTerms object. More... | |
FuelCellShop::Equation::VariableInfo | xWater |
VariableInfo structure corresponding to the "water_molar_fraction" . More... | |
FuelCellShop::Equation::VariableInfo | lambda |
VariableInfo structure corresponding to the "membrane_water_content" . More... | |
FuelCellShop::Equation::VariableInfo | tRev |
VariableInfo structure corresponding to the "temperature_of_REV" . More... | |
double | time_constant |
Time constant, [1/s ]. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FuelCellShop::PostProcessing::BaseResponse< dim > | |
BaseResponse (const FuelCell::SystemManagement &sm) | |
Constructor. More... | |
virtual | ~BaseResponse () |
Destructor. More... | |
virtual void | declare_parameters (ParameterHandler ¶m) const |
Declare any necessary parameters to compute the functional. More... | |
Protected Attributes inherited from FuelCellShop::PostProcessing::BaseResponse< dim > | |
const FuelCell::SystemManagement * | system_management |
Pointer to system management. More... | |
Class used to calculate the heat generated due to sorption of water inside the catalyst layer.
This class returns the total heat generated due to sorption inside the layer, i.e.
Applications can divide the obtained total quantity by surface area, volume etc. of the layer, in order to determine surface density, volumetric density etc.
In order to use this classes, first add them to your application as an object.
In the class constructor, construct the class passing SystemManagement and SorptionSourceTerms object. These objects are used in order to find the solution variables as appropriate, and flag parameters.
Note that unlike some response classes, this class is not required to declare parameters, as it is already deriving flag parameters from SorptionSourceTerms object.
Next, the object has to be initialized once SystemManagement and SorptionSourceTerms objects have already been initialized:
Finally, the object is ready for use in cell_responses in your application:
|
inline |
|
inline |
|
virtual |
This member function computes the heat generated due to sorption inside the layer.
In order to access the sorption heat generated at the layer use:
Implements FuelCellShop::PostProcessing::BaseResponse< dim >.
|
inlinevirtual |
Routine used in order to compute the response with a modified solution (not the one stored in CellInfo object.)
Implements FuelCellShop::PostProcessing::BaseResponse< dim >.
|
virtual |
Initialize class.
This function basically checks for various pre-requisites such as, certain solution variables are solved for in the application.
Reimplemented from FuelCellShop::PostProcessing::BaseResponse< dim >.
|
private |
VariableInfo structure corresponding to the "membrane_water_content"
.
|
private |
Pointer to SorptionSourceTerms object.
|
private |
Time constant, [1/s
].
|
private |
VariableInfo structure corresponding to the "temperature_of_REV"
.
|
private |
VariableInfo structure corresponding to the "water_molar_fraction"
.