OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
FuelCellShop::Mixture::LiquidDiffusion Class Reference

#include <BinaryDiffusion.h>

Inheritance diagram for FuelCellShop::Mixture::LiquidDiffusion:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::Mixture::LiquidDiffusion:
Collaboration graph
[legend]

Public Member Functions

 LiquidDiffusion ()
 
 LiquidDiffusion (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2)
 
virtual ~LiquidDiffusion ()
 
virtual void scan ()
 
virtual void report ()
 
virtual void report2file (char *filename)
 
- Public Member Functions inherited from FuelCellShop::Mixture::BinaryDiffusion
 BinaryDiffusion ()
 
 BinaryDiffusion (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2)
 
virtual ~BinaryDiffusion ()
 
virtual char * get_name ()=0
 
virtual char * get_description ()=0
 
virtual enDiffusionModelID get_ID ()=0
 
virtual void compute_diffusion (double &D)=0
 Comupute the diffusion coefficient [in m^2/s] at a given temperature [K] and pressure [atm].
 
virtual void compute_diffusion (std::vector< double > &D_vec)=0
 Compute a vector of diffusion coefficients [in m^2/s] for a non-isothermal, isobaric case.
 
virtual double compute_diffusion (const double &T, const double &p)=0
 
virtual void compute_diffusion (double &D, std::vector< double > &dD)=0
 
virtual void compute_diffusion (const double &T, const double &p, double &D, std::vector< double > &dD)=0
 
virtual void compute_dD (std::vector< double > &dD)=0
 
virtual double compute_dD_dP (const double &T, const double &p)=0
 
virtual double compute_dD_dT (const double &T, const double &p)=0
 
virtual void compute_dD_dT (std::vector< double > &dD_dT_vec)=0
 Method to compute derivative of diffusion coefficient with respect to temperature [in m^2/(s-K)] for a non-isothermal, isobaric case, at all quadrature points of the cell.
 
void set_T_and_p (const double &T, const double &p)
 Method used to set temperature (T) and pressure (p) for diffusion coefficient computation.
 
void set_p (const double &p_atm)
 Method to set pressure (p) for isobaric diffusion coefficient case.
 
void set_temperature (const FuelCellShop::SolutionVariable &T_vec)
 Method to set a vector of temperatures (T) for nonisothermal diffusion coefficient computation.
 
void set_species (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2)
 

Additional Inherited Members

- Protected Attributes inherited from FuelCellShop::Mixture::BinaryDiffusion
FuelCellShop::Material::PureGasspecies1
 
FuelCellShop::Material::PureGasspecies2
 
double T
 Temperature [in K] used to compute the diffusion coefficient, unless specified as an input to the member function.
 
double p
 Pressure [in atm] used to compute the diffusion coefficient, unless specified as an input to the member function.
 
FuelCellShop::SolutionVariable T_vector
 Temperature [in K] used to compute the diffusion coefficient.
 

Constructor & Destructor Documentation

FuelCellShop::Mixture::LiquidDiffusion::LiquidDiffusion ( )
FuelCellShop::Mixture::LiquidDiffusion::LiquidDiffusion ( FuelCellShop::Material::PureGas species1,
FuelCellShop::Material::PureGas species2 
)
virtual FuelCellShop::Mixture::LiquidDiffusion::~LiquidDiffusion ( )
virtual

Member Function Documentation

virtual void FuelCellShop::Mixture::LiquidDiffusion::report ( )
virtual
virtual void FuelCellShop::Mixture::LiquidDiffusion::report2file ( char *  filename)
virtual
virtual void FuelCellShop::Mixture::LiquidDiffusion::scan ( )
virtual

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