OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
FuelCellShop::PostProcessing::SaturationDataOut< dim > Class Template Reference

Class used to output saturation inside the layer. More...

#include <data_out.h>

Inheritance diagram for FuelCellShop::PostProcessing::SaturationDataOut< dim >:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::PostProcessing::SaturationDataOut< dim >:
Collaboration graph
[legend]

Constructors, destructor, and initalization

FuelCell::SystemManagementsystem_management
 Pointer to system management. More...
 
std::vector< boost::shared_ptr
< FuelCellShop::Layer::PorousLayer
< dim > > > 
porous_layers
 Vector of pointer to PorousLayer objects. More...
 
FuelCell::OperatingConditionsopCond
 Pointer to operating conditions class. More...
 
 SaturationDataOut (FuelCell::SystemManagement *, std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > pls, FuelCell::OperatingConditions *)
 Constructor of our class. More...
 
virtual ~SaturationDataOut ()
 Destructor. More...
 
virtual std::vector< std::string > get_names () const
 Function that provides the names of the output variables. More...
 
virtual std::vector
< DataComponentInterpretation::DataComponentInterpretation > 
get_data_component_interpretation () const
 Function that states if the output functions are a scalar or a vector. More...
 
virtual UpdateFlags get_needed_update_flags () const
 Flags to be updated in each cell when computing the solution. More...
 
virtual void compute_derived_quantities_vector (const std::vector< Vector< double > > &uh, const std::vector< std::vector< Tensor< 1, dim > > > &, const std::vector< std::vector< Tensor< 2, dim > > > &, const std::vector< Point< dim > > &, const std::vector< Point< dim > > &, const types::material_id &mat_id, std::vector< Vector< double > > &computed_quantities) const
 
 SaturationDataOut (FuelCell::SystemManagement *, std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > pls, FuelCell::OperatingConditions *)
 Constructor of our class. More...
 
virtual ~SaturationDataOut ()
 Destructor. More...
 
virtual std::vector< std::string > get_names () const
 Function that provides the names of the output variables. More...
 
virtual std::vector
< DataComponentInterpretation::DataComponentInterpretation > 
get_data_component_interpretation () const
 Function that states if the output functions are a scalar or a vector. More...
 
virtual UpdateFlags get_needed_update_flags () const
 Flags to be updated in each cell when computing the solution. More...
 
virtual void compute_derived_quantities_vector (const std::vector< Vector< double > > &uh, const std::vector< std::vector< Tensor< 1, dim > > > &, const std::vector< std::vector< Tensor< 2, dim > > > &, const std::vector< Point< dim > > &, const std::vector< Point< dim > > &, const types::material_id &mat_id, std::vector< Vector< double > > &computed_quantities) const
 

Detailed Description

template<int dim>
class FuelCellShop::PostProcessing::SaturationDataOut< dim >

Class used to output saturation inside the layer.

Class used to evaluate the saturation.

This class is used in the data_out section of any application. It requires a pointer to SystemManagement, a pointer to the catalyst layer object for which you would like to compute the current density, and a pointer to OperatingConditions object.

* AppCathode<dim>::SaturationDataOut(const std::string& filename,
*
* // --- Find solution and assign solution interpretations ---
* (...)
*
* // --- Create vector of PostProcessing objects ---
* std::vector< DataPostprocessor<dim>* > PostProcessing;
*
* // --- RHSData_KelvinOut ---
* FuelCellShop::PostProcessing::SaturationDataOut<dim> RHSData_KelvinOut(&this->system_management,porous_layers , &OC);
* PostProcessing.push_back(&RHSData_KelvinOut);
*
* // Outputting
* DoFApplication<dim>::data_out(filename,
* solution, // This is initialized in the initial part of the data_out function
* PostProcessing);
*
Author
J. Zhou, 2015

Constructor & Destructor Documentation

Constructor of our class.

template<int dim>
virtual FuelCellShop::PostProcessing::SaturationDataOut< dim >::~SaturationDataOut ( )
inlinevirtual

Destructor.

Constructor of our class.

template<int dim>
virtual FuelCellShop::PostProcessing::SaturationDataOut< dim >::~SaturationDataOut ( )
inlinevirtual

Destructor.

Member Function Documentation

template<int dim>
virtual void FuelCellShop::PostProcessing::SaturationDataOut< dim >::compute_derived_quantities_vector ( const std::vector< Vector< double > > &  uh,
const std::vector< std::vector< Tensor< 1, dim > > > &  ,
const std::vector< std::vector< Tensor< 2, dim > > > &  ,
const std::vector< Point< dim > > &  ,
const std::vector< Point< dim > > &  ,
const types::material_id &  mat_id,
std::vector< Vector< double > > &  computed_quantities 
) const
virtual
template<int dim>
virtual void FuelCellShop::PostProcessing::SaturationDataOut< dim >::compute_derived_quantities_vector ( const std::vector< Vector< double > > &  uh,
const std::vector< std::vector< Tensor< 1, dim > > > &  ,
const std::vector< std::vector< Tensor< 2, dim > > > &  ,
const std::vector< Point< dim > > &  ,
const std::vector< Point< dim > > &  ,
const types::material_id &  mat_id,
std::vector< Vector< double > > &  computed_quantities 
) const
virtual
template<int dim>
virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_data_component_interpretation ( ) const
virtual

Function that states if the output functions are a scalar or a vector.

template<int dim>
virtual std::vector<DataComponentInterpretation::DataComponentInterpretation> FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_data_component_interpretation ( ) const
virtual

Function that states if the output functions are a scalar or a vector.

template<int dim>
virtual std::vector<std::string> FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_names ( ) const
virtual

Function that provides the names of the output variables.

In this case, current density, overpotential, effectiveness, and oxygen coverages (if applicable). The latter is set to one if the model is macro-homogeneous.

template<int dim>
virtual std::vector<std::string> FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_names ( ) const
virtual

Function that provides the names of the output variables.

In this case, current density, overpotential, effectiveness, and oxygen coverages (if applicable). The latter is set to one if the model is macro-homogeneous.

template<int dim>
virtual UpdateFlags FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_needed_update_flags ( ) const
virtual

Flags to be updated in each cell when computing the solution.

template<int dim>
virtual UpdateFlags FuelCellShop::PostProcessing::SaturationDataOut< dim >::get_needed_update_flags ( ) const
virtual

Flags to be updated in each cell when computing the solution.

Member Data Documentation

Pointer to operating conditions class.

template<int dim>
std::vector< boost::shared_ptr< FuelCellShop::Layer::PorousLayer< dim > > > FuelCellShop::PostProcessing::SaturationDataOut< dim >::porous_layers
private

Vector of pointer to PorousLayer objects.

template<int dim>
FuelCell::SystemManagement * FuelCellShop::PostProcessing::SaturationDataOut< dim >::system_management
private

Pointer to system management.


The documentation for this class was generated from the following files: