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::Material::ExperimentalMultiFluid Class Reference

This class describes. More...

#include <experimental_multi_fluid.h>

Inheritance diagram for FuelCellShop::Material::ExperimentalMultiFluid:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::Material::ExperimentalMultiFluid:
Collaboration graph
[legend]

Public Member Functions

Constructors, destructor, and initialization
 ExperimentalMultiFluid (const std::string &name)
 Constructor. More...
 
virtual ~ExperimentalMultiFluid ()
 Destructor. More...
 
virtual void declare_parameters (ParameterHandler &param) const
 Declare parameters. More...
 
virtual void initialize (ParameterHandler &param)
 Initialize parameters. More...
 
Accessors and info
const unsigned int & get_number_of_species () const
 This function returns n_species. More...
 
const double & get_temperature_of_mixture () const
 This function returns T_mixture. More...
 
const std::vector< double > & get_molar_mass () const
 This function returns molar_mass. More...
 
const std::vector< double > & get_dynamic_viscosity () const
 This function returns dynamic_viscosity. More...
 
const std::vector< double > & get_bulk_viscosity () const
 This function returns bulk_viscosity. More...
 
const Table< 2, double > & get_maxwell_stefan_isobaric_diffusion_coefficient () const
 This function returns maxwell_stefan_isobaric_diffusion_coefficient. More...
 
virtual void print_material_properties () const
 This function prints out the material properties. 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...
 

Protected Attributes

Fluid properties
unsigned int n_species
 Number of species. More...
 
double T_mixture
 Temperature of mixture, K. More...
 
std::vector< double > molar_mass
 Molar mass, kg/mol. More...
 
std::vector< double > dynamic_viscosity
 Dynamic viscosity, Pa sec. More...
 
std::vector< double > bulk_viscosity
 Bulk viscosity, Pa sec. More...
 
Table< 2, double > maxwell_stefan_isobaric_diffusion_coefficient
 Each entry of this structure defines a Maxwell-Stefan isobaric diffusion coefficient of gas $ i $ in gas $ j $ $ \quad $ $ \displaystyle \sum_{l=1}^N p_l \cdot \mathscr{D}_{ij} $, Pa m^2/sec. More...
 
- Protected Attributes inherited from FuelCellShop::Material::BaseMaterial
const std::string name
 Name of the layer. More...
 
std::vector< VariableNamesderivative_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...
 

Detailed Description

This class describes.

fluid.

The functionality of this class can be extended if needed.

Author
Valentin N. Zingan, 2013

Constructor & Destructor Documentation

FuelCellShop::Material::ExperimentalMultiFluid::ExperimentalMultiFluid ( const std::string &  name)

Constructor.

virtual FuelCellShop::Material::ExperimentalMultiFluid::~ExperimentalMultiFluid ( )
virtual

Destructor.

Member Function Documentation

virtual void FuelCellShop::Material::ExperimentalMultiFluid::declare_parameters ( ParameterHandler &  param) const
virtual

Declare parameters.

Reimplemented from FuelCellShop::Material::BaseMaterial.

const std::vector<double>& FuelCellShop::Material::ExperimentalMultiFluid::get_bulk_viscosity ( ) const
inline

This function returns bulk_viscosity.

References bulk_viscosity.

const std::vector<double>& FuelCellShop::Material::ExperimentalMultiFluid::get_dynamic_viscosity ( ) const
inline

This function returns dynamic_viscosity.

References dynamic_viscosity.

const Table< 2, double >& FuelCellShop::Material::ExperimentalMultiFluid::get_maxwell_stefan_isobaric_diffusion_coefficient ( ) const
inline

This function returns maxwell_stefan_isobaric_diffusion_coefficient.

References maxwell_stefan_isobaric_diffusion_coefficient.

const std::vector<double>& FuelCellShop::Material::ExperimentalMultiFluid::get_molar_mass ( ) const
inline

This function returns molar_mass.

References molar_mass.

const unsigned int& FuelCellShop::Material::ExperimentalMultiFluid::get_number_of_species ( ) const
inline

This function returns n_species.

References n_species.

const double& FuelCellShop::Material::ExperimentalMultiFluid::get_temperature_of_mixture ( ) const
inline

This function returns T_mixture.

References T_mixture.

virtual void FuelCellShop::Material::ExperimentalMultiFluid::initialize ( ParameterHandler &  param)
virtual

Initialize parameters.

Reimplemented from FuelCellShop::Material::BaseMaterial.

virtual void FuelCellShop::Material::ExperimentalMultiFluid::print_material_properties ( ) const
virtual

This function prints out the material properties.

Reimplemented from FuelCellShop::Material::BaseMaterial.

Member Data Documentation

std::vector<double> FuelCellShop::Material::ExperimentalMultiFluid::bulk_viscosity
protected

Bulk viscosity, Pa sec.

Referenced by get_bulk_viscosity().

std::vector<double> FuelCellShop::Material::ExperimentalMultiFluid::dynamic_viscosity
protected

Dynamic viscosity, Pa sec.

Referenced by get_dynamic_viscosity().

Table< 2, double > FuelCellShop::Material::ExperimentalMultiFluid::maxwell_stefan_isobaric_diffusion_coefficient
protected

Each entry of this structure defines a Maxwell-Stefan isobaric diffusion coefficient of gas $ i $ in gas $ j $ $ \quad $ $ \displaystyle \sum_{l=1}^N p_l \cdot \mathscr{D}_{ij} $, Pa m^2/sec.

Referenced by get_maxwell_stefan_isobaric_diffusion_coefficient().

std::vector<double> FuelCellShop::Material::ExperimentalMultiFluid::molar_mass
protected

Molar mass, kg/mol.

Referenced by get_molar_mass().

unsigned int FuelCellShop::Material::ExperimentalMultiFluid::n_species
protected

Number of species.

Referenced by get_number_of_species().

double FuelCellShop::Material::ExperimentalMultiFluid::T_mixture
protected

Temperature of mixture, K.

Referenced by get_temperature_of_mixture().


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