16 #ifndef _FUELCELL__APP_DIFFUSION__H
17 #define _FUELCELL__APP_DIFFUSION__H
34 using namespace dealii;
35 using namespace FuelCellShop::Equation::DebugTools;
101 AppDiffusion( boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data =
102 boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >() );
112 virtual void declare_parameters(ParameterHandler& param);
117 virtual void initialize(ParameterHandler& param);
122 virtual void initialize_solution (
FEVector& initial_guess,
123 std::shared_ptr<Function<dim> > initial_function = std::shared_ptr<Function<dim> >());
160 virtual void dirichlet_bc(std::map<unsigned int, double>& boundary_values)
const;
170 virtual void data_out(
const std::string& filename,
181 virtual void bdry_responses(std::vector<double>& dst,
192 unsigned int get_solution_index();
224 boost::shared_ptr<FuelCellShop::Material::PureGas>
solute;
231 boost::shared_ptr<FuelCellShop::Material::PureGas>
solvent;
241 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:118
FuelCell::OperatingConditions OC
Operating conditions.
Definition: app_diffusion.h:219
boost::shared_ptr< FuelCellShop::Layer::GasDiffusionLayer< dim > > CGDL
Cathode GDL.
Definition: app_diffusion.h:241
The application can be used to simulate a gas flow through a porous media.
Definition: app_diffusion.h:91
DebugOutput< dim > equation_debug_output
Object for debug output purposes.
Definition: app_diffusion.h:267
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:544
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
boost::shared_ptr< FuelCellShop::Material::PureGas > solvent
Solvent.
Definition: app_diffusion.h:231
This simple structure stores certain information regarding a particular variable for the equation (al...
Definition: equation_auxiliaries.h:51
FuelCellShop::Equation::FicksTransportEquation< dim > ficks_transport_equation
This object describes the equations that we are going to solve here.
Definition: app_diffusion.h:252
boost::shared_ptr< FuelCellShop::Material::PureGas > solute
Solute.
Definition: app_diffusion.h:224
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
This class deals with Fick's Transport Equation.
Definition: ficks_transport_equation.h:132