OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Base class for developing bipolar plate materials. More...
#include <material_plate_base.h>
Public Member Functions | |
MaterialPlateBase (std::string name) | |
Constructor. More... | |
~MaterialPlateBase () | |
Destructor. More... | |
void | declare_parameters (ParameterHandler ¶m) const |
Declare parameters. More... | |
void | initialize (ParameterHandler ¶m) |
Member function used to read in data and initialize the necessary data to compute the coefficients. More... | |
virtual double | get_electron_conductivity () const |
Member function to compute the electron conductivity (Isotropic properties). More... | |
virtual void | get_electron_conductivity_derivative (double &, std::vector< double > &) const |
Member function to compute the derivatives of the electron conductivity (Isotropic properties) with respect to the solution. More... | |
virtual double | get_thermal_conductivity () const |
Member function to compute the thermal conductivity (Isotropic properties). More... | |
virtual void | get_thermal_conductivity_derivative (double &, std::vector< double > &) const |
Member function to compute the derivatives of the thermal conductivity (Isotropic properties) with respect to the solution. More... | |
virtual double | get_youngs_modulus () const |
Member function to compute the Young's modulus (Isotropic properties). More... | |
virtual void | get_youngs_modulus_derivative (double &, std::vector< double > &) const |
Member function to compute the derivatives of the Young's modulus (Isotropic properties) with respect to the solution. More... | |
virtual double | get_poissons_ratio () const |
Member function to compute the Poisson's ratio (Isotropic properties). More... | |
virtual void | get_poissons_modulus_derivative (double &, std::vector< double > &) const |
Member function to compute the derivatives of the Poisson's ratio (Isotropic properties) with respect to the solution. More... | |
virtual double | get_expansion_coefficient () const |
Member function to compute the expansion coefficient (Isotropic properties). More... | |
virtual void | get_expansion_coefficient_derivative (double &E, std::vector< double > &dE) const |
Member function to compute the derivatives of the expansion coefficient (Isotropic properties) with respect to the solution. More... | |
Public Member Functions inherited from FuelCellShop::Material::BaseMaterial | |
void | set_derivative_flags (const std::vector< VariableNames > &flags) |
Set the names of FCST solution variables with respect to which you would like to compute the derivatives of material properties. More... | |
const std::string & | name_material () const |
Return the name of the layer. More... | |
virtual void | print_material_properties () const |
This function prints out the material properties. More... | |
Protected Attributes | |
double | electron_conductivity |
Variable storing electron conductivity. More... | |
std::vector< double > | electron_conductivity_derivative |
Variable storing electron conductivity derivatives. More... | |
double | thermal_conductivity |
Variable storing thermal conductivity. More... | |
std::vector< double > | thermal_conductivity_derivative |
Variable storing thermal conductivity derivatives. More... | |
double | youngs_modulus |
Variable storing Youngs modulus. More... | |
std::vector< double > | youngs_modulus_derivative |
Variable storing Youngs modulus. More... | |
double | poissons_ratio |
Variable storing Poisson ratio. More... | |
std::vector< double > | poissons_ratio_derivative |
Variable storing Poisson modulus. More... | |
double | expansion_coefficient |
Variable storing expansion coefficient ratio. More... | |
std::vector< double > | expansion_coefficient_derivative |
Variable storing expansion coefficient modulus. More... | |
Protected Attributes inherited from FuelCellShop::Material::BaseMaterial | |
const std::string | name |
Name of the layer. More... | |
std::vector< VariableNames > | derivative_flags |
Flags for derivatives: These flags are used to request derivatives of material properties. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FuelCellShop::Material::BaseMaterial | |
BaseMaterial () | |
Constructor. More... | |
BaseMaterial (const std::string &name) | |
Constructor. More... | |
virtual | ~BaseMaterial () |
Destructor. More... | |
Base class for developing bipolar plate materials.
Do not implement a material in this class, this classs is only for setting up the interface. This class returns:
|
inline |
Constructor.
|
inline |
Destructor.
|
inlinevirtual |
Declare parameters.
Reimplemented from FuelCellShop::Material::BaseMaterial.
Reimplemented in FuelCellShop::Material::MaterialPlateGraphite.
References FuelCellShop::Material::BaseMaterial::declare_parameters().
|
inlinevirtual |
Member function to compute the electron conductivity (Isotropic properties).
If the electron conductivity depends on the solution, then the solution is set in member function set_solution(std::vector< std::vector< double > * >, std::vector< std::string >)
Reimplemented in FuelCellShop::Material::MaterialPlateGraphite.
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the derivatives of the electron conductivity (Isotropic properties) with respect to the solution.
The derivative is computed with respect to the variables that you have indicted using the member function set_derivative_flags(std::vector< std::string > &flags).
Reimplemented in FuelCellShop::Material::MaterialPlateGraphite.
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the expansion coefficient (Isotropic properties).
If the thermal conductivity depends on the solution, then the solution is set in member function set_solution(std::vector< std::vector< double > * >, std::vector< std::string >)
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the derivatives of the expansion coefficient (Isotropic properties) with respect to the solution.
The derivative is computed with respect to the variables that you have indicted using the member function set_derivative_flags(std::vector< std::string > &flags).
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the derivatives of the Poisson's ratio (Isotropic properties) with respect to the solution.
The derivative is computed with respect to the variables that you have indicted using the member function set_derivative_flags(std::vector< std::string > &flags).
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the Poisson's ratio (Isotropic properties).
If the thermal conductivity depends on the solution, then the solution is set in member function set_solution(std::vector< std::vector< double > * >, std::vector< std::string >)
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the thermal conductivity (Isotropic properties).
If the thermal conductivity depends on the solution, then the solution is set in member function set_solution(std::vector< std::vector< double > * >, std::vector< std::string >)
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the derivatives of the thermal conductivity (Isotropic properties) with respect to the solution.
The derivative is computed with respect to the variables that you have indicted using the member function set_derivative_flags(std::vector< std::string > &flags).
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the Young's modulus (Isotropic properties).
If the thermal conductivity depends on the solution, then the solution is set in member function set_solution(std::vector< std::vector< double > * >, std::vector< std::string >)
References FcstUtilities::log.
|
inlinevirtual |
Member function to compute the derivatives of the Young's modulus (Isotropic properties) with respect to the solution.
The derivative is computed with respect to the variables that you have indicted using the member function set_derivative_flags(std::vector< std::string > &flags).
References FcstUtilities::log.
|
inlinevirtual |
Member function used to read in data and initialize the necessary data to compute the coefficients.
Reimplemented from FuelCellShop::Material::BaseMaterial.
Reimplemented in FuelCellShop::Material::MaterialPlateGraphite.
References FuelCellShop::Material::BaseMaterial::initialize().
|
protected |
Variable storing electron conductivity.
|
protected |
Variable storing electron conductivity derivatives.
|
protected |
Variable storing expansion coefficient ratio.
|
protected |
Variable storing expansion coefficient modulus.
|
protected |
Variable storing Poisson ratio.
|
protected |
Variable storing Poisson modulus.
|
protected |
Variable storing thermal conductivity.
|
protected |
Variable storing thermal conductivity derivatives.
|
protected |
Variable storing Youngs modulus.
|
protected |
Variable storing Youngs modulus.