26 #ifndef _FCST_APPLICATION_APP_CATHODE_KG_H_ 
   27 #define _FCST_APPLICATION_APP_CATHODE_KG_H_ 
   29 #include <deal.II/base/function_parser.h> 
   44 using namespace dealii;
 
   45 using namespace FuelCell::ApplicationCore;
 
   79             AppCathodeKG( boost::shared_ptr<ApplicationData> data = boost::shared_ptr<ApplicationData>() );
 
   89             virtual void declare_parameters(ParameterHandler& param);
 
   94             virtual void initialize(ParameterHandler& param);
 
  101             virtual void initialize_solution(
FEVector&                        initial_guess,
 
  102                                              std::shared_ptr< Function<dim> > 
function = std::shared_ptr< Function<dim> >());
 
  118             virtual void cell_residual(
FEVector&                                     cell_res,
 
  130             virtual void bdry_residual(
FEVector&                                     bdry_res,
 
  141             virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values) 
const;
 
  151             virtual void data_out(
const std::string& filename,
 
  157             virtual void cell_responses(std::vector<double>&                          dst,
 
  164              virtual void bdry_responses(std::vector<double>&                                                     dst,
 
  180             void make_variable_boundary_data(
FEVector& initial_guess);
 
  190             bool applyScaling = 
false;
 
  220             void set_gas_species(std::map<unsigned int, std::string> tmp, std::vector< FuelCellShop::Material::PureGas* >& gases);
 
  269             bool withCChannel = 
false;
 
  279             boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer<dim> > 
CGDL;
 
  284             boost::shared_ptr< FuelCellShop::Layer::MicroPorousLayer<dim> > 
CMPL;
 
  289             boost::shared_ptr< FuelCellShop::Layer::CatalystLayer<dim> > 
CCL;
 
FuelCellShop::Material::Hydrogen hydrogen
Hydrogen as a part of fluid. 
Definition: app_cathode_KG.h:247
 
FuelCellShop::PostProcessing::HORCurrentDensityResponse< dim > HORCurrent
Post-processing routine to compute the HOR current density. 
Definition: app_cathode_KG.h:326
 
std::string hydrogen_density_name
Set hydrogen density name. 
Definition: app_cathode_KG.h:214
 
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:118
 
FuelCellShop::Material::WaterVapor water
Water vapor as a part of fluid. 
Definition: app_cathode_KG.h:237
 
FuelCellShop::Equation::ProtonTransportEquation< dim > proton_transport_equation
Proton transport equation. 
Definition: app_cathode_KG.h:309
 
boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer< dim > > CGDL
Cathode GDL. 
Definition: app_cathode_KG.h:279
 
FuelCellShop::Material::Nitrogen nitrogen
Nitrogen as a part of fluid. 
Definition: app_cathode_KG.h:242
 
FuelCellShop::Material::GasMixture fluid
Fluid. 
Definition: app_cathode_KG.h:252
 
This class deals with Proton Transport Equation. 
Definition: proton_transport_equation.h:132
 
Class used to calculate the current density at the anode catalyst layer. 
Definition: response_current_density.h:180
 
boost::shared_ptr< FuelCellShop::Layer::MicroPorousLayer< dim > > CMPL
Cathode MPL. 
Definition: app_cathode_KG.h:284
 
FuelCell::OperatingConditions OC
Operating conditions. 
Definition: app_cathode_KG.h:199
 
std::string oxygen_density_name
Set oxygen density name in terms of species_X. 
Definition: app_cathode_KG.h:209
 
This class solves. 
Definition: app_cathode_KG.h:69
 
This class deals with Electron Transport Equation. 
Definition: electron_transport_equation.h:128
 
This class is created for the objects handed to the mesh loops. 
Definition: mesh_loop_info_objects.h:544
 
This class describes properties of pure oxygen. 
Definition: PureGas.h:974
 
Class used to calculate the total mass flux at a boundary. 
Definition: response_mass_flux.h:118
 
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops. 
Definition: matrix_block.h:102
 
This class describes properties of pure nitrogen. 
Definition: PureGas.h:1027
 
boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > > CCL
Cathode CL. 
Definition: app_cathode_KG.h:289
 
FuelCellShop::Layer::Channel< dim > CChannel
Cathode channel. 
Definition: app_cathode_KG.h:262
 
FuelCellShop::Material::Oxygen oxygen
Oxygen as a part of fluid. 
Definition: app_cathode_KG.h:232
 
std::map< unsigned int, std::string > gasSpeciesMap
map relating species number (key) to species material (value) 
Definition: app_cathode_KG.h:204
 
This class describes properties of gas mixtures. 
Definition: GasMixture.h:102
 
FuelCellShop::Equation::ElectronTransportEquation< dim > electron_transport_equation
Electron transport equation. 
Definition: app_cathode_KG.h:304
 
FuelCell::Scaling Scale
Object for performing scaling on equation matrix and residual vector. 
Definition: app_cathode_KG.h:185
 
FuelCellShop::PostProcessing::MassFluxResponse< dim > mass_flux_response
Calculates mass flux. 
Definition: app_cathode_KG.h:330
 
FuelCellShop::PostProcessing::ORRCurrentDensityResponse< dim > ORRCurrent
Post processing routine to compute the ORR current density. 
Definition: app_cathode_KG.h:322
 
This class describes a channel and stores pointers to. 
Definition: channel.h:51
 
Class used to store, read from file and define scaling factors to be applied to equations in equation...
Definition: scaling.h:99
 
FuelCellShop::Equation::CompressibleMultiComponentKGEquationsCoupled< dim > fluid_transport_equations
Kerkhof-Geboers equations. 
Definition: app_cathode_KG.h:299
 
BlockVector< double > FEVector
The vector class used by applications. 
Definition: application_data.h:46
 
The data type used in function calls of Application. 
Definition: fe_vectors.h:59
 
Application handling matrices and assembling the linear system to solve the sensitivity equations...
Definition: optimization_block_matrix_application.h:49
 
FuelCellShop::Equation::ReactionSourceTermsKG< dim > reaction_source_terms
The reaction source terms for all underlying equations. 
Definition: app_cathode_KG.h:314
 
This class describes properties of pure hydrogen. 
Definition: PureGas.h:1081
 
This class assembles the reaction source terms for all other transport equations, if there's any...
Definition: reaction_source_terms_KG.h:35
 
This class implements the multi-component mass transport equations proposed by Kerkhof-Geboers for fl...
Definition: compressible_multi_component_KG_equations_coupled.h:223
 
Class used to calculate the ORR current density and coverages (if provided in the kinetic model) by t...
Definition: response_current_density.h:59
 
This class describes properties of pure WaterVapor. 
Definition: PureGas.h:1134