17 #ifndef _FUELCELL__APP_OHMIC__H
18 #define _FUELCELL__APP_OHMIC__H
21 #include "base/parameter_handler.h"
22 #include "base/function_lib.h"
23 #include "base/function.h"
24 #include "base/quadrature_lib.h"
26 #include "lac/block_vector.h"
27 #include "lac/full_matrix.h"
28 #include "lac/solver_cg.h"
29 #include "lac/solver_gmres.h"
30 #include "lac/precondition.h"
31 #include "lac/precondition_block.h"
32 #include "lac/block_matrix_array.h"
33 #include "lac/sparse_ilu.h"
34 #include "lac/sparse_direct.h"
36 #include "grid/grid_generator.h"
37 #include "grid/tria_accessor.h"
38 #include "grid/tria_iterator.h"
39 #include "grid/tria_boundary_lib.h"
41 #include "fe/fe_values.h"
43 #include "numerics/vector_tools.h"
44 #include "numerics/matrix_tools.h"
46 #include "boost/shared_ptr.hpp"
83 using namespace dealii;
146 AppOhmic( boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data =
147 boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >() );
157 virtual void declare_parameters(ParameterHandler& param);
162 virtual void initialize(ParameterHandler& param);
167 virtual void initialize_solution (
FEVector& initial_guess,
168 std::shared_ptr<Function<dim> > initial_function = std::shared_ptr<Function<dim> >());
195 virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values)
const;
205 virtual void data_out(
const std::string& filename,
216 virtual void bdry_responses(std::vector<double>& dst,
258 boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer<dim> >
CGDL;
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:110
This class deals with Electron Transport Equation.
Definition: electron_transport_equation.h:130
FuelCell::OperatingConditions OC
Operating conditions.
Definition: app_ohmic.h:245
FuelCellShop::Material::Nitrogen nitrogen
Definition: app_ohmic.h:249
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:625
This class describes properties of pure oxygen.
Definition: PureGas.h:980
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
The application can be used to simulate a electron transport through a porous media.
Definition: app_ohmic.h:136
This class describes properties of pure nitrogen.
Definition: PureGas.h:1039
FuelCellShop::Equation::ElectronTransportEquation< dim > electron_transport_equation
This object describes the equations that we are going to solve here.
Definition: app_ohmic.h:269
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:39
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:62
boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer< dim > > CGDL
Cathode GDL.
Definition: app_ohmic.h:258
FuelCellShop::Material::Oxygen oxygen
Definition: app_ohmic.h:247