OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
data_out_effective_diffusivity.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------
2 //
3 // FCST: Fuel Cell Simulation Toolbox
4 //
5 // Copyright (C) 2014 by Energy Systems Design Laboratory, University of Alberta
6 //
7 // This software is distributed under the MIT License.
8 // For more information, see the README file in /doc/LICENSE
9 //
10 // - Class: data_out_capillary.h
11 // - Description: This file is used to output all the oxygen diffusivity
12 // - Developers: J. Zhou and M. Secanell 2015
13 //
14 //---------------------------------------------------------------------------
15 
16 #ifndef _FUELCELLSHOP__POSTPROCESSING__DATA_OUT_EFFECTIVE_DIFFUSIVITY_H
17 #define _FUELCELLSHOP__POSTPROCESSING__DATA_OUT_EFFECTIVE_DIFFUSIVITY_H
18 
19 // Include OpenFCST routines:
23 
24 #include <layers/porous_layer.h>
25 #include <materials/PureGas.h>
27 
28 using namespace dealii;
29 
30 namespace FuelCellShop
31 {
39  namespace PostProcessing
40  {
41 
78  template <int dim>
80  :
81  public dealii::DataPostprocessor<dim>
82  {
83  public:
84 
86 
87 
91  std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer<dim> > > ,
93  );
98 
104  virtual std::vector<std::string> get_names() const;
105 
109  virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> get_data_component_interpretation () const;
110 
114  virtual UpdateFlags get_needed_update_flags() const;
115 
129  virtual void compute_derived_quantities_vector (const std::vector< Vector< double > > &uh,
130  const std::vector< std::vector< Tensor< 1, dim > > > & duh,
131  const std::vector< std::vector< Tensor< 2, dim > > > & /*dduh*/,
132  const std::vector< Point< dim > > & /*normals*/,
133  const std::vector< Point<dim> > & /*evaluation_points*/,
134  const types::material_id & mat_id,
135  std::vector< Vector< double > > &computed_quantities) const;
136 
137 
138  private:
142  std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer<dim> > > porous_layers;
143 
148 
153 
154  };
155  }
156 }
157 #endif
std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > porous_layers
Pointer to catalyst layer object.
Definition: data_out_effective_diffusivity.h:142
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:118
FuelCell::OperatingConditions * opCond
Pointer to operating conditions class.
Definition: data_out_effective_diffusivity.h:152
virtual ~OxygenDiffusivityDataOut()
Destructor.
Definition: data_out_effective_diffusivity.h:97
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:300
Class used to evaluate the all liquid related the liquid velocity field in all the layers...
Definition: data_out_effective_diffusivity.h:79
Virtual class used to implement properties that are characteristic of a porous layer.
Definition: porous_layer.h:75
FuelCell::SystemManagement * system_management
Pointer to system management.
Definition: data_out_effective_diffusivity.h:147