OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Class used to evaluate the HOR current density, overpotential and effectiveness at catalyst layer DoF point in the finite element mesh. More...
#include <data_out.h>
Constructors, destructor, and initalization | |
boost::shared_ptr < FuelCellShop::Layer::CatalystLayer < dim > > | catalyst_layer |
Pointer to catalyst layer object. More... | |
FuelCell::SystemManagement * | system_management |
Pointer to system management. More... | |
FuelCell::OperatingConditions * | opCond |
Pointer to operating conditions class. More... | |
std::mutex | catalyst_layer_mutex |
The mutex class used to prevent simultaneous calls to the layer objects from multiple threads. More... | |
std::string | hydrogen_density_name |
Set hydrogen density name. More... | |
HORCurrentDensityDataOut (FuelCell::SystemManagement *, boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > >, FuelCell::OperatingConditions *) | |
Constructor of our class. More... | |
virtual | ~HORCurrentDensityDataOut () |
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... | |
void | set_hydrogen_density_name (std::string name) |
For the case of multi-component solvers, we need to specify which one of the variables contains the oxygen concentration, e.g., density_species_1, density_species_2 and so on. 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 |
Member function used to calculate the current density. More... | |
Class used to evaluate the HOR current density, overpotential and effectiveness at catalyst layer DoF point in the finite element mesh.
Child of DataPostprocessor (deal.II post-processing class used in DataOut class).
See step-29, step-32 and step-33 in the deal.II website for more details about this class.
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.
FuelCellShop::PostProcessing::HORCurrentDensityDataOut< dim >::HORCurrentDensityDataOut | ( | FuelCell::SystemManagement * | , |
boost::shared_ptr< FuelCellShop::Layer::CatalystLayer< dim > > | , | ||
FuelCell::OperatingConditions * | |||
) |
Constructor of our class.
|
inlinevirtual |
Destructor.
|
virtual |
Member function used to calculate the current density.
Its inputs are
The derived quantities are returned in the computed_quantities vector.
Remember that this function may only use data for which the respective update flag is specified by either the constructor or get_needed_update_flags.
|
virtual |
Function that states if the output functions are a scalar or a vector.
|
virtual |
Function that provides the names of the output variables.
In this case, current density, overpotential and effectiveness. The latter is set to one if the model is macro-homogeneous.
|
virtual |
Flags to be updated in each cell when computing the solution.
|
inline |
For the case of multi-component solvers, we need to specify which one of the variables contains the oxygen concentration, e.g., density_species_1, density_species_2 and so on.
Provide this value here.
|
private |
Pointer to catalyst layer object.
|
mutableprivate |
The mutex class used to prevent simultaneous calls to the layer objects from multiple threads.
|
private |
Set hydrogen density name.
|
private |
Pointer to operating conditions class.
|
private |
Pointer to system management.