This class defines a SGL-24-BA GDL, for which effective transport properties are constant.
More...
|
|
void | effective_gas_diffusivity (Table< 2, Tensor< 2, dim > > &) const |
| Returns the effective diffusivity of the media.
|
|
void | effective_electron_conductivity (Tensor< 2, dim > &) const |
| Returns the effective electron conductivity of the media.
|
|
void | effective_thermal_conductivity (Tensor< 2, dim > &) const |
| Returns the effective thermal conductivity of the media.
|
|
virtual void | set_diffusion_species_name (std::string &name) |
| Member function used by some applications such as dummyGDL in order to know which value to return.
|
|
const std::type_info & | get_base_type () const |
| This member function returns a type_info object with the name of the base layer type the inherited class belongs to, i.e.
|
|
virtual void | test_class () const |
| Class test.
|
|
virtual void | effective_gas_diffusivity (const double &, double &) const |
| Return the effective diffusivty in the GDL.
|
|
virtual void | effective_gas_diffusivity (const double &, Tensor< 2, dim > &) const |
| Return the effective diffusivty in the GDL.
|
|
virtual void | effective_gas_diffusivity (Table< 2, double > &D_eff) const |
| Return the effective diffusivty in the GDL for all the gases assigned to the layer using set_gases_and_compute.
|
|
virtual void | derivative_effective_gas_diffusivity (std::vector< Table< 2, Tensor< 2, dim > > > &) const |
| Return the derivative of the effective gas diffusion in the GDL with respect to either the solution or design parameters for all the gases assigned to the layer using set_gases_and_compute.
|
|
virtual void | effective_electron_conductivity (double &) const |
| Compute the effective electron conductivity in the GDL.
|
|
virtual void | effective_electron_conductivity (const double &, double &) const |
| Compute the effective electron conductivity in the GDL.
|
|
virtual void | effective_electron_conductivity (const double &, Tensor< 2, dim > &) const |
| Compute the effective electron conductivity in the GDL.
|
|
virtual void | derivative_effective_electron_conductivity (std::vector< Tensor< 2, dim > > &) const |
| Compute the derivative of the effective electron conductivity in the GDL with respect to either the solution or design parameters.
|
|
virtual void | gas_permeablity (double &) const |
| Compute the GDL gas permeability.
|
|
virtual void | gas_permeablity (Tensor< 2, dim > &) const |
| Compute the GDL gas permeability.
|
|
virtual void | derivative_gas_permeablity (std::vector< Tensor< 2, dim > > &) const |
| Compute the derivative of the effective gas permeability in the GDL with respect to either the solution or design parameters.
|
|
virtual void | liquid_permeablity (double &) const |
| Compute the GDL liquid permeability.
|
|
virtual void | liquid_permeablity (Tensor< 2, dim > &) const |
| Compute the GDL liquid permeability.
|
|
virtual void | derivative_liquid_permeablity (std::vector< Tensor< 2, dim > > &) const |
| Compute the derivative of the effective gas diffusion in the GDL with respect to either the solution or design parameters.
|
|
void | set_gases_and_compute (std::vector< FuelCellShop::Material::PureGas * > &gases_in, const double &pressure_in, const double &temperature_in) |
| Member function used to store all the gases that are in the pore space in the gas diffusion layer as well as their temperature [Kelvin ] and total pressure [atm ].
|
|
void | compute_gas_diffusion (FuelCellShop::Material::PureGas *solute_gas, FuelCellShop::Material::PureGas *solvent_gas) |
| Member function used to compute bulk diffusion coefficients and derivatives w.r.t temperature for non-isothermal case and store inside the layer.
|
|
void | set_gases (std::vector< FuelCellShop::Material::PureGas * > &gases_in, const double &pressure_in) |
| Member function used to store all the gases that are in the pore space in the porous layer.
|
|
void | set_temperature (const SolutionVariable &T_in) |
| Member function used to set the temperature ]Kelvin ] at every quadrature point inside the cell.
|
|
FuelCellShop::Material::PureGas * | get_gas_pointer (int index) const |
| Return the FuelCellShop::Material::PureGas pointer that is stored inside the class in the ith position.
|
|
std::vector
< FuelCellShop::Material::PureGas * > | get_gases () const |
| Returns the vector of FuelCellShop::Material::PureGas pointers stored in the porous layer.
|
|
void | get_gas_index (FuelCellShop::Material::PureGas *gas_type, int &index) const |
| Return the gas index in the GDL class.
|
|
void | get_T_and_p (double &T, double &p) const |
| Return the constant temperature [Kelvin ] and constant pressure [atm ] inside the layer.
|
|
void | get_p (double &p) const |
| Return the constant pressure [atm ] inside the layer.
|
|
virtual void | print_layer_properties () const |
| This member function is a virtual class that can be used to output to screen information from the layer.
|
|
virtual bool | test_layer () const |
| This virtual class should be used for any derived class to be able to test the functionality of the class.
|
|
virtual void | set_derivative_flags (const std::vector< VariableNames > &flags) |
| Set the variables for which you would like to compute the derivatives.
|
|
void | set_position (std::vector< Point< dim > > &p) |
| Member function used by some applications such as dummyGDL in order to know which value to return.
|
|
virtual void | set_constant_solution (const double &value, const VariableNames &name) |
| Set those solution variables which are constant in the particular application.
|
|
virtual void | set_solution (const std::vector< SolutionVariable > &) |
| If the effective properties in the layer depend on the solution, the solution for a given cell should be passed to the class using this member function.
|
|
bool | belongs_to_material (const char material_id) |
| Check if a given cell belongs to the catalyst layer.
|
|
const std::string & | name_material () |
| Return the name of the layer.
|
|
virtual bool | test_layer () |
| This virtual class should be used for any derived class to be able to test the functionality of the class.
|
|
unsigned int | get_material_id () |
| Return the material id of the layer.
|
|
|
static void | declare_GasDiffusionLayer_parameters (const std::string &gld_section_name, ParameterHandler ¶m) |
| Function used to declare all the data necessary in the parameter files for all GasDiffusionLayer children.
|
|
static void | set_GasDiffusionLayer_parameters (const std::vector< std::string > &name_dvar, const std::vector< double > &value_dvar, std::string gld_section_name, ParameterHandler ¶m) |
|
static boost::shared_ptr
< FuelCellShop::Layer::GasDiffusionLayer
< dim > > | create_GasDiffusionLayer (const std::string &gld_section_name, ParameterHandler ¶m) |
| Function used to select the appropriate GasDiffusionLayer type as specified in the ParameterHandler under line.
|
|
typedef std::map< std::string,
GasDiffusionLayer< dim > * > | _mapFactory |
| This object is used to store all objects of type GasDiffusionLayer.
|
|
| GasDiffusionLayer () |
| Replica Constructors.
|
|
| ~GasDiffusionLayer () |
| Destructor.
|
|
| GasDiffusionLayer (const std::string &name) |
| Constructor.
|
|
virtual void | set_parameters (const std::vector< std::string > &name_dvar, const std::vector< double > &value_dvar, const std::string &name, ParameterHandler ¶m) const |
| Member function used to set new parameters values in the optimization loop.
|
|
void | initialize (ParameterHandler ¶m) |
| Member function used to read in data and initialize the necessary data to compute the coefficients.
|
|
static _mapFactory * | get_mapFactory () |
|
std::string | diffusion_species_name |
| If GDL properties are stored inside the class (e.g.
|
|
double | porosity |
| Porosity of the GDL.
|
|
Tensor< 2, dim > | tortuosity_tensor |
| Tortuosity tensor of the GDL.
|
|
double | electron_conductivity |
| Double storing the electric conductivity of the GDL is the layer is isotropic.
|
|
Tensor< 2, dim > | electron_conductivity_tensor |
| Tensor storing the effective electronic conductivity of the layer.
|
|
template<int dim>
class FuelCellShop::Layer::SGL24BA< dim >
This class defines a SGL-24-BA GDL, for which effective transport properties are constant.
- Todo:
- Effective electron and thermal properties are estimates. Better values need to be obtained from the literature for accurate use of this class. The values for the electron and thermal conducitivities should be added to the constructor (lines 26-34 in SGL_24_BA.cc)
- Todo:
- Premeability values also needed.