17 #ifndef _FUELCELLSHOP__POSTPROCESSING__DATAOUT_H
18 #define _FUELCELLSHOP__POSTPROCESSING__DATAOUT_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>
26 #include <numerics/data_out.h>
31 #include <boost/shared_ptr.hpp>
48 using namespace dealii;
50 namespace FuelCellShop
59 namespace PostProcessing
103 public dealii::DataPostprocessor<dim>
125 virtual std::vector<std::string> get_names()
const;
130 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> get_data_component_interpretation ()
const;
135 virtual UpdateFlags get_needed_update_flags()
const;
150 virtual void compute_derived_quantities_vector (
const std::vector< Vector< double > > &uh,
151 const std::vector< std::vector< Tensor< 1, dim > > > & ,
152 const std::vector< std::vector< Tensor< 2, dim > > > & ,
153 const std::vector< Point< dim > > & ,
154 const std::vector< Point<dim> > & ,
155 const types::material_id & mat_id,
156 std::vector< Vector< double > > &computed_quantities)
const;
230 public dealii::DataPostprocessor<dim>
252 virtual std::vector<std::string> get_names()
const;
257 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> get_data_component_interpretation ()
const;
262 virtual UpdateFlags get_needed_update_flags()
const;
277 virtual void compute_derived_quantities_vector (
const std::vector< Vector< double > > &uh,
278 const std::vector< std::vector< Tensor< 1, dim > > > & ,
279 const std::vector< std::vector< Tensor< 2, dim > > > & ,
280 const std::vector< Point< dim > > & ,
281 const std::vector< Point<dim> > & ,
282 const types::material_id & mat_id,
283 std::vector< Vector< double > > &computed_quantities)
const;
363 public dealii::DataPostprocessorScalar<dim>
381 virtual void compute_derived_quantities_vector (
const std::vector< Vector< double > > &uh,
382 const std::vector< std::vector< Tensor< 1, dim > > > & ,
383 const std::vector< std::vector< Tensor< 2, dim > > > & ,
384 const std::vector< Point< dim > > & ,
385 const std::vector< Point<dim> > & ,
386 const types::material_id & mat_id,
387 std::vector< Vector< double > > &computed_quantities)
const;
405 std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer<dim> > >
porous_layers;
466 public dealii::DataPostprocessorScalar<dim>
486 virtual UpdateFlags get_needed_update_flags()
const;
491 virtual void compute_derived_quantities_vector (
const std::vector< Vector< double > > &uh,
492 const std::vector< std::vector< Tensor< 1, dim > > > & ,
493 const std::vector< std::vector< Tensor< 2, dim > > > & ,
494 const std::vector< Point< dim > > & ,
495 const std::vector< Point<dim> > & ,
496 const types::material_id & mat_id,
497 std::vector< Vector< double > > &computed_quantities)
const;
509 std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer<dim> > >
porous_layers;
std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > porous_layers
Vector of pointer to PorousLayer objects.
Definition: data_out.h:405
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:110
FuelCell::OperatingConditions * opCond
Pointer to operating conditions class.
Definition: data_out.h:173
FuelCell::SystemManagement * system_management
Pointer to system management.
Definition: data_out.h:168
FuelCell::OperatingConditions * opCond
Pointer to operating conditions class.
Definition: data_out.h:300
FuelCell::SystemManagement * system_management
Pointer to system management.
Definition: data_out.h:400
virtual ~RelativeHumidityDataOut()
Destructor.
Definition: data_out.h:378
boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > > catalyst_layer
Pointer to catalyst layer object.
Definition: data_out.h:163
std::mutex catalyst_layer_mutex
The mutex class used to prevent simultaneous calls to the layer objects from multiple threads...
Definition: data_out.h:308
virtual ~HORCurrentDensityDataOut()
Destructor.
Definition: data_out.h:245
FuelCell::SystemManagement * system_management
Pointer to system management.
Definition: data_out.h:504
FuelCell::OperatingConditions * opCond
Pointer to operating conditions class.
Definition: data_out.h:410
virtual ~CapillaryPressureDataOut()
Destructor.
Definition: data_out.h:481
FuelCellShop::Material::WaterVapor water
WaterVapor object, used to compute saturation pressure as a function of temperature.
Definition: data_out.h:395
boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > > catalyst_layer
Pointer to catalyst layer object.
Definition: data_out.h:290
std::mutex catalyst_layer_mutex
The mutex class used to prevent simultaneous calls to the layer objects from multiple threads...
Definition: data_out.h:181
virtual ~ORRCurrentDensityDataOut()
Destructor.
Definition: data_out.h:118
Class used to evaluate the capillary pressure at PorousLayer (viz., GDL, MPL and CL) DoF point in the...
Definition: data_out.h:464
std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > porous_layers
Vector of pointer to PorousLayer objects.
Definition: data_out.h:509
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:271
FuelCell::SystemManagement * system_management
Pointer to system management.
Definition: data_out.h:295
Virtual class used to implement properties that are characteristic of a porous layer.
Definition: porous_layer.h:65
Class used to evaluate the HOR current density, overpotential and effectiveness at catalyst layer DoF...
Definition: data_out.h:228
Class used to evaluate the ORR current density, overpotential, effectiveness and the oxygen coverages...
Definition: data_out.h:101
FuelCell::OperatingConditions * opCond
Pointer to operating conditions class.
Definition: data_out.h:514
Virtual class used to provide the interface for all CatalystLayer children.
Definition: catalyst_layer.h:130
This class describes properties of pure WaterVapor.
Definition: PureGas.h:1157
Class used to evaluate the relative humidity at PorousLayer (viz., GDL, MPL and CL) DoF point in the ...
Definition: data_out.h:361