17 #ifndef _FUELCELLSHOP__RESPONSE_REACTION_HEAT_H
18 #define _FUELCELLSHOP__RESPONSE_REACTION_HEAT_H
21 #include <base/parameter_handler.h>
22 #include <base/point.h>
23 #include <base/function.h>
24 #include <lac/vector.h>
25 #include <fe/fe_values.h>
44 using namespace dealii;
46 namespace FuelCellShop
49 namespace PostProcessing
128 reaction_source(rst),
134 delete reaction_heat;
142 void initialize(ParameterHandler& param);
168 std::map<FuelCellShop::PostProcessing::ResponsesNames, double>& respMap)
const;
179 std::map<FuelCellShop::PostProcessing::ResponsesNames, double>& respMap)
const
181 throw std::runtime_error(
"ORRReactionHeatResponse::compute_responses(solution_variables, info, layer, respMap) not implemented");
309 reaction_source(rst),
315 delete reaction_heat;
323 void initialize(ParameterHandler& param);
346 std::map<FuelCellShop::PostProcessing::ResponsesNames, double>& respMap)
const;
357 std::map<FuelCellShop::PostProcessing::ResponsesNames, double>& respMap)
const
359 throw std::runtime_error(
"HORReactionHeatResponse::compute_responses(solution_variables, info, layer, respMap) not implemented");
const unsigned int dim
Definition: fcst_constants.h:24
FuelCellShop::Equation::ReactionHeat * reaction_heat
Pointer to ReactionHeat object.
Definition: response_reaction_heat.h:200
FuelCellShop::Kinetics::BaseKinetics * kinetics
Pointer to BaseKinetics object.
Definition: response_reaction_heat.h:372
Class used to calculate the heat generated due to HOR inside the anode catalyst layer.
Definition: response_reaction_heat.h:300
~HORReactionHeatResponse()
Definition: response_reaction_heat.h:313
FuelCellShop::Equation::VariableInfo tRev
VariableInfo structure corresponding to the "temperature_of_REV".
Definition: response_reaction_heat.h:408
FuelCellShop::Equation::VariableInfo phiS
VariableInfo structure corresponding to the "electronic_electrical_potential".
Definition: response_reaction_heat.h:212
const FuelCellShop::Equation::ReactionSourceTerms< dim > * reaction_source
Pointer to ReactionSourceTerms object.
Definition: response_reaction_heat.h:189
Virtual class used to develop a common interface to a set of functions used to evaluate functionals t...
Definition: base_response.h:129
FuelCellShop::Equation::VariableInfo xWater
VariableInfo structure corresponding to the "water_molar_fraction".
Definition: response_reaction_heat.h:390
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:625
~ORRReactionHeatResponse()
Definition: response_reaction_heat.h:132
const FuelCellShop::Equation::ReactionSourceTerms< dim > * reaction_source
Pointer to ReactionSourceTerms object.
Definition: response_reaction_heat.h:367
Class used to calculate the heat generated due to ORR inside the cathode catalyst layer...
Definition: response_reaction_heat.h:119
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 CellInf...
Definition: response_reaction_heat.h:176
Virtual class used to provide the interface for all kinetic/reaction children.
Definition: base_kinetics.h:107
FuelCellShop::Kinetics::BaseKinetics * kinetics
Pointer to BaseKinetics object.
Definition: response_reaction_heat.h:194
FuelCellShop::Equation::VariableInfo tRev
VariableInfo structure corresponding to the "temperature_of_REV".
Definition: response_reaction_heat.h:224
This class assembles the reaction source terms for all other transport equations, if there's any...
Definition: reaction_source_terms.h:60
FuelCellShop::Equation::VariableInfo phiS
VariableInfo structure corresponding to the "electronic_electrical_potential".
Definition: response_reaction_heat.h:396
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:271
This simple structure stores certain information regarding a particular variable for the equation (al...
Definition: equation_base.h:121
FuelCellShop::Equation::VariableInfo xOxygen
VariableInfo structure corresponding to the "oxygen_molar_fraction".
Definition: response_reaction_heat.h:206
FuelCellShop::Equation::VariableInfo phiM
VariableInfo structure corresponding to the "protonic_electrical_potential".
Definition: response_reaction_heat.h:218
FuelCellShop::Equation::ReactionHeat * reaction_heat
Pointer to ReactionHeat object.
Definition: response_reaction_heat.h:378
Virtual class used to characterize a generic layer interface.
Definition: base_layer.h:58
HORReactionHeatResponse(const FuelCell::SystemManagement &sm, const FuelCellShop::Equation::ReactionSourceTerms< dim > *rst)
Definition: response_reaction_heat.h:305
This class is used to compute non-linear reaction heat source terms in a catalyst layer...
Definition: reaction_heat.h:94
FuelCellShop::Equation::VariableInfo phiM
VariableInfo structure corresponding to the "protonic_electrical_potential".
Definition: response_reaction_heat.h:402
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 CellInf...
Definition: response_reaction_heat.h:354
FuelCellShop::Equation::VariableInfo xHydrogen
VariableInfo structure corresponding to the "hydrogen_molar_fraction".
Definition: response_reaction_heat.h:384
ORRReactionHeatResponse(const FuelCell::SystemManagement &sm, const FuelCellShop::Equation::ReactionSourceTerms< dim > *rst)
Definition: response_reaction_heat.h:124