OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Virtual class used to provide the interface for all material classes. More...
#include <base_material.h>
Public Member Functions | |
Initalization | |
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... | |
Accessors and info | |
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 Member Functions | |
Constructors, destructor, and parameter initalization | |
BaseMaterial () | |
Constructor. More... | |
BaseMaterial (const std::string &name) | |
Constructor. More... | |
virtual | ~BaseMaterial () |
Destructor. More... | |
virtual void | declare_parameters (ParameterHandler &) const |
Declare parameters for a parameter file. More... | |
virtual void | initialize (ParameterHandler &) |
Member function used to read in data and initialize the necessary data to compute the coefficients. More... | |
Protected Attributes | |
Internal variables | |
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... | |
Virtual class used to provide the interface for all material classes.
No object of type BaseMaterial should ever be created.
|
inlineprotected |
Constructor.
|
inlineprotected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
|
inlineprotectedvirtual |
Declare parameters for a parameter file.
Reimplemented in FuelCellShop::Material::DummySolid, FuelCellShop::Material::PolymerElectrolyteBase, FuelCellShop::Material::Graphite, FuelCellShop::Material::CatalystBase, FuelCellShop::Material::PureSolid, FuelCellShop::Material::CatalystSupportBase, FuelCellShop::Material::Nafion, FuelCellShop::Material::CarbonBlack, FuelCellShop::Material::GasMixture, FuelCellShop::Material::PureGas, FuelCellShop::Material::Platinum, FuelCellShop::Material::LiquidWater, FuelCellShop::Material::MaterialPlateBase, FuelCellShop::Material::ExperimentalFluid, FuelCellShop::Material::ExperimentalMultiFluid, FuelCellShop::Material::MaterialPlateGraphite, FuelCellShop::Material::ExperimentalSolid, FuelCellShop::Material::FiberBase, and FuelCellShop::Material::CarbonFiber.
References FcstUtilities::log.
Referenced by FuelCellShop::Material::FiberBase::declare_parameters(), and FuelCellShop::Material::MaterialPlateBase::declare_parameters().
|
inlineprotectedvirtual |
Member function used to read in data and initialize the necessary data to compute the coefficients.
Reimplemented in FuelCellShop::Material::DummySolid, FuelCellShop::Material::PolymerElectrolyteBase, FuelCellShop::Material::Graphite, FuelCellShop::Material::CatalystBase, FuelCellShop::Material::PureSolid, FuelCellShop::Material::CatalystSupportBase, FuelCellShop::Material::Nafion, FuelCellShop::Material::CarbonBlack, FuelCellShop::Material::GasMixture, FuelCellShop::Material::PureGas, FuelCellShop::Material::Platinum, FuelCellShop::Material::LiquidWater, FuelCellShop::Material::MaterialPlateBase, FuelCellShop::Material::ExperimentalFluid, FuelCellShop::Material::ExperimentalMultiFluid, FuelCellShop::Material::MaterialPlateGraphite, FuelCellShop::Material::ExperimentalSolid, FuelCellShop::Material::FiberBase, and FuelCellShop::Material::CarbonFiber.
References FcstUtilities::log.
Referenced by FuelCellShop::Material::FiberBase::initialize(), and FuelCellShop::Material::MaterialPlateBase::initialize().
|
inline |
Return the name of the layer.
Referenced by FuelCellShop::Equation::NewFicksTransportEquation< dim >::set_solute_and_solvent(), and FuelCellShop::Equation::FicksTransportEquation< dim >::set_solute_and_solvent().
|
inlinevirtual |
This function prints out the material properties.
Reimplemented in FuelCellShop::Material::GasMixture, FuelCellShop::Material::ExperimentalMultiFluid, and FuelCellShop::Material::ExperimentalFluid.
References FcstUtilities::log.
|
inline |
Set the names of FCST solution variables with respect to which you would like to compute the derivatives of material properties.
|
protected |
Flags for derivatives: These flags are used to request derivatives of material properties.
|
protected |
Name of the layer.
This value is used as a header in a subsection for the parameter file where all the information concerning this layer is held.
Referenced by FuelCellShop::Material::Platinum::set_reaction_kinetics().